commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
65738477b33af8e3aca9222b7f3a6a9800713bb7 | --- targets/US/package.json
@@ -153,7 +153,7 @@
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "0.96.0",
- "@walmart/wfm-ui": "1.6.0",
+ "@walmart/wfm-ui": "2.4.0",
"@walmart/wm-plus-mini-app": "1.0.0",
"@walmart/wmconnect-mini-app": "2.6.0",
"axios": "~1.6.0",
--- yarn.lock
@@ -7089,7 +7089,7 @@ __metadata:
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:0.96.0"
- "@walmart/wfm-ui": "npm:1.6.0"
+ "@walmart/wfm-ui": "npm:2.4.0"
"@walmart/wm-plus-mini-app": "npm:1.0.0"
"@walmart/wmconnect-mini-app": "npm:2.6.0"
adaptive-expressions: "npm:^4.13.5"
@@ -8197,21 +8197,21 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wfm-ui@npm:1.6.0":
- version: 1.6.0
- resolution: "@walmart/wfm-ui@npm:1.6.0"
+"@walmart/wfm-ui@npm:2.4.0, @walmart/wfm-ui@npm:^2.4.0":
+ version: 2.4.0
+ resolution: "@walmart/wfm-ui@npm:2.4.0"
dependencies:
"@walmart/moment-walmart": "npm:1.0.3"
string.prototype.matchall: "npm:>=4.0.2"
peerDependencies:
- "@walmart/allspark-foundation": "*"
+ "@walmart/allspark-foundation": ">=6.1.4"
moment: ">=2.29.4"
react: ">=18.2.0"
react-native: ">=0.72.6"
react-native-modal: ">=11.5.6"
react-native-vector-icons: ">=7.0.0"
xdate: ">=0.8.0"
- checksum: 10c0/8d2ba9ed8d5623f8dd5a9e5e98d9c6535f2e05f560ae8a94690fbcd4755713665135ae538dabe041032688e2234c58a76188b64f80567b5bc9ac7dc0d5d96622
+ checksum: 10c0/4b374f541629d79880e33aea8374365e3eceeec3063a6fcb51e83d83a4c7c3ba67cc5894c66ccf1a1e567ab0920857f0106b9049721e01496a84803431117bd8
languageName: node
linkType: hard
@@ -8241,24 +8241,6 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wfm-ui@npm:^2.4.0":
- version: 2.4.0
- resolution: "@walmart/wfm-ui@npm:2.4.0"
- dependencies:
- "@walmart/moment-walmart": "npm:1.0.3"
- string.prototype.matchall: "npm:>=4.0.2"
- peerDependencies:
- "@walmart/allspark-foundation": ">=6.1.4"
- moment: ">=2.29.4"
- react: ">=18.2.0"
- react-native: ">=0.72.6"
- react-native-modal: ">=11.5.6"
- react-native-vector-icons: ">=7.0.0"
- xdate: ">=0.8.0"
- checksum: 10c0/4b374f541629d79880e33aea8374365e3eceeec3063a6fcb51e83d83a4c7c3ba67cc5894c66ccf1a1e567ab0920857f0106b9049721e01496a84803431117bd8
- languageName: node
- linkType: hard
-
"@walmart/wm-plus-mini-app@npm:1.0.0":
version: 1.0.0
resolution: "@walmart/wm-plus-mini-app@npm:1.0.0"
| bump wfm-ui | bump wfm-ui
|
11940704efe2a532364fa400720bb0811b823956 | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.41.0",
+ "@walmart/copilot-mini-app": "^1.54.0",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
@@ -81,7 +81,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.34.6",
+ "@walmart/taskit-mini-app": "^2.40.0",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
@@ -4935,9 +4935,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "1.41.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.41.0.tgz",
- "integrity": "sha512-kC6feglVAF4NAOvjpN19NbycCZ8+hx1yiwQm2AlPEiAGAXipl0UPrPhFm/ONb4co/gh1tuqRsRvdx3402DsFyg==",
+ "version": "1.54.0",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.54.0.tgz",
+ "integrity": "sha512-4gn26PP6nWq7xx4RBrvRZgLAgsrrsWO3baoCqk37kEpLymcVzsECR8wMIOLW3C5GRPGYaCWvz6V6eHNW3lvIIA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -6004,7 +6004,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.34.6",
+ "version": "2.40.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.0.tgz",
+ "integrity": "sha512-Yj9vUThOswTmvk3BNSo6hEG5F/rGrbLZfJICRSzQEx1DTDTb3ltjIHKCDyA6Q8wlAzoqtHJjZPPnH/W1Idfz0w==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25128,9 +25130,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "1.41.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.41.0.tgz",
- "integrity": "sha512-kC6feglVAF4NAOvjpN19NbycCZ8+hx1yiwQm2AlPEiAGAXipl0UPrPhFm/ONb4co/gh1tuqRsRvdx3402DsFyg=="
+ "version": "1.54.0",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.54.0.tgz",
+ "integrity": "sha512-4gn26PP6nWq7xx4RBrvRZgLAgsrrsWO3baoCqk37kEpLymcVzsECR8wMIOLW3C5GRPGYaCWvz6V6eHNW3lvIIA=="
},
"@walmart/core-services": {
"version": "2.0.19",
@@ -25397,7 +25399,9 @@
"version": "1.5.16"
},
"@walmart/taskit-mini-app": {
- "version": "2.34.6"
+ "version": "2.40.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.0.tgz",
+ "integrity": "sha512-Yj9vUThOswTmvk3BNSo6hEG5F/rGrbLZfJICRSzQEx1DTDTb3ltjIHKCDyA6Q8wlAzoqtHJjZPPnH/W1Idfz0w=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.41.0",
+ "@walmart/copilot-mini-app": "^1.54.0",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
@@ -123,7 +123,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.34.6",
+ "@walmart/taskit-mini-app": "^2.40.0",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
--- src/home/containers/HomeScreen/index.tsx
@@ -56,7 +56,7 @@ export const HomeScreen: React.FC<Props> = () => {
const [parentSiteId, setParentSiteId] = useState(currentSiteId);
const scrollPosition = useRef(new Animated.Value(0)).current;
const lastUpdatedTimeout = useRef<any>();
- const layout = useHomeAppConfig('layout', defaultLayout);
+ const layout = defaultLayout; //useHomeAppConfig('layout', defaultLayout);
const hideTimestamp = () => setShowTimestamp(false);
// --- Refresh --- //
| chore: update version add default layout | chore: update version add default layout
|
539bc073f17d8ffb50ad353ea568ad3b5d04d29c | --- packages/allspark-foundation-hub/src/HubFeature/Onboarding/TeamSelection/styles.ts
@@ -19,7 +19,7 @@ export const teamSelectionListItemStyles = (hasBorder: boolean) =>
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
- gap: 20,
+ gap: 16,
paddingLeft: 16,
},
teamImage: {
| Adding icon padding fix | Adding icon padding fix
|
980abf23072bace61be177cdd5d46b77b1a9cfb1 | --- packages/allspark-foundation/src/Translation/client.ts
@@ -37,7 +37,7 @@ export const TranslationClient = (config?: TranslationClientOptions) => {
i18next.init = (options: InitOptions) => {
__DEV__ &&
console.warn(
- `i18n.init called more than once. This is not allowed! Culprit: ${options.defaultNS}`
+ `Attempted to call i18n.init() more than once. This is an anti pattern. Culprit NS: ${options.defaultNS}`
);
};
| chore: update i18n init warning message | chore: update i18n init warning message
|
d3de83986320469724ab3458e4598b2bf96f5af4 | --- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.8.5](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.8.4...@walmart/core-services-allspark@2.8.5) (2023-03-10)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [2.8.4](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/core-services-allspark@2.8.3...@walmart/core-services-allspark@2.8.4) (2023-03-09)
--- packages/core-services-allspark/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.8.4",
+ "version": "2.8.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "2.8.4",
+ "version": "2.8.5",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -27,7 +27,7 @@
"@walmart/allspark-http-client": "^2.4.8",
"@walmart/allspark-utils": "^1.5.1",
"@walmart/core-services": "^2.0.13",
- "@walmart/me-at-walmart-athena-queries": "^1.0.4",
+ "@walmart/me-at-walmart-athena-queries": "^1.1.0",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/me-at-walmart-athena-queries/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.1.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.0.4...@walmart/me-at-walmart-athena-queries@1.1.0) (2023-03-10)
+
+
+### Features
+
+* add get associate by id query ([c3ce250](https://gecgithub01.walmart.com/allspark/allspark/commit/c3ce25077cf7bbe23b8ca60c3a61667985cb0072))
+
+
+
+
+
## [1.0.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@1.0.3...@walmart/me-at-walmart-athena-queries@1.0.4) (2023-03-09)
**Note:** Version bump only for package @walmart/me-at-walmart-athena-queries
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "1.0.4",
+ "version": "1.1.0",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
| chore(version): updating package version | chore(version): updating package version
- @walmart/core-services-allspark@2.8.5
- @walmart/me-at-walmart-athena-queries@1.1.0
|
cf41745e04357fd7941a89c88c473c3af75c8696 | --- __tests__/harness/firestore/channelsProvider.ts
@@ -0,0 +1,19 @@
+import {IChannelsContext} from '../../../src/channels';
+
+export const mockChannelsContext: IChannelsContext = {
+ ids: [],
+ dataById: {},
+ documentById: {},
+ nameById: {},
+ lastMessageById: {},
+ unreadById: {},
+ totalUnread: 0,
+ totalUnreadChannels: 0,
+ isError: false,
+ error: null,
+ firstLoad: false,
+ subscriptionOn: () => {},
+ subscriptionOff: () => {},
+ lastMessageTrackingOn: () => {},
+ lastMessageTrackingOff: () => {},
+};
--- __tests__/harness/firestore/channelsProvider.ts
@@ -0,0 +1,19 @@
+import {IChannelsContext} from '../../../src/channels';
+
+export const mockChannelsContext: IChannelsContext = {
+ ids: [],
+ dataById: {},
+ documentById: {},
+ nameById: {},
+ lastMessageById: {},
+ unreadById: {},
+ totalUnread: 0,
+ totalUnreadChannels: 0,
+ isError: false,
+ error: null,
+ firstLoad: false,
+ subscriptionOn: () => {},
+ subscriptionOff: () => {},
+ lastMessageTrackingOn: () => {},
+ lastMessageTrackingOff: () => {},
+};
| start of context | start of context
|
2e6ac12abcd13cdb615c553fd0f7adc48abe8602 | --- packages/allspark-foundation-hub/__tests__/HubFeature/Hub/Container/HubDashboard.test.tsx
@@ -16,7 +16,6 @@ import { useNavigation, useRoute } from '@react-navigation/native';
import * as NavigationUtil from '@react-navigation/native';
import * as safeAreaContext from 'react-native-safe-area-context';
-import * as handlers from '../../../../src/HubFeature/Hub/Container/utils';
jest.mock('@react-navigation/native', () => ({
...jest.requireActual('@react-navigation/native'),
| Update the bottomsheet navigation | Update the bottomsheet navigation
|
88ecd5bf3b0772adcdc32a4826492b1ec7b7bb7d | --- packages/allspark-foundation/src/Components/ComponentContainers.tsx
@@ -212,9 +212,13 @@ export class ComponentContainer<Props = {}> {
addChangeListener: (cb) => this._eventManager.addListener('change', cb),
});
- props.componentWrapper = this._componentWrapper;
-
- return <Layout {...props} config={config} />;
+ return (
+ <Layout
+ {...props}
+ config={config}
+ componentWrapper={this._componentWrapper}
+ />
+ );
};
/**
| chore(layout): fixed a minor bug in layout function | chore(layout): fixed a minor bug in layout function
|
f39e5be3c8dec29a2804a19a02b46c0b2b1dc95a | --- package-lock.json
@@ -3054,9 +3054,9 @@
}
},
"@walmart/config-components": {
- "version": "1.0.12",
- "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.12.tgz",
- "integrity": "sha512-fBTFqpmw2IBYncf+2w7AdfVJeJb1BCpFcWLxV0KH1Xpg9YoWXmH3hVzJY1fxLm9OUFdpV5z0sNSljtp+Y3olrA=="
+ "version": "1.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/config-components/-/config-components-1.0.14.tgz",
+ "integrity": "sha512-sJZlC2D6j+pOplIDXq/eUDJPwUfmN8DcTXQyA/nKOc63QrCQ8DilydVt6mb+YWiToTYSub1W48Py8g5XPAEXrQ=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.0.37",
@@ -3083,14 +3083,14 @@
}
},
"@walmart/impersonation-mini-app": {
- "version": "1.0.12",
- "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.0.12.tgz",
- "integrity": "sha512-LveEdSxJy0V8cEmS3xS22gsVYtqS+T/e9hrZxkxCgVV5O12UFv8dSrfDkIuQ/WMzuijIf5yTlLOxRPjf0dDRdg=="
+ "version": "1.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.0.14.tgz",
+ "integrity": "sha512-S5yf6tmVHz/kK5NNtW3OdQ+nDk7ii3/v1mJ9WA0c2zjL4DRQ+hbqxUv2WOsqa2uA1wbMCliwtAaPePoeiHJEmg=="
},
"@walmart/inbox-mini-app": {
- "version": "0.0.56",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.56.tgz",
- "integrity": "sha512-HDdRnxyM1J4nQTElLJ7vS+svO5SxYqPWtCiWV2V//cjLXzM/u5tjO3whmDpJsSn7CZoq8r69BUQxEHH1tqaPXQ=="
+ "version": "0.0.59",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.59.tgz",
+ "integrity": "sha512-5FHPH+iVZEzi02mml7YogOcNi8n25EBHB/EfDbrGmXlV2jZ3b590uEdEAncO3fItrH131FpWosXJOm+zQn1zIQ=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
@@ -3142,9 +3142,9 @@
"integrity": "sha512-ooH0AqLGhS5PNcLaOWRHAEIIvrYIyTUXqshlHkgEKDLhLtGW8WvFu0mlcCXb1FEUc/PVmKEzHNHYV1gzGNBqxQ=="
},
"@walmart/react-native-logger": {
- "version": "1.23.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.23.0.tgz",
- "integrity": "sha512-1UmclkRjQcQx87K/yZryFJHo5fp+REDiEh8hYbZllyWDnyYMRIIWGLREHu3oy4Qm59fdKroLGzzMNm8uQU08Pw=="
+ "version": "1.24.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-logger/-/react-native-logger-1.24.0.tgz",
+ "integrity": "sha512-BFBpM1E7Yom+DmRE8JRn+9c7WeoXWjsXB0wezNJSo5sA89uRgifcJSVXcqSRneyxE+f6rdX0hY1Pb6D5eHoONg=="
},
"@walmart/react-native-shared-navigation": {
"version": "0.3.0",
@@ -3188,9 +3188,9 @@
}
},
"@walmart/settings-mini-app": {
- "version": "1.1.18",
- "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.18.tgz",
- "integrity": "sha512-2dMvqVeTeBtirEBzziqKZGEl5BNdMKz9xx2VTmIx/6Ug0y2HkK3i0CaWj6HHdGqaspYJWBfRV70omisw5qUn8w=="
+ "version": "1.1.20",
+ "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.20.tgz",
+ "integrity": "sha512-R+Kkr3KRExpa59xqPkVPF66+zGo88oZiqbfFx+BzrIJE6eUTUKTGCeiidVci+xjmfSnp6TKrMUkRBxh2b/GffA=="
},
"@walmart/time-clock-mini-app": {
"version": "0.1.42",
--- package.json
@@ -51,20 +51,20 @@
"@walmart/allspark-home-mini-app": "0.1.11",
"@walmart/allspark-me-mini-app": "0.0.22",
"@walmart/ask-sam-mini-app": "0.10.30",
- "@walmart/config-components": "1.0.12",
+ "@walmart/config-components": "1.0.14",
"@walmart/feedback-all-spark-miniapp": "0.0.37",
"@walmart/functional-components": "1.0.25",
"@walmart/gtp-shared-components": "^0.2.2",
- "@walmart/impersonation-mini-app": "1.0.12",
- "@walmart/inbox-mini-app": "0.0.56",
+ "@walmart/impersonation-mini-app": "1.0.14",
+ "@walmart/inbox-mini-app": "0.0.59",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.3.7",
"@walmart/react-native-env": "^0.1.0",
- "@walmart/react-native-logger": "^1.23.0",
+ "@walmart/react-native-logger": "^1.24.0",
"@walmart/react-native-shared-navigation": "^0.3.0",
"@walmart/redux-store": "^1.0.12",
"@walmart/schedule-mini-app": "0.2.59",
- "@walmart/settings-mini-app": "1.1.18",
+ "@walmart/settings-mini-app": "1.1.20",
"@walmart/time-clock-mini-app": "0.1.42",
"@walmart/ui-components": "1.0.97",
"@walmart/welcomeme-mini-app": "0.5.27",
| version bump for fixing logger error format (#399) | version bump for fixing logger error format (#399)
|
2ead45ac18e807a4b408d64dcbce3f6c484a5004 | --- .github/pull_request_template.md
@@ -0,0 +1,12 @@
+## Links to JIRA tickets:
+
+## Acceptance Criteria
+
+## Screenshots (if any):
+
+# Checklist
+- [ ] Have you written unit tests for this? If so, add the screenshots for the test coverage
+- [ ] Has this been tested in the core app?
+- [ ] Telemetry Covered? If so, list events (splunk, firebase etc...)
+- [ ] Tested on iOS?
+- [ ] Tested on Android?
\ No newline at end of file
| Add the pull request requirement template | Add the pull request requirement template
|
2071f727e8f395eb3d3f7d9d08ae55ea0afa88f3 | --- core/src/setup.ts
@@ -34,9 +34,7 @@ export const setupCore = () => {
/**
* Setup calling mini app.
* Requiring directly to avoid side effects.
- * @todo: Have calling expose rootSetup directly. Something like:
- * import { setupCalling } from '@walmart/calling-mini-app/Setup';
*/
- require('@walmart/calling-mini-app/dist/rootSetup/index').setupCalling();
+ require('@walmart/calling-mini-app').setupCalling();
}
};
--- targets/US/ios/Podfile
@@ -32,7 +32,8 @@ setup_permissions([
'BluetoothPeripheral',
'Camera',
'LocationWhenInUse',
- 'Notifications'
+ 'Notifications',
+ 'Microphone'
])
# @customization
--- targets/US/ios/Podfile.lock
@@ -1911,7 +1911,7 @@ PODS:
- React-Core
- react-native-image-resizer (1.4.5):
- React-Core
- - react-native-logger (1.34.8):
+ - react-native-logger (1.35.0):
- React
- react-native-loudness (2.0.0):
- React
@@ -1944,8 +1944,9 @@ PODS:
- React-Core
- react-native-view-shot (3.8.0):
- React-Core
- - react-native-webex-sdk (0.3.4):
+ - react-native-webex-sdk (0.4.3):
- React-Core
+ - react-native-logger
- SumoSDK (~> 2.6.1)
- WebexSDK/Wxc (~> 3.11.2)
- react-native-webview (11.23.1):
@@ -2838,7 +2839,7 @@ SPEC CHECKSUMS:
react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74
react-native-image-picker: 4bc9ed38c8be255b515d8c88babbaf74973f91a8
react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f
- react-native-logger: c35ed51339fcca80a2e171a75a5cd7979e96f524
+ react-native-logger: e50cbf6d7f98e5691f688fd59ee6442a43575080
react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda
react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
@@ -2850,7 +2851,7 @@ SPEC CHECKSUMS:
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-view-shot: 6b7ed61d77d88580fed10954d45fad0eb2d47688
- react-native-webex-sdk: 6e7a15faeb9945df52a8b09be55046ca5cf4fd03
+ react-native-webex-sdk: 14e111e3fe6e7722a40958799645939a800e34c4
react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581
react-native-wm-app-review: 97a8d62495b3d0a83e40dbebea7e86f4ae2f4488
react-native-wm-voice-text: 5bacd3a1565e7a1cf936f0a0e399428ea307786c
--- targets/US/package.json
@@ -90,7 +90,7 @@
"@walmart/avp-feature-app": "0.8.7",
"@walmart/avp-shared-library": "0.8.9",
"@walmart/backroom-mini-app": "1.2.6",
- "@walmart/calling-mini-app": "0.3.5",
+ "@walmart/calling-mini-app": "0.5.6",
"@walmart/checkout-mini-app": "3.22.0",
"@walmart/compass-sdk-rn": "5.19.15",
"@walmart/config-components": "4.4.2",
@@ -129,12 +129,12 @@
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch",
"@walmart/react-native-encrypted-storage": "~1.1.3",
"@walmart/react-native-env": "~6.3.20",
- "@walmart/react-native-logger": "1.34.8",
+ "@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.8.2",
"@walmart/react-native-shared-navigation": "~6.3.20",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.0",
- "@walmart/react-native-webex-sdk": "0.3.4",
+ "@walmart/react-native-webex-sdk": "0.4.3",
"@walmart/receipt-check-miniapp": "1.24.2",
"@walmart/redux-store": "~6.3.20",
"@walmart/returns-mini-app": "4.15.0",
--- yarn.lock
@@ -6094,9 +6094,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/calling-mini-app@npm:0.3.5":
- version: 0.3.5
- resolution: "@walmart/calling-mini-app@npm:0.3.5"
+"@walmart/calling-mini-app@npm:0.5.6":
+ version: 0.5.6
+ resolution: "@walmart/calling-mini-app@npm:0.5.6"
peerDependencies:
"@react-native-community/datetimepicker": ">=5"
"@react-navigation/native": ">=6"
@@ -6146,7 +6146,7 @@ __metadata:
dependenciesMeta:
"@walmart/wmconnect-mini-app":
built: false
- checksum: 10c0/248a84e7736701d95e26687731afcfa910622803bd12577032dd8e48cdd3c015e1c5d800af5716e974f7f8c1b91ac5b5a9af2b5d36c1289d7c5bfc7d4229bac2
+ checksum: 10c0/8ce9566d1ea4d6d6139d0b3d7ad823181c1ccf3138f14fc72c373c564ab2bf7b1c8757610ff4e40023da6cac1b89b0d11a274178bca740cdffcc329f9e1c2bb8
languageName: node
linkType: hard
@@ -6999,7 +6999,7 @@ __metadata:
"@walmart/avp-feature-app": "npm:0.8.7"
"@walmart/avp-shared-library": "npm:0.8.9"
"@walmart/backroom-mini-app": "npm:1.2.6"
- "@walmart/calling-mini-app": "npm:0.3.5"
+ "@walmart/calling-mini-app": "npm:0.5.6"
"@walmart/checkout-mini-app": "npm:3.22.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.4.2"
@@ -7038,12 +7038,12 @@ __metadata:
"@walmart/profile-feature-app": "patch:@walmart/profile-feature-app@npm%3A1.138.3#~/.yarn/patches/@walmart-profile-feature-app-npm-1.138.3-9802440ed6.patch"
"@walmart/react-native-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-logger": "npm:1.35.0"
"@walmart/react-native-scanner-3.0": "npm:0.8.2"
"@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"
- "@walmart/react-native-webex-sdk": "npm:0.3.4"
+ "@walmart/react-native-webex-sdk": "npm:0.4.3"
"@walmart/receipt-check-miniapp": "npm:1.24.2"
"@walmart/redux-store": "npm:~6.3.20"
"@walmart/returns-mini-app": "npm:4.15.0"
@@ -7609,14 +7609,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-logger@npm:1.34.8":
- version: 1.34.8
- resolution: "@walmart/react-native-logger@npm:1.34.8"
+"@walmart/react-native-logger@npm:1.35.0":
+ version: 1.35.0
+ resolution: "@walmart/react-native-logger@npm:1.35.0"
peerDependencies:
lodash: ^4.17.21
- react: ^16.8.1
- react-native: ">=0.60.0-rc.0 <1.0.x"
- checksum: 10c0/048b5950fcb3dd4a3fbb3a7ece13033f14b9681f68030074d007643cd69086a6d5643be7256e6952e79c2381742f3f7355be34cd2b85e685c6a09c635e54bbc9
+ react: "*"
+ react-native: "*"
+ checksum: 10c0/552c3369365020cae6c943dcb645a4a9930b0fa55c87d695820c69546d51909ed13820290df3c85d62c498043a51007f0313fb5e69b055ea6f276960f61efe27
languageName: node
linkType: hard
@@ -7659,14 +7659,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-webex-sdk@npm:0.3.4":
- version: 0.3.4
- resolution: "@walmart/react-native-webex-sdk@npm:0.3.4"
+"@walmart/react-native-webex-sdk@npm:0.4.3":
+ version: 0.4.3
+ resolution: "@walmart/react-native-webex-sdk@npm:0.4.3"
peerDependencies:
react: "*"
react-native: "*"
react-native-logger: "*"
- checksum: 10c0/6217d5404ef78ce180682036c5661e4558b3019c5defdd3758ecd626f2b6caac420603d1f80f7389078e1d927f7efdab754d6a0c62034b06da9ed8de45216550
+ checksum: 10c0/39c89b1cb4de06338a218f1500b5e23f3795536761d471439005fcd7c9ef67d2a58607a37d477027b12bd4ac4fed781e671e6a4b1089af202e865eec9b550d0e
languageName: node
linkType: hard
| Calling updates for drop24 | Calling updates for drop24
|
e4133c5ccc90eb9e9c03dc788fda070382c8777c | --- package-lock.json
@@ -3062,9 +3062,9 @@
}
},
"@walmart/ask-sam-mini-app": {
- "version": "0.29.42",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.29.42.tgz",
- "integrity": "sha512-5ZWixYJNPIVDqLpBsS+4susLoSBoyI+F4RahPpct05Bav3t9HQM6S8wwuN0U+q04sVQH+j3P0eNUO9wGvxYgVw==",
+ "version": "0.29.43",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-0.29.43.tgz",
+ "integrity": "sha512-XL6UZdTgapvMLlY3BtrUU/dOV7Mr4OwRxsX5GjDhHbyfQcy/o5a57mSLTVcCC7NMR5PGZfNfI6KWZi+D9DkavQ==",
"requires": {
"apisauce": "^1.1.2",
"lodash": "^4.17.19",
--- package.json
@@ -66,7 +66,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.39",
"@walmart/allspark-home-mini-app": "0.4.0",
"@walmart/allspark-me-mini-app": "0.1.0",
- "@walmart/ask-sam-mini-app": "0.29.42",
+ "@walmart/ask-sam-mini-app": "0.29.43",
"@walmart/config-components": "1.0.21",
"@walmart/feedback-all-spark-miniapp": "0.0.50",
"@walmart/functional-components": "1.0.27",
| Bumping ask sam for android mic fix | Bumping ask sam for android mic fix
|
9358a15472af3722932d6a2997114f471305dbea | --- packages/associate-exp-hub-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.21.8](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.21.7...@walmart/associate-exp-hub-hub@2.21.8) (2026-01-19)
+
+**Note:** Version bump only for package @walmart/associate-exp-hub-hub
+
## [2.21.7](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.21.6...@walmart/associate-exp-hub-hub@2.21.7) (2026-01-16)
**Note:** Version bump only for package @walmart/associate-exp-hub-hub
--- packages/associate-exp-hub-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-hub",
- "version": "2.21.7",
+ "version": "2.21.8",
"description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub",
"packageManager": "yarn@4.6.0",
"engines": {
--- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.15.2](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.15.1...@walmart/associate-exp-hub-mini-app@1.15.2) (2026-01-19)
+
+### Bug Fixes
+
+- **ui:** update lint fixes and comments ([2269b33](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/2269b330cded4cf6844a7ba3944f0db756abc737))
+
## [1.15.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.15.0...@walmart/associate-exp-hub-mini-app@1.15.1) (2026-01-19)
### Bug Fixes
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.15.1",
+ "version": "1.15.2",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.26.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.26.1...@walmart/associate-exp-hub-team-switcher@2.26.2) (2026-01-19)
+
+### Bug Fixes
+
+- **ui:** update lint fixes and comments ([2269b33](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/2269b330cded4cf6844a7ba3944f0db756abc737))
+
## [2.26.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.26.0...@walmart/associate-exp-hub-team-switcher@2.26.1) (2026-01-19)
### Bug Fixes
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.26.1",
+ "version": "2.26.2",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-hub@2.21.8
- @walmart/associate-exp-hub-mini-app@1.15.2
- @walmart/associate-exp-hub-team-switcher@2.26.2
|
be3c9ec9f6f0e748f62a5f21834d2fd4197e97e6 | --- src/screens/RosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -423,7 +423,7 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
undefined,
);
setFilteredAssociates(sortedAssociateList(associatesFiltered, teamLeads));
- }, [searchInput, selectedFilter, teamState, rosterData?.getDailyRoster]);
+ }, [searchInput, selectedFilter, teamState, rosterData?.getDailyRoster, dataLoading]);
if (!showRoster) {
return (
| fix: adding same fix for store | fix: adding same fix for store |
37d16a0741b0ae5fac2db2e51af6591dd7d09a32 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [3.13.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.12.0...v3.13.0) (2025-12-22)
+
+
+### Features
+
+* **ui:** update roster mini app version ([33acb56](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/33acb56addffb9fa93d31a66fd9e88c53308a32c))
+
# [3.12.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v3.11.0...v3.12.0) (2025-12-20)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-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/myteam-miniapp/compare/v3.12.0...v3.13.0) (2025-12-22)
### Features
* **ui:** update roster mini app version ([33acb56](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/33acb56addffb9fa93d31a66fd9e88c53308a32c))
|
9b2071cb55658dfdc6acafcbdefbd88ef2b6f526 | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.1-beta.10",
+ "version": "1.0.1-beta.11",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/allspark-foundation-hub/src/Core/index.ts
@@ -4,4 +4,6 @@ import { LogBox } from 'react-native';
// Ignorning to not burden container & feature app teams with these messages.
LogBox.ignoreLogs([/ReactNativeSumoSdk requires main queue setup/]);
+export * from '../HubFeature';
export * from '../HubFeature/Store';
+export * from '../HubFeature/SupplyChain';
--- packages/allspark-foundation-hub/src/HubFeature/index.ts
@@ -0,0 +1 @@
+export * from './AllsparkHubContainer';
| Update the import statements | Update the import statements
|
901898c3579fc583a68b1bd4b07a012c3189c408 | --- packages/associate-exp-hub-hub/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.18.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.18.1...@walmart/associate-exp-hub-hub@2.18.2) (2025-12-12)
+
+### Bug Fixes
+
+- lint errors ([96d6f5e](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/96d6f5e80e49db48ac969953d6e4adbdbf46b4ea))
+
## [2.18.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.18.0...@walmart/associate-exp-hub-hub@2.18.1) (2025-12-12)
**Note:** Version bump only for package @walmart/associate-exp-hub-hub
--- packages/associate-exp-hub-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-hub",
- "version": "2.18.1",
+ "version": "2.18.2",
"description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub",
"packageManager": "yarn@4.6.0",
"engines": {
--- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.12.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.11.1...@walmart/associate-exp-hub-mini-app@1.12.0) (2025-12-12)
+
+### Features
+
+- **ui:** update lint fix--no-verify ([43033cb](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/43033cb7fc81f6e157c93c10e64b0ecffdc227ce))
+
## [1.11.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.11.0...@walmart/associate-exp-hub-mini-app@1.11.1) (2025-12-12)
**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.11.1",
+ "version": "1.12.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/associate-exp-hub-team-switcher/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.
+# [2.21.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.20.1...@walmart/associate-exp-hub-team-switcher@2.21.0) (2025-12-12)
+
+### Bug Fixes
+
+- lint errors ([96d6f5e](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/96d6f5e80e49db48ac969953d6e4adbdbf46b4ea))
+
+### Features
+
+- **ui:** update lint fix--no-verify ([43033cb](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/commit/43033cb7fc81f6e157c93c10e64b0ecffdc227ce))
+
## [2.20.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.20.0...@walmart/associate-exp-hub-team-switcher@2.20.1) (2025-12-12)
**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher
--- packages/associate-exp-hub-team-switcher/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-team-switcher",
- "version": "2.20.1",
+ "version": "2.21.0",
"description": "Team Switcher module for Associate Experience Hub",
"packageManager": "yarn@4.6.0",
"engines": {
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-hub@2.18.2
- @walmart/associate-exp-hub-mini-app@1.12.0
- @walmart/associate-exp-hub-team-switcher@2.21.0
|
4c97277d0f3adc02a23d1eb570874d02dac8b65b | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -110,15 +110,12 @@ Array [
name="paymentselection"
/>
<Screen
- component="PayStubMiniApp"
name="paystub"
/>
- <Screen
- component="FWBNav"
- />
<Screen
name="myMoneyScreen"
/>
+ <Screen />
</Group>
<Screen
component="TimeClockScreen"
| Updated snapshot. | Updated snapshot.
|
11a322e0912b45850bf370373470208d67bf6258 | --- targets/US/package.json
@@ -147,7 +147,7 @@
"@walmart/shop-gnfr-mini-app": "1.0.137",
"@walmart/sidekick-mini-app": "4.84.9",
"@walmart/store-feature-orders": "1.27.1",
- "@walmart/taskit-mini-app": "4.17.21",
+ "@walmart/taskit-mini-app": "4.25.0",
"@walmart/time-clock-mini-app": "2.419.0",
"@walmart/topstock-mini-app": "1.17.11",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch",
--- yarn.lock
@@ -7054,7 +7054,7 @@ __metadata:
"@walmart/shop-gnfr-mini-app": "npm:1.0.137"
"@walmart/sidekick-mini-app": "npm:4.84.9"
"@walmart/store-feature-orders": "npm:1.27.1"
- "@walmart/taskit-mini-app": "npm:4.17.21"
+ "@walmart/taskit-mini-app": "npm:4.25.0"
"@walmart/time-clock-mini-app": "npm:2.419.0"
"@walmart/topstock-mini-app": "npm:1.17.11"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.17.1#~/.yarn/patches/@walmart-ui-components-npm-1.17.1-4a29feac03.patch"
@@ -7973,12 +7973,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:4.17.21":
- version: 4.17.21
- resolution: "@walmart/taskit-mini-app@npm:4.17.21"
+"@walmart/taskit-mini-app@npm:4.25.0":
+ version: 4.25.0
+ resolution: "@walmart/taskit-mini-app@npm:4.25.0"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/58a740e7178f549c8692b511fb947f46ef3935c0d8c28df56922d557f3d9619835f0891b98c988c8f96cf9644e22b784945425420a6b90fbb3a8e6d7367695ca
+ checksum: 10c0/9735a264dbbb7b1d5e08041af2183cbdb723108e46e18cabdbcc96b892ba095726983ecd9f0190e1bc585801fa7c5b2e91ec12d4ba7fd04a3f3a0655d875b84f
languageName: node
linkType: hard
| chore: bump taskit version | chore: bump taskit version
|
638c3316c1c50e3c73764269fcb2257a6c9fe9d9 | --- packages/allspark-foundation-hub/src/HubFeature/Onboarding/TeamSelection/Component/TeamSelectionList.tsx
@@ -77,7 +77,11 @@ export const TeamSelectionList = ({
message: 'Manager experience mutation completed',
});
if (isUserAlreadyOnboarded) {
- dispatch(ManagerExperienceCreators.completeTeamSelection());
+ dispatch(
+ ManagerExperienceCreators.completeTeamSelection(
+ Date.now().toString()
+ )
+ );
AllsparkNavigationClient.goBack();
} else {
dispatch(ManagerExperienceCreators.completeUserOnboarding());
@@ -126,35 +130,7 @@ export const TeamSelectionList = ({
countryCode: countryCode,
})) as TeamPreference[],
},
- })
- .then(() => {
- if (isUserAlreadyOnboarded) {
- dispatch(
- ManagerExperienceCreators.completeTeamSelection(
- Date.now().toString()
- )
- );
- AllsparkNavigationClient.navigate(hubScreeName, {
- teamSelectionComplete: selectedTeams,
- });
- } else {
- dispatch(ManagerExperienceCreators.completeUserOnboarding());
- if (hubScreeName) {
- AllsparkNavigationClient.navigate(hubScreeName);
- } else {
- AllsparkNavigationClient.dispatch(StackActions.pop(2));
- }
- }
- })
- .catch((err: Error) => {
- if (isUserAlreadyOnboarded) {
- dispatch(
- ManagerExperienceCreators.userTeamSelectionFailed(err.message)
- );
- } else {
- dispatch(ManagerExperienceCreators.userOnboardingFailed(err.message));
- }
- });
+ });
//TODO: Add confirmation screen navigation
logger.info('Save teams event', {
message: 'Save teams event triggered',
| Resolving conflicts | Resolving conflicts
|
b09d857fc77611614d24c1640f604b7ca3c5c7cd | --- docs/CHANGELOG.md
@@ -1,3 +1,42 @@
+# [1.16.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.15.0...v1.16.0) (2025-03-01)
+
+
+### Bug Fixes
+
+* **ui:** update the myteam tests ([d05afde](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d05afde787895fd92dd7d434ef945cbd48569a16))
+
+
+### Features
+
+* **ui:** added test case for TeamHub ([4e734fe](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4e734fe3eb2d21b02d9b63a59fe4d57a671e89dc))
+* **ui:** fixed tests ([5efac65](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/5efac6556b64a264cbe8ab7d98a268bed4b7035d))
+* **ui:** fixed typo for labels ([1245eab](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/1245eab788bc73d4db1485a4a6b6a545cc22a6da))
+* **ui:** my team version update ([249720f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/249720f738bf91977d46740948057c3b3809ce51))
+* **ui:** my team version update ([e1cddcc](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/e1cddccf359fe21773c2e0809ab031a786c4bb8c))
+* **ui:** update looper yml ([9ba4f02](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/9ba4f022ede974e0769e839e284961ff1bd273e4))
+* **ui:** update looper yml ([53d062c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/53d062c4ddb2c4aa98086a2295ea2693945f2810))
+* **ui:** update my team mini app ([99d2e05](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/99d2e05d4cb9318d7e4f2758ba38814c6823c15b))
+* **ui:** update my team mini app ([2fa9154](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/2fa915403ee30c1898855dccd5410ba85ce96832))
+* **ui:** update my team mini app version ([8e0f7da](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/8e0f7daf5bace68d74f3d5a731c99183246b0214))
+* **ui:** update my team mini app version ([361588c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/361588cf02c5cab82ce71c5d0fd80de2b740feae))
+* **ui:** update my team mini app version ([a07612a](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a07612a1aaf903a03ddc465dff24099cfc0726fc))
+* **ui:** update myteam mini app version ([69b3458](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/69b3458579b6ab2ea2c871fb225a38b88afb4d12))
+* **ui:** update myteam mini app version ([461cef4](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/461cef487b53341812c2b24877b0ff83896c708b))
+* **ui:** update myteam mini app version ([2a57db7](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/2a57db731c0bd8245a197643e6b31c905b12732c))
+* **ui:** update navigation for team hub ([ab3fc21](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/ab3fc2144d4c3adf7d6bb9c44c7a08bb2ffd0cda))
+* **ui:** update navigation for team hub ([fcf196f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/fcf196f4b4a1e312139950355086e9b64d43b1df))
+* **ui:** update navigation for team hub ([d5ea169](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d5ea1693b392807746c17233afb05e945286ddb5))
+* **ui:** update navigation for team hub ([334d4a2](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/334d4a27fcc5d552056ad612aab44e18a3b1e6d2))
+* **ui:** update texting and roster ([23cefc9](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/23cefc99243a9f5b124d31d2a3b8c7003c1a5882))
+* **ui:** Update the common files and version of myteam ([b278552](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/b2785529d52989123e88927d3f8026e30342e837))
+* **ui:** update translation for hub header ([4bf52fd](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4bf52fd754ee7da94a16483d19a058640a22d1cd))
+* **ui:** update translation for hub header ([9626a69](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/9626a6903a531c6eca8c03e7693b7697477f7c0c))
+* **ui:** update version for myteam ([fea2a09](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/fea2a09ee9ee80e428d3d9feda97df73aa90ef8e))
+* **ui:** update widget on myTeam ([7c227e0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/7c227e03d24a30e647eca0638505f56e3c96aad4))
+* **ui:** update widget on myTeam ([be17af5](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/be17af5ac694d30f730d932f017518080340b865))
+* **ui:** update widget on myTeam ([894c6c8](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/894c6c8606d5560784637c92acee04cd97907f9b))
+* **ui:** update widget on myTeam ([831438c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/831438cfbffa0d6e6635961fa649729eca069ceb))
+
# [1.15.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.14.0...v1.15.0) (2024-09-25)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.50.0",
+ "version": "1.16.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 1.16.0 [skip ci] | chore(release): 1.16.0 [skip ci]
# [1.16.0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/compare/v1.15.0...v1.16.0) (2025-03-01)
### Bug Fixes
* **ui:** update the myteam tests ([d05afde](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d05afde787895fd92dd7d434ef945cbd48569a16))
### Features
* **ui:** added test case for TeamHub ([4e734fe](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4e734fe3eb2d21b02d9b63a59fe4d57a671e89dc))
* **ui:** fixed tests ([5efac65](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/5efac6556b64a264cbe8ab7d98a268bed4b7035d))
* **ui:** fixed typo for labels ([1245eab](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/1245eab788bc73d4db1485a4a6b6a545cc22a6da))
* **ui:** my team version update ([249720f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/249720f738bf91977d46740948057c3b3809ce51))
* **ui:** my team version update ([e1cddcc](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/e1cddccf359fe21773c2e0809ab031a786c4bb8c))
* **ui:** update looper yml ([9ba4f02](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/9ba4f022ede974e0769e839e284961ff1bd273e4))
* **ui:** update looper yml ([53d062c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/53d062c4ddb2c4aa98086a2295ea2693945f2810))
* **ui:** update my team mini app ([99d2e05](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/99d2e05d4cb9318d7e4f2758ba38814c6823c15b))
* **ui:** update my team mini app ([2fa9154](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/2fa915403ee30c1898855dccd5410ba85ce96832))
* **ui:** update my team mini app version ([8e0f7da](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/8e0f7daf5bace68d74f3d5a731c99183246b0214))
* **ui:** update my team mini app version ([361588c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/361588cf02c5cab82ce71c5d0fd80de2b740feae))
* **ui:** update my team mini app version ([a07612a](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/a07612a1aaf903a03ddc465dff24099cfc0726fc))
* **ui:** update myteam mini app version ([69b3458](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/69b3458579b6ab2ea2c871fb225a38b88afb4d12))
* **ui:** update myteam mini app version ([461cef4](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/461cef487b53341812c2b24877b0ff83896c708b))
* **ui:** update myteam mini app version ([2a57db7](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/2a57db731c0bd8245a197643e6b31c905b12732c))
* **ui:** update navigation for team hub ([ab3fc21](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/ab3fc2144d4c3adf7d6bb9c44c7a08bb2ffd0cda))
* **ui:** update navigation for team hub ([fcf196f](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/fcf196f4b4a1e312139950355086e9b64d43b1df))
* **ui:** update navigation for team hub ([d5ea169](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/d5ea1693b392807746c17233afb05e945286ddb5))
* **ui:** update navigation for team hub ([334d4a2](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/334d4a27fcc5d552056ad612aab44e18a3b1e6d2))
* **ui:** update texting and roster ([23cefc9](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/23cefc99243a9f5b124d31d2a3b8c7003c1a5882))
* **ui:** Update the common files and version of myteam ([b278552](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/b2785529d52989123e88927d3f8026e30342e837))
* **ui:** update translation for hub header ([4bf52fd](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/4bf52fd754ee7da94a16483d19a058640a22d1cd))
* **ui:** update translation for hub header ([9626a69](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/9626a6903a531c6eca8c03e7693b7697477f7c0c))
* **ui:** update version for myteam ([fea2a09](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/fea2a09ee9ee80e428d3d9feda97df73aa90ef8e))
* **ui:** update widget on myTeam ([7c227e0](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/7c227e03d24a30e647eca0638505f56e3c96aad4))
* **ui:** update widget on myTeam ([be17af5](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/be17af5ac694d30f730d932f017518080340b865))
* **ui:** update widget on myTeam ([894c6c8](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/894c6c8606d5560784637c92acee04cd97907f9b))
* **ui:** update widget on myTeam ([831438c](https://gecgithub01.walmart.com/smdv/myteam-miniapp/commit/831438cfbffa0d6e6635961fa649729eca069ceb))
|
b716951ded55d67a6955ca9a7606d97bad7ebe5b | --- packages/me-at-walmart-container/__tests__/services/config.test.ts
@@ -4,8 +4,10 @@ import {
MeAtWalmartConfigService,
IMeAtWalmartConfigService,
MeAtWalmartConfigFetchParams,
- ChangeEventManager , actualListener,
-initialize, fetch
+ ChangeEventManager,
+ actualListener,
+ initialize,
+ fetch
} from '../../src/services/config';
import {
AppConfig,
| formmatted imports | formmatted imports
|
4d5d38f701bd2b18331b3e75bcb96bf35781a10d | --- package-lock.json
@@ -3088,9 +3088,9 @@
"integrity": "sha512-vzirL8LmvVnJdyNGFtqfzf3Pth9kuwqnd0cxllT7Gw3Qil4+snxw6yrC9Iw49jIvUFqjGjfkkFbXPeSqOcCVzw=="
},
"@walmart/inbox-mini-app": {
- "version": "0.0.92",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.92.tgz",
- "integrity": "sha512-pFj3FRHHuIk3pOlzU4IL8nWsSyWjGsfeRqoSIXqbFQuFj+PuwnBeU7BPwlD6fqEIshqBMGSnqIkbRaWSaXIxbQ=="
+ "version": "0.0.93",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.93.tgz",
+ "integrity": "sha512-QuM6wImPS5ytC6omhDCgVtWYbc//uuQoneunKbqlnudiuH7T3TXhakJ3IhUPcAGPWM+tIAFPsnIkPiyzwHAHgA=="
},
"@walmart/moment-walmart": {
"version": "1.0.4",
--- package.json
@@ -71,7 +71,7 @@
"@walmart/functional-components": "1.0.27",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/impersonation-mini-app": "1.0.15",
- "@walmart/inbox-mini-app": "0.0.92",
+ "@walmart/inbox-mini-app": "0.0.93",
"@walmart/moment-walmart": "1.0.4",
"@walmart/push-to-talk-mini-app": "0.5.4",
"@walmart/react-native-env": "^0.1.0",
| Fix SSMP-1109 (#558) | Fix SSMP-1109 (#558)
|
0e4055251753ccc0f235b78625e13cbff0f0b4bb | --- ios/Podfile.lock
@@ -1144,7 +1144,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
- DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
+ DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: affa4ba1bfdaac110a789192f4d452b053a86624
FBReactNativeSpec: fe8b5f1429cfe83a8d72dc8ed61dc7704cac8745
Firebase: 4ba896cb8e5105d4b9e247e1c1b6222b548df55a
@@ -1170,7 +1170,7 @@ SPEC CHECKSUMS:
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
FlipperKit: 02fd59af13a1465d04268cbffe3f93505f0a1dc2
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
- glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
+ glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
GoogleAppMeasurement: 7a33224321f975d58c166657260526775d9c6b1a
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
--- package-lock.json
@@ -65,7 +65,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.14",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.111.0",
+ "@walmart/profile-feature-app": "0.112.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -5705,9 +5705,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.111.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.111.0.tgz",
- "integrity": "sha512-gKOFI4oqK+9sW3oIXu49pJ8efmoVB9TBueApRnt0ib26UJxhPOpoIHLEDeaAmH4n6u3gugBt+Jo/yviff0UUSA==",
+ "version": "0.112.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.112.0.tgz",
+ "integrity": "sha512-QM0Wd3aPFhSAiH6KEuKtbqxQXCqv+xHfLa69TYR7GVjPbwm/Z4MPnOqnzLhvLJCKSXDvHbXR0WeFL4SXIsN/MA==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -25377,9 +25377,9 @@
"integrity": "sha512-TIzjXjT8jlsb/OrY7WPr4xUv5RsCsnNN0wwjawIwOHurrZtrFn8f/WjwkY8e6zUC3AlZ4QsHdaKqCD/pfkgGPg=="
},
"@walmart/profile-feature-app": {
- "version": "0.111.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.111.0.tgz",
- "integrity": "sha512-gKOFI4oqK+9sW3oIXu49pJ8efmoVB9TBueApRnt0ib26UJxhPOpoIHLEDeaAmH4n6u3gugBt+Jo/yviff0UUSA=="
+ "version": "0.112.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.112.0.tgz",
+ "integrity": "sha512-QM0Wd3aPFhSAiH6KEuKtbqxQXCqv+xHfLa69TYR7GVjPbwm/Z4MPnOqnzLhvLJCKSXDvHbXR0WeFL4SXIsN/MA=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.8.59",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.14",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.111.0",
+ "@walmart/profile-feature-app": "0.112.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| Bumped profile-feature-app to 0.112.0 | Bumped profile-feature-app to 0.112.0
|
95c3185fcf247ab9ea942114b00d2d90d71bb855 | --- package.json
@@ -173,8 +173,8 @@
"expo-constants": "~16.0.2",
"expo-font": "~12.0.10",
"expo-image": "~1.13.0",
- "expo-image-manipulator": "^13.1.7",
- "expo-image-picker": "^16.1.4",
+ "expo-image-manipulator": "~12.0.5",
+ "expo-image-picker": "~15.1.0",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-local-authentication": "~14.0.1",
--- yarn.lock
@@ -8411,8 +8411,8 @@ __metadata:
expo-doctor: "npm:^1.10.1"
expo-font: "npm:~12.0.10"
expo-image: "npm:~1.13.0"
- expo-image-manipulator: "npm:^13.1.7"
- expo-image-picker: "npm:^16.1.4"
+ expo-image-manipulator: "npm:~12.0.5"
+ expo-image-picker: "npm:~15.1.0"
expo-linear-gradient: "npm:~13.0.2"
expo-linking: "npm:~6.3.1"
expo-local-authentication: "npm:~14.0.1"
@@ -13676,34 +13676,34 @@ __metadata:
languageName: node
linkType: hard
-"expo-image-loader@npm:~5.1.0":
- version: 5.1.0
- resolution: "expo-image-loader@npm:5.1.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-loader%2F-%2Fexpo-image-loader-5.1.0.tgz"
+"expo-image-loader@npm:~4.7.0":
+ version: 4.7.0
+ resolution: "expo-image-loader@npm:4.7.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-loader%2F-%2Fexpo-image-loader-4.7.0.tgz"
peerDependencies:
expo: "*"
- checksum: 10c0/2897a2c3623f752cc277677b170ca9b3db826439641ccc93dcc3a94ece76dcbf084ecc108eddfebb42c34bcb339ef00996726995112c99561f262696c3e23300
+ checksum: 10c0/7db9df154f1b44e9877361e0707715503eaaf2b18968b6aecb6b0205612cf40bfd99ab8c6e6d7de3a5abd35267e9636963d5050e082af063d8e527763d597eb1
languageName: node
linkType: hard
-"expo-image-manipulator@npm:^13.1.7":
- version: 13.1.7
- resolution: "expo-image-manipulator@npm:13.1.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-manipulator%2F-%2Fexpo-image-manipulator-13.1.7.tgz"
+"expo-image-manipulator@npm:~12.0.5":
+ version: 12.0.5
+ resolution: "expo-image-manipulator@npm:12.0.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-manipulator%2F-%2Fexpo-image-manipulator-12.0.5.tgz"
dependencies:
- expo-image-loader: "npm:~5.1.0"
+ expo-image-loader: "npm:~4.7.0"
peerDependencies:
expo: "*"
- checksum: 10c0/814a9b9cbbb9e9c78b6b8e939e815c57283423b7faa05b1f18032f482e1f857206e942bf2b08892b08e2c2cedc4e2799de1d8ee549b1205edb851bfb1f5030be
+ checksum: 10c0/58c40bacbac6aad5a2f516815b61c5c7cbbf1493ebd4c173925e256bfec9bd5c185c8f059edf932d78d85ae384036f5eb2034bf202cb8af350055b7e6389bf2e
languageName: node
linkType: hard
-"expo-image-picker@npm:^16.1.4":
- version: 16.1.4
- resolution: "expo-image-picker@npm:16.1.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-picker%2F-%2Fexpo-image-picker-16.1.4.tgz"
+"expo-image-picker@npm:~15.1.0":
+ version: 15.1.0
+ resolution: "expo-image-picker@npm:15.1.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2Fexpo-image-picker%2F-%2Fexpo-image-picker-15.1.0.tgz"
dependencies:
- expo-image-loader: "npm:~5.1.0"
+ expo-image-loader: "npm:~4.7.0"
peerDependencies:
expo: "*"
- checksum: 10c0/7e27458a48140cea2864564db40ff102525302ca60e9526838ae265523dba8b1d9ceea3a2ac94c1eaece78f4cd1ded0f1a2391517e61a3fd8a6f17b06e337293
+ checksum: 10c0/a472217434dae08f462011d4bc2811196ffbe1c97392de1e5991fcc0b53125dc049cf8c2045b05a38044aaf642625cf231a4bf47e0a45feff5d10a76e65cd5fa
languageName: node
linkType: hard
| fix(package.json): ALLSPARK-6008 downgrade expo image picker and manipul (#4205) | fix(package.json): ALLSPARK-6008 downgrade expo image picker and manipul (#4205)
|
92b2486037d9e6c7dd8551a80a8b4daacc185710 | --- package-lock.json
@@ -3389,9 +3389,9 @@
"integrity": "sha512-73HAEev8DeHModZVTry22tqKnV5jJcaL4IyUVWvlvoyZ4iZfNgdIsR6VEzYN1TW5DHH5d44heAIR3K8kdUb4Qw=="
},
"@walmart/iteminfo-mini-app": {
- "version": "2.0.15",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.15.tgz",
- "integrity": "sha512-FzuuQEVmI5eDeRzJV2lnr4DeXw93fEp6zUnL3W1iVfwawuBJsRpDkuczMBmr44/Hn9PnYvELb0wuGeB2hLzSDQ==",
+ "version": "2.0.16",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-2.0.16.tgz",
+ "integrity": "sha512-oTsfjo3qI87eYh+phs9cITWo46RFRJ5qy3qyTj/MK9quYMzpkkI5QuAux9jwaYg1JozqBZ1rAjEic4Qvx7EC2w==",
"requires": {
"react-native-chart-kit": "6.6.1"
}
--- package.json
@@ -84,7 +84,7 @@
"@walmart/impersonation-mini-app": "1.0.20",
"@walmart/ims-print-services-ui": "0.0.36",
"@walmart/inbox-mini-app": "0.14.0",
- "@walmart/iteminfo-mini-app": "2.0.15",
+ "@walmart/iteminfo-mini-app": "2.0.16",
"@walmart/manager-approvals-miniapp": "0.0.56",
"@walmart/metrics-mini-app": "0.4.12",
"@walmart/moment-walmart": "1.0.4",
| Minor change : Icon fix in item info | Minor change : Icon fix in item info
|
0e815fb5f8efc1b2492bc85b40127dde2548bf1b | --- packages/allspark-foundation-hub/src/Store/Hub/TeamSwitcher/index.tsx
@@ -119,10 +119,12 @@ export const TeamSwitcher = ({
dispatch(
ManagerExperienceCreators.updateSelectedTeamIDs(selectedTeamsList)
);
+ onTeamChange(team.teamId, selectedTeamsList);
} else {
dispatch(
ManagerExperienceCreators.updateSelectedTeamIDs([team.teamId])
);
+ onTeamChange(team.teamId, [team.teamId]);
}
};
| fix(ui): revert the changes for the teamswicger select team function | fix(ui): revert the changes for the teamswicger select team function
|
85d0dc5527be0dd90ac44a24f3b24a19d9f4e071 | --- yarn.lock
@@ -8020,9 +8020,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/store-feature-orders@npm:1.27.1":
- version: 1.27.1
- resolution: "@walmart/store-feature-orders@npm:1.27.1"
+"@walmart/store-feature-orders@npm:1.26.12":
+ version: 1.26.12
+ resolution: "@walmart/store-feature-orders@npm:1.26.12"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/stack": ^6.1.0
@@ -8031,7 +8031,7 @@ __metadata:
"@walmart/react-native-env": 0.2.0
react: ^18.2.0
react-native: ^0.73.7
- checksum: 10c0/e87feae039b262d37ba745ba5e211b3cf4eaf9e484f7d69aacc8be716ace4c6d2df31ae523282e81a08c8b9b70dd70a72f3133821789a649264278c815651283
+ checksum: 10c0/077aac6be3ffaaa41a10cf413d1f7568a4358fc5d2e92f0e4d918de81e862be5b214b0f049eb08666321d0962fddc44fd37199725336683433a5399698044866
languageName: node
linkType: hard
| drop24 merge conflicts | drop24 merge conflicts
|
d844a20048657a19a05ce044219555e0c15b5ce2 | --- packages/allspark-foundation/__tests__/cli/linkUtils.test.ts
@@ -1,7 +1,9 @@
import {
mergeDeep,
isObject,
+ writeConfig,
} from '../../../allspark-foundation/src/cli/linkUtils';
+import fsPromises from 'fs/promises';
describe('isObject', () => {
it('should return true if the passed argument is an object', () => {
@@ -63,3 +65,13 @@ describe('mergDeep', () => {
});
});
});
+describe('writeConfig', () => {
+ const fsSpy = jest.spyOn(fsPromises, 'writeFile').mockImplementation();
+ it('should call the fsPromises writefile method with a path and content', () => {
+ writeConfig({}, '/path/to/file');
+ expect(fsSpy).toHaveBeenCalledWith(
+ '/path/to/file',
+ 'module.exports = {};\n'
+ );
+ });
+});
| test(foundation): add test for write config | test(foundation): add test for write config
|
55615fb09777de2b6c9f743e02df220b7dbb4867 | --- packages/core-services-allspark/package.json
@@ -26,7 +26,7 @@
"@walmart/allspark-graphql-client": "^1.3.0",
"@walmart/allspark-http-client": "^2.4.3",
"@walmart/core-services": "^2.0.8",
- "@walmart/core-utils": "^1.3.0",
+ "@walmart/allspark-utils": "^1.3.0",
"crypto-js": "~4.1.1",
"jwt-decode": "^3.1.2",
"luxon": "^2.4.0",
--- packages/core-services/package.json
@@ -20,7 +20,7 @@
"license": "ISC",
"dependencies": {
"@walmart/allspark-http-client": "^2.4.3",
- "@walmart/core-utils": "^1.3.0",
+ "@walmart/allspark-utils": "^1.3.0",
"@walmart/redux-store": "3.1.2",
"reduxsauce": "^1.2.1",
"reselect": "^4.1.5",
| refactor: move to allspark utils | refactor: move to allspark utils
|
437dcdd2928e74305256e01d891a1d7344822114 | --- packages/associate-exp-hub-mini-app/CHANGELOG.md
@@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.4.0-alpha.18](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.17...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.18) (2025-09-03)
+
+### Features
+
+- **ui:** optimizing initialization of state ([8d53630](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/8d53630861cbfd0c1ed2029a45b2743969ad246a))
+- **ui:** update associate exp hub layout config ([3a6ba25](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/3a6ba25baa43a9cb21b27869eeea0e3b15b70947))
+- **ui:** update associate exp hub layout config ([6551eec](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/6551eec994cfd636025c74db79453f62e52a1fb4))
+- **ui:** update associate package ([25a1b30](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/25a1b308720ee2e6d332e347a54548d252a48118))
+- **ui:** update edit and update modal ([157cef2](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/157cef2a019a8ec30c417913a546acfcc72c6e59))
+- **ui:** update empty list ([a13b6ea](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/a13b6eaad2306f1b55d577b8d4b068c4b8828a38))
+- **ui:** update tests ([0e207f5](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/0e207f526cf5503300ec6920eeac69f6307bcc9a))
+- **ui:** update translation ([3a4c034](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/3a4c0344eb45ac08c95840e6c43561c93fd9f279))
+
# [1.4.0-alpha.17](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.16...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.17) (2025-09-01)
### Features
--- packages/associate-exp-hub-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/associate-exp-hub-mini-app",
- "version": "1.4.0-alpha.17",
+ "version": "1.4.0-alpha.18",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/associate-exp-hub-mini-app@1.4.0-alpha.18
|
e8d810f943ddcc4621a6627c6aff85362860d1f1 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "3.6.5",
+ "version": "3.6.6",
"main": "dist/index.js",
"files": [
"dist",
@@ -92,9 +92,9 @@
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/roster-mini-app": "3.8.5",
+ "@walmart/roster-mini-app": "3.8.6",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "3.7.5",
+ "@walmart/wmconnect-mini-app": "3.7.6",
"babel-jest": "^29.6.3",
"chance": "^1.1.11",
"crypto-js": "~4.2.0",
--- yarn.lock
@@ -7460,9 +7460,9 @@ __metadata:
"@walmart/react-native-logger": "npm:1.35.0"
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/roster-mini-app": "npm:3.8.5"
+ "@walmart/roster-mini-app": "npm:3.8.6"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:3.7.5"
+ "@walmart/wmconnect-mini-app": "npm:3.7.6"
babel-jest: "npm:^29.6.3"
chance: "npm:^1.1.11"
crypto-js: "npm:~4.2.0"
@@ -7570,9 +7570,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.8.5":
- version: 3.8.5
- resolution: "@walmart/roster-mini-app@npm:3.8.5::__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.8.5.tgz"
+"@walmart/roster-mini-app@npm:3.8.6":
+ version: 3.8.6
+ resolution: "@walmart/roster-mini-app@npm:3.8.6::__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.8.6.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components-3": "*"
@@ -7584,7 +7584,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/ea063de0b767efb1fb3509e345b97812b9ff8a38336b4eb4b616989477d874a3df1649124232cf9d5ae114942e3b7ead52978c9da07519ef49df657c75733d05
+ checksum: 10c0/a76541995d386e689ea10cfb94f3011b32859c69119231d703d9ce50e39937ff440bb34188eb51132679b2e8f11e94cde8537d671b6d6b1f5647b02dadaf5b22
languageName: node
linkType: hard
@@ -7608,9 +7608,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:3.7.5":
- version: 3.7.5
- resolution: "@walmart/wmconnect-mini-app@npm:3.7.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.5.tgz"
+"@walmart/wmconnect-mini-app@npm:3.7.6":
+ version: 3.7.6
+ resolution: "@walmart/wmconnect-mini-app@npm:3.7.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.7.6.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components": ^2.3.0-rc.0
@@ -7622,7 +7622,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/b14fc8b9f0066dc5209b0d00d79a24cc2f28ff0d9af8fead717a8af21cbc50c86da17043727aaf9b67b22bfd721cd2dc74742d222e904b8796d51b8813263da7
+ checksum: 10c0/cf54af0741a2b56c35c081a683022994cc09253dfd74fd21e3979e6032250d05a24af494da3412783fdce19507b919f5339d32ea0916b387d8450ad484934bea
languageName: node
linkType: hard
| feat(ui): update roster and wmconnect version | feat(ui): update roster and wmconnect version
|
dbf5cb3d52f9256d15b97bf23199d714dbfd2fa3 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Hub/SiteHubDashboard.tsx
@@ -16,10 +16,7 @@ import {
} from '../../Store/Common/constant';
import { Body } from '@walmart/gtp-shared-components';
import { LayoutConfig } from '@walmart/allspark-utils';
-import {
- ManagerExperienceSelectors,
- hubTeamSwitcherEnabled,
-} from '../../Store/Redux/selectors';
+import { ManagerExperienceSelectors } from '../../Store/Redux/selectors';
import {
useFocusEffect,
useNavigation,
@@ -39,7 +36,7 @@ import {
} from '@walmart/allspark-foundation';
import { FEATURE_ID, POPOVER_KEY } from '../constant';
import { useGetSupplyChainAllTeamsBySite } from '../Hooks/useGetSupplyChainTeamsByStore';
-// import { teamSwitcherEnabled } from '../Redux';
+import { teamSwitcherEnabled } from '../Redux';
export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => {
const { showOnboarding, hideOnboardingFlow } = useOnboardingContext();
@@ -83,8 +80,7 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => {
const scrollPosition = useRef(new Animated.Value(0)).current;
- const showHubTeamSwitcher = useSelector(hubTeamSwitcherEnabled); // TODO: Create separate selector for supply chain team switcher
- console.log('showHubTeamSwitcher,', showHubTeamSwitcher);
+ const showHubTeamSwitcher = useSelector(teamSwitcherEnabled);
const hubScreeName = useSelector(ManagerExperienceSelectors.getHubScreenName);
const { t } = useAllsparkTranslation(FEATURE_ID);
| feat: added feature flag for bottom sheet team swticher and team item | feat: added feature flag for bottom sheet team swticher and team item
|
fb003d6247abf4802b973b91823c73a870330094 | --- package-lock.json
@@ -57,7 +57,7 @@
"@walmart/iteminfo-mini-app": "7.0.8",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
- "@walmart/metrics-mini-app": "0.9.60",
+ "@walmart/metrics-mini-app": "0.9.61",
"@walmart/mod-flex-mini-app": "1.5.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
@@ -5509,9 +5509,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.9.60",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.60.tgz",
- "integrity": "sha512-8kEOohJE3DMD6TOqmryRN8GzndR2zQctmjvQ24Bou+0bN2Yu7WGUO3daCJzSxaMtGa7XKAHgk/4vQzIU8RPklQ==",
+ "version": "0.9.61",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.61.tgz",
+ "integrity": "sha512-oLluNg16ptrlEzUAwpZj7FyiEHv3lmFi3zQBqg179BalRlU1oCzLbkD673VKh+4u7uEvpC9dBBmPe36OHaHo8g==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -25170,9 +25170,9 @@
"version": "1.1.45"
},
"@walmart/metrics-mini-app": {
- "version": "0.9.60",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.60.tgz",
- "integrity": "sha512-8kEOohJE3DMD6TOqmryRN8GzndR2zQctmjvQ24Bou+0bN2Yu7WGUO3daCJzSxaMtGa7XKAHgk/4vQzIU8RPklQ==",
+ "version": "0.9.61",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.61.tgz",
+ "integrity": "sha512-oLluNg16ptrlEzUAwpZj7FyiEHv3lmFi3zQBqg179BalRlU1oCzLbkD673VKh+4u7uEvpC9dBBmPe36OHaHo8g==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -99,7 +99,7 @@
"@walmart/iteminfo-mini-app": "7.0.8",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
- "@walmart/metrics-mini-app": "0.9.60",
+ "@walmart/metrics-mini-app": "0.9.61",
"@walmart/mod-flex-mini-app": "1.5.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.14",
| mertrics version bump | mertrics version bump
|
13a1fcdb4cd9495cfa875ca9a812e10c698a573e | --- __tests__/managerExperience/components/__snapshots__/FilterChip.test.tsx.snap
@@ -64,10 +64,12 @@ exports[`FilterChip renders active filter chip correctly 1`] = `
{
"alignSelf": "center",
"backgroundColor": "#2e2f32",
+ "borderColor": "#2e2f32",
"borderRadius": 1000,
- "borderWidth": 0,
+ "borderWidth": 2,
"justifyContent": "center",
"minWidth": 10,
+ "padding": 14,
},
]
}
@@ -175,10 +177,12 @@ exports[`FilterChip renders inactive filter chip correctly 1`] = `
{
"alignSelf": "center",
"backgroundColor": "#f1f1f2",
+ "borderColor": "#f1f1f2",
"borderRadius": 1000,
- "borderWidth": 0,
+ "borderWidth": 2,
"justifyContent": "center",
"minWidth": 10,
+ "padding": 14,
},
]
}
--- __tests__/managerExperience/components/__snapshots__/FilterChipGroup.test.tsx.snap
@@ -81,10 +81,12 @@ exports[`FilterChipGroup matches snapshot 1`] = `
{
"alignSelf": "center",
"backgroundColor": "#f1f1f2",
+ "borderColor": "#f1f1f2",
"borderRadius": 1000,
- "borderWidth": 0,
+ "borderWidth": 2,
"justifyContent": "center",
"minWidth": 10,
+ "padding": 14,
},
]
}
@@ -193,10 +195,12 @@ exports[`FilterChipGroup matches snapshot 1`] = `
{
"alignSelf": "center",
"backgroundColor": "#f1f1f2",
+ "borderColor": "#f1f1f2",
"borderRadius": 1000,
- "borderWidth": 0,
+ "borderWidth": 2,
"justifyContent": "center",
"minWidth": 10,
+ "padding": 14,
},
]
}
@@ -305,10 +309,12 @@ exports[`FilterChipGroup matches snapshot 1`] = `
{
"alignSelf": "center",
"backgroundColor": "#f1f1f2",
+ "borderColor": "#f1f1f2",
"borderRadius": 1000,
- "borderWidth": 0,
+ "borderWidth": 2,
"justifyContent": "center",
"minWidth": 10,
+ "padding": 14,
},
]
}
| fix: updated snapshots | fix: updated snapshots
|
a7cbdd2631b5c9a1133797fdff466b68bfbff8d8 | --- packages/me-at-walmart-athena-queries/src/index.ts
@@ -11,4 +11,5 @@ export * from './getSupplyChainTeamPreferenceQuery';
export * from './getSupplyChainTeamsByStore';
export * from './upsertSupplyChainAssociatePreference';
export * from './getSupplyChainShifts';
+export * from './getForYouHeaderAssociateDetails';
export * as AthenaTypes from './schema.types';
| fix(query): add export for header api | fix(query): add export for header api
|
a6ee4d18f203f08bc230a6131c0cd6dcbf5415d9 | --- core/__tests__/termsOfUse/__snapshots__/TermsOfUseTest.tsx.snap
@@ -256,7 +256,7 @@ DC-TDC-01-00-01
size="small"
weight="400"
>
- This This Terms of use document applies to all associates who work for Walmart. “Walmart” means Walmart Inc., one of its subsidiary companies or any operating units in which Walmart Inc. has a majority or controlling interest (“Walmart”).
+ This Terms of use document applies to all associates who work for Walmart. “Walmart” means Walmart Inc., one of its subsidiary companies or any operating units in which Walmart Inc. has a majority or controlling interest (“Walmart”).
</Body>
</View>
</View>
| Updated snap | Updated snap
|
d0a35183f740d19f6709bfe8b57d501eec1ea1f1 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [2.8.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.8.0...v2.8.1) (2024-07-12)
+
+
+### Bug Fixes
+
+* **ui:** added ws ([5f39a9f](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/5f39a9f455010b33d0a82e5545f9274ffa8da79a))
+
# [2.8.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.7.0...v2.8.0) (2024-07-09)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.8.0",
+ "version": "2.8.1",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.8.1 [skip ci] | chore(release): 2.8.1 [skip ci]
## [2.8.1](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.8.0...v2.8.1) (2024-07-12)
### Bug Fixes
* **ui:** added ws ([5f39a9f](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/5f39a9f455010b33d0a82e5545f9274ffa8da79a))
|
3dba8f78ad2c05151e78a22492d2332e2897ebb5 | --- react-native-dev-beta.config.js
@@ -1,13 +0,0 @@
-module.exports = {
- project: {
- ios: {},
- android: {},
- },
- dependencies: {
- ...(process.env.CI
- ? {'react-native-flipper': {platforms: {ios: null}}}
- : {}),
- },
- assets: ['node_modules/@walmart/ui-components/assets'],
- };
-
\ No newline at end of file
--- react-native-prod.config.js
@@ -1,15 +0,0 @@
-module.exports = {
- project: {
- ios: {},
- android: {
- manifestPath: '/app/src/main/AndroidManifest.xml'
- },
- },
- dependencies: {
- ...(process.env.CI
- ? {'react-native-flipper': {platforms: {ios: null}}}
- : {}),
- },
- assets: ['node_modules/@walmart/ui-components/assets'],
- };
-
\ No newline at end of file
--- scripts/updateAndroidProjectConfig.sh
@@ -92,16 +92,3 @@ sed -Ei'' "s/${DEV_CODE_PUSH_KEY}|${BETA_CODE_PUSH_KEY}|${PROD_CODE_PUSH_KEY}/${
# echo "Updating Manifest path in react-native.config.js to ${RN_CONFIG_MANIFEST_PATH} in ${RN_CONFIG_JS}"
# cat ${RN_CONFIG_JS_SELECTED} > ${RN_CONFIG_JS}
fi
-
-echo "Printing ${APP_GRADLE}"
-cat ${APP_GRADLE}
-echo "Printing ${APP_MANIFEST}"
-cat ${APP_MANIFEST}
-echo "Printing ${MAIN_ACTIVITY}"
-cat ${MAIN_ACTIVITY}
-echo "Printing ${MAIN_APPLICATION}"
-cat ${MAIN_APPLICATION}
-echo "Printing ${STRINGS_XML}"
-cat ${STRINGS_XML}
-echo "Printing ${RN_CONFIG_JS}"
-cat ${RN_CONFIG_JS}
| Removing extra code for logging and files not used | Removing extra code for logging and files not used
|
0f7af83c4340a3618cb90c23464aaf7a7aa7192d | --- src/hooks/user.ts
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import {UserSelectors, User} from '@walmart/redux-store';
+import {UserSelectors, User, SiteSelectors} from '@walmart/redux-store';
import {teamLeadJobDescriptions as teamLeadJobDescriptionsSelector} from '../redux/selectors';
import {payTypes} from '../constants';
@@ -19,12 +19,8 @@ export const useIsSalariedOrTeamLead = () => {
};
export const useUserIsInRoster = () => {
- const currentSite: string = useSelector(
- UserSelectors.getUserWorkingSite,
- ) as string;
- const originalSite: string = useSelector(
- UserSelectors.getOriginalUserWorkingSite,
- ) as string;
+ const workingSite: string = useSelector(UserSelectors.getUserWorkingSite);
+ const homeSite: string = useSelector(UserSelectors.getUserHomeSite);
- return currentSite === originalSite;
+ return workingSite.toString() === homeSite.toString();
};
--- src/hooks/user.ts
@@ -1,5 +1,5 @@
import {useSelector} from 'react-redux';
-import {UserSelectors, User} from '@walmart/redux-store';
+import {UserSelectors, User, SiteSelectors} from '@walmart/redux-store';
import {teamLeadJobDescriptions as teamLeadJobDescriptionsSelector} from '../redux/selectors';
import {payTypes} from '../constants';
@@ -19,12 +19,8 @@ export const useIsSalariedOrTeamLead = () => {
};
export const useUserIsInRoster = () => {
- const currentSite: string = useSelector(
- UserSelectors.getUserWorkingSite,
- ) as string;
- const originalSite: string = useSelector(
- UserSelectors.getOriginalUserWorkingSite,
- ) as string;
+ const workingSite: string = useSelector(UserSelectors.getUserWorkingSite);
+ const homeSite: string = useSelector(UserSelectors.getUserHomeSite);
- return currentSite === originalSite;
+ return workingSite.toString() === homeSite.toString();
};
| fix logical error for useUserInRoster hook | fix logical error for useUserInRoster hook
|
5295d99eae0f3557af4c05450849dcb6d387848d | --- packages/allspark-foundation/__tests__/Work/redux.test.tsx
@@ -1,11 +1,15 @@
-import { WorkActions, WorkSelectors } from '../../src/Work';
+import { IAllsparkReduxState } from '../../src/Redux';
+import { WorkActions, WorkSelectors, WorkState } from '../../src/Work';
+const WORK_STATE: WorkState = { actionId: 'actionId', workFlow: 'topstock' };
describe('WorkActions', () => {
test('create the correct "work flow start" action', () => {
- const payload = { actionId: 'foo', workFlow: 'topstock' };
expect(
- WorkActions.WORK_FLOW_START({ workFlow: 'topstock', actionId: 'foo' })
- ).toEqual({ payload, type: 'work/WORK_FLOW_START' });
+ WorkActions.WORK_FLOW_START({
+ workFlow: 'topstock',
+ actionId: 'actionId',
+ })
+ ).toEqual({ payload: WORK_STATE, type: 'work/WORK_FLOW_START' });
});
test('create the correct "work flow complete" action', () => {
expect(WorkActions.WORK_FLOW_COMPLETE()).toEqual({
@@ -13,11 +17,12 @@ describe('WorkActions', () => {
});
});
});
-// describe('WorkSelectors', () => {
-// test('get work flow', () => {
-// expect(true).toBeTruthy()
-// })
-// test('get action ID', () => {
-// expect(true).toBeTruthy()
-// })
-// })
+describe('WorkSelectors', () => {
+ const state = { work: { ...WORK_STATE } } as IAllsparkReduxState;
+ test('"get work flow" returns current flow', () => {
+ expect(WorkSelectors.getWorkFlow(state)).toBe('topstock');
+ });
+ test('"get action ID" returns the action ID', () => {
+ expect(WorkSelectors.getActionId(state)).toBe('actionId');
+ });
+});
--- packages/allspark-foundation/src/Redux/rootReducer.ts
@@ -11,6 +11,7 @@ import { INotificationAction, notificationSlice } from '../Notification/redux';
import { permissionsSlice } from '../Permissions/redux';
import { ISiteAction, siteSlice } from '../Site/redux';
import { IUserAction, userSlice } from '../User/redux';
+import { IWorkAction, workSlice } from '../Work';
import { navConfigSlice } from '../Navigation/config/redux';
/**
@@ -30,6 +31,7 @@ export const AllsparkRootReducer = {
[permissionsSlice.name]: permissionsSlice.reducer,
[siteSlice.name]: siteSlice.reducer,
[userSlice.name]: userSlice.reducer,
+ [workSlice.name]: workSlice.reducer,
};
// Typing of above root reducer
@@ -59,4 +61,5 @@ export type IAllsparkReduxAction<A extends Action<any> = AnyAction> =
| INotificationAction
| ISiteAction
| IUserAction
+ | IWorkAction
| A;
| fix: write tests, update type allspark redux state DWORK-60097 | fix: write tests, update type allspark redux state DWORK-60097
|
01bd724775c181ed32a6363480567295cc7ee0f7 | --- packages/allspark-foundation/src/Feature/types.ts
@@ -232,6 +232,7 @@ export type BuildNavigatorConfig = {
export type FeatureEventListeners = {
onConnect: (capability?: ConnectCapabilities) => void;
+ onDisconnect: (capability?: DisconnectCapabilities) => void;
onEnableChange: (enabled: boolean) => void;
};
| fix: disconnect listener missing on feature module typing | fix: disconnect listener missing on feature module typing
|
a5e7328a98737c1f1cebbc5fea911433626f3dc0 | --- core/src/PinAccess/PinCodeSagas.ts
@@ -86,6 +86,9 @@ export function* handlePinPrompt(reason: string, resetNav: boolean) {
yield call(navMethod, pinScreen, {flow: ENTRY});
+ // Disable navigation, until pin flow is completed
+ AllsparkNavigationClient.disable();
+
const biometricTask: Task = yield fork(handleBiometricSetup);
yield take([
@@ -93,6 +96,9 @@ export function* handlePinPrompt(reason: string, resetNav: boolean) {
BiometricTypes.BIOMETRIC_PROMPT_SUCCESS,
]);
+ // Pin flow complete, reenable navigation
+ AllsparkNavigationClient.enable();
+
if (biometricTask) {
yield cancel(biometricTask);
}
--- package.json
@@ -146,7 +146,7 @@
"@types/seamless-immutable": "^7.1.16",
"@types/semver": "^7.3.4",
"@types/uuid": "^8.3.0",
- "@walmart/allspark-foundation": "6.22.0",
+ "@walmart/allspark-foundation": "6.24.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-utils": "~6.5.0",
--- targets/US/package.json
@@ -77,7 +77,7 @@
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-authentication": "~6.4.1",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "6.22.0",
+ "@walmart/allspark-foundation": "6.24.0",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
"@walmart/allspark-neon-core": "0.1.31",
--- yarn.lock
@@ -5966,9 +5966,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:6.22.0":
- version: 6.22.0
- resolution: "@walmart/allspark-foundation@npm:6.22.0"
+"@walmart/allspark-foundation@npm:6.24.0":
+ version: 6.24.0
+ resolution: "@walmart/allspark-foundation@npm:6.24.0"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@graphql-codegen/cli": "npm:^5.0.0"
@@ -6061,7 +6061,7 @@ __metadata:
allspark-generate-graphql: cli/generate.js
allspark-link: cli/link.js
allspark-setup: cli/setup.js
- checksum: 10c0/ee0eb7b9ccc3ff24504e6b99b60e553766d481f6e6667ae5dcd58f82dd60937582d372fdae01e9e27546b47c2c7841d4530c4d6293233298ab4a1f02a11702dc
+ checksum: 10c0/0a860caa0f7e0c6724a4e11bf7e463b7717c1472c13542d12f0c3b57226a00af88c595d3b7d7f4c93cc80a0602eee811873cc9c9a585c7978eeeb0a0b1ad6145
languageName: node
linkType: hard
@@ -7279,7 +7279,7 @@ __metadata:
"@types/uuid": "npm:^8.3.0"
"@walmart/allspark-authentication": "npm:~6.4.1"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:6.22.0"
+ "@walmart/allspark-foundation": "npm:6.24.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"
| fix: navigation not disabled while on pin screen | fix: navigation not disabled while on pin screen
|
89432693fb322e537f04cf7d9a6b3cb7b1e05adf | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.0-beta.6",
+ "version": "1.0.0-beta.7",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/allspark-foundation-hub/src/HubFeature/Hub/Container/utils.ts
@@ -119,11 +119,11 @@ export const getDefaultTeamsForUserType = (
}
};
-export const findTeamByLabel = (
+export const findTeamById = (
teamList: TeamSwitcherTypes[],
- teamLabel: string
+ teamPreference: string
) => {
- return teamList.find((team) => team.teamLabel === teamLabel);
+ return teamList.find((team) => team.teamId === teamPreference);
};
export const sorter = (
--- packages/allspark-foundation-hub/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -21,7 +21,7 @@ import {
teamSwitcherEnabled,
} from '../../Redux/selectors';
import {
- findTeamByLabel,
+ findTeamById,
getDefaultTeamsForUserType,
sorter,
} from '../Container/utils';
@@ -36,13 +36,13 @@ import {
MY_TEAMS_TEAM_LABEL,
TOTAL_STORE_TEAM_ID,
TOTAL_STORE_TEAM_LABEL,
+ FEATURE_ID,
} from '../../constant';
import { useTelemetryService } from '@walmart/allspark-foundation/Telemetry';
import { useAllsparkImage } from '@walmart/allspark-foundation/Components/context';
import { Images } from '../../Images/images';
import { LoggerService } from '@walmart/allspark-foundation/Logger';
import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation';
-import { FEATURE_ID } from '../../constant';
export * from './types';
@@ -55,9 +55,6 @@ export const TeamSwitcher = ({
const logger = LoggerService.getContainerInstance();
const loggerRef = useRef(logger);
const userPrefTeams = teamData.length > 0 ? teamData : undefined;
- const userSelectedTeamLabel = useSelector(
- ManagerExperienceSelectors.getSelectedTeamLabel
- );
const teamSwitcherTelemetry = useTelemetryService();
const showTeamSwitcher = useSelector(teamSwitcherEnabled);
const [teamSwitcherList, setTeamSwitcherList] = useState<TeamSwitcherTypes[]>(
@@ -76,8 +73,8 @@ export const TeamSwitcher = ({
const styles = useMemo(() => TeamSwitcherStyles(), []);
const TeamImage = useAllsparkImage();
const dispatch = useDispatch();
- const selectedTeamLabel: string = useSelector(
- ManagerExperienceSelectors.getSelectedTeamLabel
+ const selectedTeamPreference: string = useSelector(
+ ManagerExperienceSelectors.getSelectedTeamPreference
);
const userTeamSelectionComplete = useSelector(
ManagerExperienceSelectors.getUserTeamSelectionComplete
@@ -86,7 +83,7 @@ export const TeamSwitcher = ({
ManagerExperienceSelectors.getUserOnboardingComplete
);
const [selectedTeam, setSelectedTeam] = useState<string | null>(
- selectedTeamLabel
+ selectedTeamPreference
);
const { isOffSite, allTeamsOfStore } = useGetAllTeamsOfStore();
@@ -110,7 +107,7 @@ export const TeamSwitcher = ({
const selectTeam = (team: TeamSwitcherTypes) => {
setSelectedTeam(team.teamLabel);
dispatch(
- ManagerExperienceCreators.updateSelectedTeamLabel(team.teamLabel)
+ ManagerExperienceCreators.updateSelectedTeamPreference(team.teamId)
);
dispatch(ManagerExperienceCreators.updateSelectedTeamIDs([team.teamId]));
onTeamChange(team.teamId, [team.teamId]);
@@ -140,7 +137,7 @@ export const TeamSwitcher = ({
}
setTeamSwitcherList(evaluatedTeamList);
selectTeam(
- findTeamByLabel(evaluatedTeamList, userSelectedTeamLabel) ||
+ findTeamById(evaluatedTeamList, selectedTeamPreference) ||
evaluatedSelectTeam
);
// eslint-disable-next-line react-hooks/exhaustive-deps
@@ -150,7 +147,7 @@ export const TeamSwitcher = ({
userTeams,
isOffSite,
allTeamsOfStore,
- userSelectedTeamLabel,
+ selectedTeamPreference,
]);
useEffect(() => {
@@ -168,7 +165,7 @@ export const TeamSwitcher = ({
empType: empType as string,
});
setSelectedTeam(teamLabel);
- dispatch(ManagerExperienceCreators.updateSelectedTeamLabel(teamLabel));
+ dispatch(ManagerExperienceCreators.updateSelectedTeamPreference(teamId));
if (teamId === 'myTeams') {
const selectedTeamsList = teamData
.filter((team: any) => team.teamLabel)
--- packages/allspark-foundation-hub/src/HubFeature/Redux/reducer.ts
@@ -4,7 +4,7 @@ import { ManagerExperienceState } from './types';
import { FEATURE_ID } from '../constant';
export const INITIAL_STATE: ManagerExperienceState = {
- selectedTeamLabel: '',
+ selectedTeamPreference: '',
selectedTeamIDs: [],
hubScreenName: '',
defaultWidgets: [],
@@ -22,8 +22,8 @@ export const managerExperienceSlice = createSlice({
name: FEATURE_ID,
initialState: INITIAL_STATE,
reducers: {
- updateSelectedTeamLabel: (state, action: PayloadAction<string>) => {
- state.selectedTeamLabel = action.payload;
+ updateSelectedTeamPreference: (state, action: PayloadAction<string>) => {
+ state.selectedTeamPreference = action.payload;
},
updateSelectedTeamIDs: (state, action: PayloadAction<string[]>) => {
state.selectedTeamIDs = action.payload;
--- packages/allspark-foundation-hub/src/HubFeature/Redux/types.ts
@@ -1,5 +1,5 @@
export interface ManagerExperienceState {
- selectedTeamLabel: string;
+ selectedTeamPreference: string;
selectedTeamIDs: string[];
hubScreenName: string;
defaultWidgets: string[];
| Update hubs version | Update hubs version
|
a115f118ac277de00f3aab1166afe03e55fb7349 | --- package.json
@@ -104,7 +104,7 @@
"@walmart/calling-mini-app": "0.8.29",
"@walmart/candidate-authentication-lib": "0.0.12",
"@walmart/celebration-mini-app": "1.36.0",
- "@walmart/checkout-mini-app": "4.19.0",
+ "@walmart/checkout-mini-app": "4.20.44",
"@walmart/clock-status-plugin": "0.13.0",
"@walmart/compass-sdk-rn": "6.4.16",
"@walmart/config-components": "patch:@walmart/config-components@npm%3A4.12.1#~/.yarn/patches/@walmart-config-components-npm-4.12.1-935618cf47.patch",
--- yarn.lock
@@ -5851,9 +5851,9 @@ __metadata:
linkType: hard
"@stomp/stompjs@npm:^7.0.0":
- version: 7.2.0
- resolution: "@stomp/stompjs@npm:7.2.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40stomp%2Fstompjs%2F-%2Fstompjs-7.2.0.tgz"
- checksum: 10c0/7ad2e38ed1c58667be0f00160560de1c368ea217491abe5ca41de29cd65349cb01ac6e0baa5416c923effb4157229364fa697f2ac9cf6dfe8fa458bc3f3108da
+ version: 7.2.1
+ resolution: "@stomp/stompjs@npm:7.2.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40stomp%2Fstompjs%2F-%2Fstompjs-7.2.1.tgz"
+ checksum: 10c0/c204a551e549ede739b47a47ac179d8b836060e1e8c9473a877ffcbd8341688e996c8021e11f308934e3d92e8a43f59d808aecce24dc6acb338691037ade8149
languageName: node
linkType: hard
@@ -7757,49 +7757,56 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.19.0":
- version: 4.19.0
- resolution: "@walmart/checkout-mini-app@npm:4.19.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.19.0.tgz"
+"@walmart/checkout-mini-app@npm:4.20.44":
+ version: 4.20.44
+ resolution: "@walmart/checkout-mini-app@npm:4.20.44::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.20.44.tgz"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
- lodash: "npm:^4.17.21"
text-encoding: "npm:^0.7.0"
zustand: "npm:^4.3.9"
peerDependencies:
- "@react-native-async-storage/async-storage": ">=1"
- "@react-native-community/art": ^1.2.0
+ "@react-native-async-storage/async-storage": 1.23.1
"@react-native-community/cli-platform-ios": ^11.3.6
- "@react-native-community/netinfo": ">=11"
- "@react-native-firebase/analytics": ~21.0.0
- "@react-native-firebase/app": ~21.0.0
- "@react-native-firebase/crashlytics": ~21.0.0
- "@react-native-firebase/database": ~21.0.0
- "@react-native-firebase/firestore": ~21.0.0
- "@react-native-firebase/perf": ~21.0.0
- "@react-navigation/native": ^6.0.0
- "@react-navigation/stack": ">=6"
- "@walmart/allspark-authentication": "*"
+ "@react-native-community/netinfo": 11.4.1
+ "@react-native-firebase/analytics": ~22.4.0
+ "@react-native-firebase/app": ~22.4.0
+ "@react-native-firebase/crashlytics": ~22.4.0
+ "@react-native-firebase/database": ~22.4.0
+ "@react-native-firebase/perf": ~22.4.0
+ "@react-native-firebase/remote-config": ~22.4.0
+ "@react-navigation/native": ^7.1.14
+ "@react-navigation/stack": ">=7.4.2"
+ "@walmart/allspark-authentication": 6.4.10
"@walmart/allspark-foundation": "*"
"@walmart/allspark-utils": "*"
- "@walmart/gtp-shared-components": ">=2"
- "@walmart/me-at-walmart-common": "*"
+ "@walmart/expo-config-plugins": 0.7.0
+ "@walmart/gtp-shared-components": 2.2.7
+ "@walmart/gtp-shared-components-3": "*"
+ "@walmart/me-at-walmart-common": 6.37.0
+ "@walmart/me-at-walmart-container": 6.37.0
+ "@walmart/my-walmart-components": 1.1.0
"@walmart/react-native-barcode-builder": ^1.0.1
- "@walmart/react-native-scanner-3.0": ^0.10.6
- "@walmart/ui-components": ">=1"
- expo-image: ^2.0.7
+ "@walmart/react-native-scanner-3.0": "*"
+ "@walmart/ui-components": ^1.26.3
+ expo-asset: ~11.0.5
+ expo-audio: ~1.0.15
+ expo-haptics: ~15.0.1
graphql-tag: "*"
+ lodash: ^4.17.21
luxon: ">=1.26.0"
- react: ^18.3.0
- react-dom: ^18.3.0
- react-native: 0.76.9
+ react: 19.0.0
+ react-dom: 19.0.0
+ react-native: 0.79.5
react-native-check-app-install: "*"
react-native-device-info: ^8.4.9
- react-native-flipper: ^0.191.0
- react-native-safe-area-context: "*"
+ react-native-gesture-handler: ~2.26.0
+ react-native-safe-area-context: 5.6.1
+ react-native-svg: ^15.8.0
+ react-native-svg-transformer: ^1.5.1
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/4aeaaec915c96cc84d28f7236520a9757ea882c5f60aa7c9bb0057ad10de6f373d592ae8c7046188598d5f491bd39f6b57478e427cc6df6d948fc519df13e1c1
+ checksum: 10c0/8086663af133721ac7f77c7e20bdd5f0b6d6df1fa4168a6a6affe51c4a033a378b5575d72629bea61f216022c0e57b7e92a54ff8fea9e31a7214761e1cf40f98
languageName: node
linkType: hard
@@ -8502,7 +8509,7 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.8.29"
"@walmart/candidate-authentication-lib": "npm:0.0.12"
"@walmart/celebration-mini-app": "npm:1.36.0"
- "@walmart/checkout-mini-app": "npm:4.19.0"
+ "@walmart/checkout-mini-app": "npm:4.20.44"
"@walmart/clock-status-plugin": "npm:0.13.0"
"@walmart/compass-sdk-rn": "npm:6.4.16"
"@walmart/config-components": "patch:@walmart/config-components@npm%3A4.12.1#~/.yarn/patches/@walmart-config-components-npm-4.12.1-935618cf47.patch"
| feat: checkout drop35 (#5112) | feat: checkout drop35 (#5112)
Co-authored-by: damusta <damusta@homeoffice.wal-mart.com>
Co-authored-by: Makarand Gujarathi <makarand.gujarathi@walmart.com>
Co-authored-by: l0g0i2p <lakshmi.vasanthi.godi@walmart.com>
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com>
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
8733ffb920315fcbaac080755079d1c5949db83d | --- __tests__/harness/mockData/associate.ts
@@ -1,4 +1,4 @@
-import {AbsentData, MewAssociate} from '../../../src/queries/schema.types';
+import {AbsentData} from '../../../src/queries/schema.types';
import {Associate} from '../../../src/types';
import Chance from 'chance';
const chance = new Chance();
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 18,
- branches: 7,
- functions: 11.94,
- lines: 18,
+ statements: 19.75,
+ branches: 11.11,
+ functions: 13.06,
+ lines: 20,
},
},
transformIgnorePatterns: [
--- __tests__/harness/mockData/associate.ts
@@ -1,4 +1,4 @@
-import {AbsentData, MewAssociate} from '../../../src/queries/schema.types';
+import {AbsentData} from '../../../src/queries/schema.types';
import {Associate} from '../../../src/types';
import Chance from 'chance';
const chance = new Chance();
--- jest.config.js
@@ -9,10 +9,10 @@ module.exports = {
],
coverageThreshold: {
global: {
- statements: 18,
- branches: 7,
- functions: 11.94,
- lines: 18,
+ statements: 19.75,
+ branches: 11.11,
+ functions: 13.06,
+ lines: 20,
},
},
transformIgnorePatterns: [
| fix formatting | fix formatting
|
32b9b47c5f7f73a7bdbfefd30222a55c7ae23b07 | --- graphql.yml
@@ -24,10 +24,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
@@ -52,10 +53,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
@@ -80,10 +82,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
--- graphql.yml
@@ -24,10 +24,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
@@ -52,10 +53,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
@@ -80,10 +82,11 @@ applications:
- 'v3'
- 'Drop14'
- name: 'GetTeamById'
- hash: 'ca8e5acc29eeba742a4e7bc7ec976770e607b6e25ce48b6dc4eb88e372748eb5'
+ hash: '8a0ff1bceff296ade72cd86c88273c0924510d42ff6bd3487819814045781f31'
queryTemplate: 'src/queries/getTeamById.graphql'
tags:
- - 'v1'
+ - 'v2'
+ - 'Drop16'
- name: 'GetTeamsByStore'
hash: '873fc65ca1ee7ff9f729ef6efc5c674ab9a9037b1838693e0fcbe9a00031a513'
queryTemplate: 'src/queries/getTeamsbyStore.graphql'
| Adding hash, version and drop values | Adding hash, version and drop values
|
0a33bf9e87453afae855619869e1ca34bffb0d9c | --- package.json
@@ -89,8 +89,8 @@
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/allspark-utils": "7.3.0",
"@walmart/amp-mini-app": "1.2.10",
- "@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.35.20",
+ "@walmart/ask-sam-chat-components": "0.2.27",
+ "@walmart/ask-sam-mini-app": "1.35.21",
"@walmart/associate-exp-hub-hub": "2.17.0",
"@walmart/associate-exp-hub-team-switcher": "2.19.0",
"@walmart/associate-listening-mini-app": "1.2.59",
--- yarn.lock
@@ -7361,25 +7361,25 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ask-sam-chat-components@npm:^0.2.7":
- version: 0.2.23
- resolution: "@walmart/ask-sam-chat-components@npm:0.2.23::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-chat-components%2F-%2Fask-sam-chat-components-0.2.23.tgz"
+"@walmart/ask-sam-chat-components@npm:0.2.27":
+ version: 0.2.27
+ resolution: "@walmart/ask-sam-chat-components@npm:0.2.27::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-chat-components%2F-%2F%40walmart%2Fask-sam-chat-components-0.2.27.tgz"
dependencies:
jest-sonar-reporter: "npm:^2.0.0"
linkify-it: "npm:^3.0.2"
react-native-hyperlink: "npm:0.0.22"
react-native-typing-animation: "npm:^0.1.7"
peerDependencies:
- "@walmart/gtp-shared-components": ">=2.0.0-rc.1"
+ "@walmart/gtp-shared-components-3": "*"
react: ">=18.2.0"
react-native: ">=0.70.5"
- checksum: 10c0/d0a996e8bfcad16becc7fc8f699f6980f68c53dd1b0c110e2eac46c82caa79f36a5175309bb294861479c780e09cc0dc4e249367f8b8983c01485f2c811798c6
+ checksum: 10c0/7d95d8180d381c1441d5b937cfd8e86322f5b55503339d0288914ab08558dc05d17f2b1454793ccadac89c8257cf73b62c4d26494a1d8647a64fa658f4172a93
languageName: node
linkType: hard
-"@walmart/ask-sam-mini-app@npm:1.35.20":
- version: 1.35.20
- resolution: "@walmart/ask-sam-mini-app@npm:1.35.20::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.35.20.tgz"
+"@walmart/ask-sam-mini-app@npm:1.35.21":
+ version: 1.35.21
+ resolution: "@walmart/ask-sam-mini-app@npm:1.35.21::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.35.21.tgz"
dependencies:
apisauce: "npm:^1.1.2"
numeral: "npm:^2.0.6"
@@ -7421,7 +7421,7 @@ __metadata:
react-native-wm-voice-text: ">=0.3"
reselect: ">=4"
victory-native: ">=36.5"
- checksum: 10c0/80444d44d30647f8a92a639c6e2cf9b25f322f1179a9279b45da5ca7ceb985812520d70744f3cef4cb1228774b5fc5c748e9518cde43698e8f437fb00d1c0140
+ checksum: 10c0/37b54249301c2c59377e9440f2a70791396cd4de248d6ef7d07286202134ab7d161026923d1e4bea70d04b220d7c4504cb131e9d4bd89b17709478523ada72f0
languageName: node
linkType: hard
@@ -8487,8 +8487,8 @@ __metadata:
"@walmart/allspark-neon-core": "npm:0.1.31"
"@walmart/allspark-utils": "npm:7.3.0"
"@walmart/amp-mini-app": "npm:1.2.10"
- "@walmart/ask-sam-chat-components": "npm:^0.2.7"
- "@walmart/ask-sam-mini-app": "npm:1.35.20"
+ "@walmart/ask-sam-chat-components": "npm:0.2.27"
+ "@walmart/ask-sam-mini-app": "npm:1.35.21"
"@walmart/associate-exp-hub-hub": "npm:2.17.0"
"@walmart/associate-exp-hub-team-switcher": "npm:2.19.0"
"@walmart/associate-listening-mini-app": "npm:1.2.59"
| chore: LD on ask-sam-chat components repo and Bug Fixes on Ask Sam (#5180) | chore: LD on ask-sam-chat components repo and Bug Fixes on Ask Sam (#5180)
Co-authored-by: Sowmya Munaganuri <Sowmya.Munaganuri+walmart@walmart.com>
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com>
Co-authored-by: Jingyi Zhao - j0z09av <Jingyi.Zhao0@walmart.com> |
afc677775743ae8b1fbd4eba59f43b73a5a127db | --- .looper.multibranch.yml
@@ -544,7 +544,7 @@ flows:
# @param BUILD_NUMBER - the build number / version code of the build
slack-success:
- exposeVars(./fastlane/fastlane-session.json)
- - echo "DOWNLOAD_LINK ${fastlane-session.download_link}"
+ - echo "INSTALL_LINK ${fastlane-session.release_url}"
- var(MESSAGE_TITLE):
echo "${slackIcon} ${osIcon} ${releaseType} ${version}"
- slack.postMessage:
@@ -564,7 +564,7 @@ flows:
- type: section
fields:
- type: mrkdwn
- text: "*Download:* <${fastlane-session.download_link}|Link :calling:>"
+ text: "*Download:* <${fastlane-session.release_url}|Link :calling:>"
- type: section
fields:
- type: mrkdwn
@@ -587,6 +587,8 @@ flows:
text: "*Looper job* ${env} #:<${BUILD_URL}|${BUILD_NUMBER}>"
- type: mrkdwn
text: "*Github Repo:* <${GITHUB_BRANCH_URL}|URL>"
+ - type: mrkdwn
+ text: "*Download binary:* <${fastlane-session.download_link}|Link :build:>"
- type: divider
# send failure message to slack
@@ -638,7 +640,7 @@ flows:
msteams-success:
- exposeVars(./fastlane/fastlane-session.json)
- - echo "DOWNLOAD_LINK ${fastlane-session.download_link}"
+ - echo "INSTALL_LINK ${fastlane-session.release_url}"
- |
#!/bin/sh -x
@@ -663,7 +665,8 @@ flows:
--jobBranch "${TRIGGER_BRANCH}" \
--jobNbr "${BUILD_NUMBER}" \
--jobUrl "${JOB_URL}" \
- --downloadUrl "${fastlane-session.download_link}" \
+ --downloadUrl "${fastlane-session.release_url}" \
+ --downloadPassword "${fastlane-session.build_information}"
msteams-failure:
- |
--- fastlane/Fastfile
@@ -70,7 +70,9 @@ lane :submit_to_appcenter_iOS do |options|
upload_build_only: true)
end
session[:download_link] = Actions.lane_context[SharedValues::APPCENTER_DOWNLOAD_LINK]
- session[:build_information] = Actions.lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]
+ release_number = Actions.lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]["id"]
+ release_url = "https://install.appcenter.ms/orgs/#{ENV['APPCENTER_OWNER_NAME']}/apps/#{ENV['APPCENTER_APP_NAME']}/distribution_groups/#{ENV["APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT"]}/releases/#{release_number}"
+ session[:release_url] = release_url
save_session
end
@@ -84,7 +86,9 @@ lane :submit_to_appcenter_android do |options|
upload_build_only: true)
end
session[:download_link] = Actions.lane_context[SharedValues::APPCENTER_DOWNLOAD_LINK]
- session[:build_information] = Actions.lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]
+ release_number = Actions.lane_context[SharedValues::APPCENTER_BUILD_INFORMATION]["id"]
+ release_url = "https://install.appcenter.ms/orgs/#{ENV['APPCENTER_OWNER_NAME']}/apps/#{ENV['APPCENTER_APP_NAME']}/distribution_groups/#{ENV["APPCENTER_DISTRIBUTION_GROUP_URL_SEGMENT"]}/releases/#{release_number}"
+ session[:release_url] = release_url
save_session
end
| added release_url | added release_url
|
423a31c83d0b2b448d5ea6a247b1e5e2c814ab1f | --- packages/allspark-foundation/src/Navigation/config/selectors.ts
@@ -1,7 +1,7 @@
import { createSelector } from '@reduxjs/toolkit';
import { generateSelectorsForSlice } from '../../Redux/utils';
import { navConfigSlice } from './redux';
-import { NavType } from './types';
+import { AnyNavOption, NavType, SideMenuOption } from './types';
const GeneratedSelectors = generateSelectorsForSlice(navConfigSlice);
@@ -35,6 +35,31 @@ const getSideNavConfig = createSelector(
const createSideNavConfigSelector = (id: string) =>
createSelector([getSideNavConfig], (data) => data?.find((d) => d.id === id));
+const createConfigSelector = (id: string) =>
+ createSelector([GeneratedSelectors.getData], (data) => {
+ if (!data) {
+ return null;
+ }
+
+ let match: AnyNavOption | null = null;
+
+ Object.values(data).forEach((options) => {
+ options.forEach((option) => {
+ if (option.id === id) {
+ match = option;
+ } else if ('subMenus' in option) {
+ (option as SideMenuOption).subMenus.forEach((subMenu) => {
+ if ('id' in subMenu && subMenu.id === id) {
+ match = subMenu;
+ }
+ });
+ }
+ });
+ });
+
+ return match;
+ });
+
/**
* A collection of selectors for retrieving navigation config related data from the Redux store.
*
@@ -70,4 +95,11 @@ export const NavConfigSelectors = {
* Create a selector for a side navigation config with a specific id
*/
createSideNavConfigSelector,
+
+ /**
+ * Create a selector for any navigation config with a specific id
+ * Will traverse all nav config types, including submenus in side menus returning
+ * the first match. Will return null if no match is found
+ */
+ createConfigSelector,
};
--- packages/allspark-foundation/src/Navigation/config/types.ts
@@ -52,6 +52,12 @@ export type SideMenuOption = BaseOptionConfig & {
export type SideNavOption = SideMenuOption | MainMenuOption;
+export type AnyNavOption =
+ | SideMenuOption
+ | BottomNavOption
+ | QuickActionOption
+ | SubMenuOption;
+
export type NavConfigData = {
[NavType.bottomNav]: BottomNavOption[];
[NavType.quickAction]: QuickActionOption[];
| feat: add generic nav config selector by id | feat: add generic nav config selector by id
|
ede3b688bd45841da90b859a0a5618e91247dd90 | --- src/components/AssociateRosterItem/index.tsx
@@ -12,7 +12,7 @@ import {
import {ListRenderItem} from '@shopify/flash-list';
import {goToIndividualSchedule} from '../../navigation/utils';
import {useSelector} from 'react-redux';
-import {SiteSelectors} from '@walmart/redux-store';
+import {SiteSelectors, UserSelectors} from '@walmart/redux-store';
import {PresenceIndicator} from '../../presence/components/PresenceIndicator';
import {associateDisplayName, encryptUserId} from '../../utils';
@@ -32,6 +32,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const siteId: string | undefined = useSelector(
SiteSelectors.getUserWorkingSite,
);
+ const currentUser = useSelector(UserSelectors.getUser) as Associate;
if (!associate) {
return null;
@@ -43,6 +44,8 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const name = associateDisplayName(associate);
const onText = () => startAssociateText([associate.associateId!]);
+ const shouldShowMessageButton =
+ associate?.win?.toString() !== currentUser?.win?.toString();
return (
<Card
@@ -66,7 +69,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
encryptedId={encryptedId}
style={styles.tag}
/>
- {onText && (
+ {shouldShowMessageButton && (
<Button variant='secondary' onPress={onText} size='small'>
<Text>
{t('rosterScreen.associateRosterItem.messageBtn')}
--- src/components/AssociateRosterItem/index.tsx
@@ -12,7 +12,7 @@ import {
import {ListRenderItem} from '@shopify/flash-list';
import {goToIndividualSchedule} from '../../navigation/utils';
import {useSelector} from 'react-redux';
-import {SiteSelectors} from '@walmart/redux-store';
+import {SiteSelectors, UserSelectors} from '@walmart/redux-store';
import {PresenceIndicator} from '../../presence/components/PresenceIndicator';
import {associateDisplayName, encryptUserId} from '../../utils';
@@ -32,6 +32,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const siteId: string | undefined = useSelector(
SiteSelectors.getUserWorkingSite,
);
+ const currentUser = useSelector(UserSelectors.getUser) as Associate;
if (!associate) {
return null;
@@ -43,6 +44,8 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
const name = associateDisplayName(associate);
const onText = () => startAssociateText([associate.associateId!]);
+ const shouldShowMessageButton =
+ associate?.win?.toString() !== currentUser?.win?.toString();
return (
<Card
@@ -66,7 +69,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => {
encryptedId={encryptedId}
style={styles.tag}
/>
- {onText && (
+ {shouldShowMessageButton && (
<Button variant='secondary' onPress={onText} size='small'>
<Text>
{t('rosterScreen.associateRosterItem.messageBtn')}
| fix to ensure message button does not show on roster item of current login user | fix to ensure message button does not show on roster item of current login user
|
63b7d37739b360f73deb1af1ff6bf4276bb6974b | --- package.json
@@ -107,7 +107,7 @@
"@walmart/financial-wellbeing-feature-app": "1.23.3",
"@walmart/functional-components": "6.1.4",
"@walmart/gta-react-native-calendars": "0.7.0",
- "@walmart/gtp-shared-components": "2.2.3-rc.1",
+ "@walmart/gtp-shared-components": "2.2.3",
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.11.3",
"@walmart/inbox-mini-app": "0.94.6",
--- yarn.lock
@@ -6190,9 +6190,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/gtp-shared-components@npm:2.2.3-rc.1":
- version: 2.2.3-rc.1
- resolution: "@walmart/gtp-shared-components@npm:2.2.3-rc.1"
+"@walmart/gtp-shared-components@npm:2.2.3":
+ version: 2.2.3
+ resolution: "@walmart/gtp-shared-components@npm:2.2.3"
dependencies:
"@livingdesign/tokens": "npm:0.74.0"
"@walmart/gtp-shared-icons": "npm:1.0.10"
@@ -6210,7 +6210,7 @@ __metadata:
bin:
installFonts: scripts/installFonts
runCodemods: scripts/runCodemods
- checksum: 10c0/28b2522a151cb145b37143f4bfc91520d162f6e62fcc5e52abfe2aa813230147aea54129488b8873609361d0f7a675fb1efd7c9bd4f1edfff0108db51924b117
+ checksum: 10c0/3064a4bf5d71a62dc86aea9d8cbe232171d5ac1d21ba6840b4598a49d3f4ef855aa4d0ac9750d0529ece7dccb65fde200cac30be99d1d7bfa49198257f0eecf2
languageName: node
linkType: hard
@@ -7806,7 +7806,7 @@ __metadata:
"@walmart/financial-wellbeing-feature-app": "npm:1.23.3"
"@walmart/functional-components": "npm:6.1.4"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
- "@walmart/gtp-shared-components": "npm:2.2.3-rc.1"
+ "@walmart/gtp-shared-components": "npm:2.2.3"
"@walmart/impersonation-mini-app": "npm:1.20.8"
"@walmart/ims-print-services-ui": "npm:2.11.3"
"@walmart/inbox-mini-app": "npm:0.94.6"
| chore: updated gtp version | chore: updated gtp version
|
7a0acdcd50370ddb114c850d543d785c94744272 | --- package-lock.json
@@ -4182,9 +4182,9 @@
"integrity": "sha512-4fNpEcmRJ99nwJAxvD9T+FqHRbehH/yEW7/YKLpvmdr0IzO0f1ZPZPMSt9Kl0+qQx1j5XMtY30/RQLoMoG0laQ=="
},
"@walmart/exception-mini-app": {
- "version": "0.37.2",
- "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.37.2.tgz",
- "integrity": "sha512-vfLq1mlxxPjWR79Xht4isJFMzndy/wOyAqyYIWpOMZ89sqrLEw1ha5GKzMHfxnuff4mmK4vc0PcfNyEKHPC9uQ=="
+ "version": "0.38.1",
+ "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.38.1.tgz",
+ "integrity": "sha512-ppHmGeLmROMI8bji9txjodeqetklJIUIVf7eioPug8ZtS0YJrWBdnty8kbVZp+fQm+nLsDG0aqUOPDgZzzDd9A=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.1.5",
--- package.json
@@ -76,7 +76,7 @@
"@walmart/ask-sam-mini-app": "^0.30.31",
"@walmart/config-components": "^1.0.34",
"@walmart/counts-component-miniapp": "0.0.22",
- "@walmart/exception-mini-app": "0.37.2",
+ "@walmart/exception-mini-app": "0.38.1",
"@walmart/feedback-all-spark-miniapp": "0.1.5",
"@walmart/functional-components": "1.0.34",
"@walmart/gta-react-native-calendars": "0.0.15",
| PINPOINT: spanish-translations, useEffect bug | PINPOINT: spanish-translations, useEffect bug
|
e85eae29ca8b8d03b03f494ebcd2e608ed896900 | --- packages/me-at-walmart-container/__tests__/http/interceptors/addCorrelationId.test.ts
@@ -0,0 +1,24 @@
+import { AddCorrelationInterceptor } from '../../../src/http/interceptors/addCorrelationId'
+import { HttpLogger } from '../../../src/http/logger'
+
+jest.mock('../../../src/http/logger', () => ({
+ HttpLogger: {
+ warn: jest.fn(),
+ }
+}));
+
+
+describe('HTTP/interceptors/addCorrelationId', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('AddCorrelationInterceptor', () => {
+ test('should return default interceptor response', async () => {
+ const interceptor = await AddCorrelationInterceptor;
+ expect(interceptor.request?.options?.synchronous).toEqual(true);
+ expect(typeof interceptor.request?.fulfilled).toBe('function');
+ expect(HttpLogger.warn).not.toHaveBeenCalled();
+ })
+ })
+});
\ No newline at end of file
--- packages/me-at-walmart-container/__tests__/http/interceptors/addImpersonation.test.ts
@@ -0,0 +1,23 @@
+import { ImpersonationInterceptor } from '../../../src/http/interceptors/addImpersonation'
+import { HttpLogger } from '../../../src/http/logger'
+
+jest.mock('../../../src/http/logger', () => ({
+ HttpLogger: {
+ warn: jest.fn(),
+ }
+}));
+
+describe('HTTP/interceptors/addImpersonation', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('AddImpersonation', () => {
+ test('should return default interceptor response', async () => {
+ const interceptor = await ImpersonationInterceptor;
+ expect(interceptor.request?.options?.synchronous).toEqual(true);
+ expect(typeof interceptor.request?.fulfilled).toBe('function');
+ expect(HttpLogger.warn).not.toHaveBeenCalled();
+ })
+ })
+})
\ No newline at end of file
--- packages/me-at-walmart-container/__tests__/http/interceptors/addToken.test.ts
@@ -0,0 +1,23 @@
+import { AddTokenInterceptor } from '../../../src/http/interceptors/addToken'
+import { HttpLogger } from '../../../src/http/logger'
+
+jest.mock('../../../src/http/logger', () => ({
+ HttpLogger: {
+ warn: jest.fn(),
+ }
+}));
+
+
+describe('HTTP/interceptors/addToken', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('AddTokenInterceptor', () => {
+ test('should return default interceptor response', async () => {
+ const interceptor = await AddTokenInterceptor;
+ expect(typeof interceptor.request?.fulfilled).toBe('function');
+ expect(HttpLogger.warn).not.toHaveBeenCalled();
+ })
+ })
+})
\ No newline at end of file
--- packages/me-at-walmart-container/__tests__/http/interceptors/errorLogger.test.ts
@@ -0,0 +1,25 @@
+import { ErrorLoggerInterceptor } from '../../../src/http/interceptors/errorLogger'
+import { HttpLogger } from '../../../src/http/logger'
+
+jest.mock('../../../src/http/logger', () => ({
+ HttpLogger: {
+ warn: jest.fn(),
+ }
+}));
+
+
+describe('HTTP/interceptors/errorLogger', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('ErrorLoggerInterceptor', () => {
+ test('should return default interceptor response', async () => {
+ const interceptor = await ErrorLoggerInterceptor;
+ console.log(interceptor)
+ expect(interceptor.response?.options?.synchronous).toEqual(true);
+ expect(typeof interceptor.request?.fulfilled).toBe('function');
+ expect(HttpLogger.warn).not.toHaveBeenCalled();
+ })
+ })
+});
\ No newline at end of file
--- packages/me-at-walmart-container/__tests__/http/interceptors/headerSize.test.ts
@@ -0,0 +1,36 @@
+import { findLargestHeader, getHeaderSizeBreakdown, getValueBytes } from '../../../src/http/interceptors/headerSize'
+import { HttpLogger } from '../../../src/http/logger'
+
+jest.mock('../../../src/http/logger', () => ({
+ HttpLogger: {
+ warn: jest.fn(),
+ }
+}));
+
+
+describe('HTTP/interceptors/headerSize', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ describe('getValueBytes', () => {
+ test('should return correct byte value', () => {
+ const byteValue = getValueBytes('1234567');
+ expect(byteValue).toEqual(7);
+ })
+ });
+
+ describe('getHeaderSizeBreakdown', () => {
+ test('should return header size breakdown', () => {
+ const breakdown = getHeaderSizeBreakdown(['test_header']);
+ expect(breakdown).toEqual({"0": 12, total: 512});
+ })
+ });
+
+ describe('findLargestHeader', () => {
+ test('should show the largest header', () => {
+ const largest = findLargestHeader({"0": 12, total: 512}, ['1', '2']);
+ expect(largest).toEqual("0")
+ })
+ })
+})
\ No newline at end of file
| chore: container package test coverage | chore: container package test coverage
|
544ac476d8d65e783790a025f34bf54613eb43ed | --- packages/allspark-foundation/__tests__/Clock/ClockManager.test.ts
@@ -393,4 +393,31 @@ describe('ClockManager', () => {
expect(mockListener).toHaveBeenCalledWith(mockData);
});
});
+
+ describe('stopListening', () => {
+ beforeEach(() => {
+ mockService.stopListening = jest.fn();
+ manager = new ClockManager({
+ dispatch: mockDispatch,
+ service: mockService,
+ });
+ });
+
+ it('should call stopListening on the service', () => {
+ manager.stopListening();
+
+ expect(mockService.stopListening).toHaveBeenCalledWith();
+ expect(mockService.stopListening).toHaveBeenCalledTimes(1);
+ });
+
+ it('should not throw if called multiple times', () => {
+ expect(() => {
+ manager.stopListening();
+ manager.stopListening();
+ manager.stopListening();
+ }).not.toThrow();
+
+ expect(mockService.stopListening).toHaveBeenCalledTimes(3);
+ });
+ });
});
--- packages/allspark-foundation/__tests__/Clock/ClockServiceFacade.test.ts
@@ -19,6 +19,7 @@ describe('ClockServiceFacade', () => {
initialize: jest.fn(),
fetch: jest.fn(),
addChangeListener: jest.fn(),
+ stopListening: jest.fn(),
};
mockConsoleWarn.mockClear();
});
@@ -361,4 +362,67 @@ describe('ClockServiceFacade', () => {
expect(mockService.addChangeListener).toHaveBeenCalledWith(listenerAfter);
});
});
+
+ describe('stopListening - without service bound', () => {
+ it('should throw an error with helpful message when no service is bound', () => {
+ // Arrange & Act & Assert
+ expect(() => facade.stopListening()).toThrow(
+ 'ClockServiceFacade.stopListening: No clock service implementation bound. ' +
+ 'Please ensure the container is properly initialized with a clock service.'
+ );
+ });
+
+ it('should show fallback warning before throwing', () => {
+ // Arrange & Act
+ try {
+ facade.stopListening();
+ } catch { }
+
+ // Assert
+ expect(mockConsoleWarn).toHaveBeenCalledWith(
+ 'ClockServiceFacade.stopListening: No service bound yet, using fallback behavior. ' +
+ 'This may indicate that the container has not been properly initialized.'
+ );
+ });
+
+ it('should show fallback warning only once when called multiple times', () => {
+ // Arrange & Act
+ try {
+ facade.stopListening();
+ } catch { }
+ try {
+ facade.stopListening();
+ } catch { }
+
+ // Assert
+ expect(mockConsoleWarn).toHaveBeenCalledTimes(1);
+ });
+ });
+
+ describe('stopListening - with service bound', () => {
+ beforeEach(() => {
+ facade.setService(mockService);
+ });
+
+ it('should delegate to the real service when bound', () => {
+ // Arrange & Act
+ facade.stopListening();
+
+ // Assert
+ expect(mockService.stopListening).toHaveBeenCalledTimes(1);
+ });
+
+ it('should not throw when service is bound', () => {
+ // Arrange & Act & Assert
+ expect(() => facade.stopListening()).not.toThrow();
+ });
+
+ it('should not show fallback warning when service is bound', () => {
+ // Arrange & Act
+ facade.stopListening();
+
+ // Assert
+ expect(mockConsoleWarn).not.toHaveBeenCalled();
+ });
+ });
});
--- packages/allspark-foundation/src/Clock/ClockManager.ts
@@ -147,6 +147,16 @@ export class ClockManager implements IClockManager {
});
};
+ /**
+ * Stops all listeners and polling attached to the clock service.
+ *
+ * @example
+ * clockManager.stopListening();
+ */
+ public stopListening = (): void => {
+ this._service.stopListening();
+ };
+
/**
* Process clock data to ensure consistent structure and defaults before sending to redux
* @param data The clock data to process
@@ -164,4 +174,4 @@ export class ClockManager implements IClockManager {
}
return data;
};
-}
+}
\ No newline at end of file
--- packages/allspark-foundation/src/Clock/ClockServiceFacade.ts
@@ -110,4 +110,21 @@ export class ClockServiceFacade
this._showFallbackWarning('addChangeListener');
return this._listenerQueue.enqueue(listener);
};
+
+ /**
+ * Stops all listeners and polling attached to the clock service.
+ * @throws Error if no real service is bound
+ */
+ public stopListening = (): void => {
+ if (this._service) {
+ this._service.stopListening();
+ return;
+ }
+
+ this._showFallbackWarning('stopListening');
+ throw new Error(
+ 'ClockServiceFacade.stopListening: No clock service implementation bound. ' +
+ 'Please ensure the container is properly initialized with a clock service.'
+ );
+ };
}
--- packages/allspark-foundation/src/Clock/types.ts
@@ -69,6 +69,11 @@ export interface IClockService {
addChangeListener: (listener: (data: ClockData) => void) => {
remove: () => void;
};
+
+ /**
+ * Stops all listeners and polling attached to the clock service.
+ */
+ stopListening: () => void;
}
/**
@@ -97,4 +102,9 @@ export interface IClockManager {
addChangeListener(listener: (data: ClockData) => void): {
remove: () => void;
};
+
+ /**
+ * Stops all listeners and polling attached to the clock service.
+ */
+ stopListening(): void;
}
| fix(interface): updated clock service interface with stop listening method | fix(interface): updated clock service interface with stop listening method
|
69ee669d7b20ae537023cae7d1ac911b732438b6 | --- package-lock.json
@@ -45,7 +45,7 @@
"@walmart/allspark-utils": "6.0.16",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.21.2",
+ "@walmart/ask-sam-mini-app": "1.21.3",
"@walmart/attendance-mini-app": "3.24.0",
"@walmart/avp-feature-app": "0.2.10",
"@walmart/avp-shared-library": "0.2.12",
@@ -10876,9 +10876,9 @@
}
},
"node_modules/@walmart/ask-sam-mini-app": {
- "version": "1.21.2",
- "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.21.2.tgz",
- "integrity": "sha512-I8L9NrHg6l7RwlQ4Ms7eB5tUNpYCt2DhDnw7ns3Lvo2sXydBCdnystKksHyhcT0ybXjjhsgC/Kybd3UDoTciLQ==",
+ "version": "1.21.3",
+ "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.21.3.tgz",
+ "integrity": "sha512-X4VoYK+wu2vGZQPrEOCt96V6eAMEDXxNHM6l+n7mRlk1q8Vlwi5cLJbng+kVgRpMJudySa/r6tDdE328IxzlJQ==",
"license": "NONE",
"dependencies": {
"apisauce": "^1.1.2",
--- package.json
@@ -86,7 +86,7 @@
"@walmart/allspark-utils": "6.0.16",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.21.2",
+ "@walmart/ask-sam-mini-app": "1.21.3",
"@walmart/attendance-mini-app": "3.24.0",
"@walmart/avp-feature-app": "0.2.10",
"@walmart/avp-shared-library": "0.2.12",
@@ -352,7 +352,7 @@
"@walmart/allspark-utils": "6.0.16",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.21.2",
+ "@walmart/ask-sam-mini-app": "1.21.3",
"@walmart/attendance-mini-app": "3.24.0",
"@walmart/avp-feature-app": "0.2.10",
"@walmart/avp-shared-library": "0.2.12",
| ask sam version bump - backward compatibility | ask sam version bump - backward compatibility
|
d80b731f1bfcace34c22728ba4ef4578eeabbe9a | --- package-lock.json
@@ -71,7 +71,7 @@
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.10.3",
"@walmart/inbox-mini-app": "0.92.10",
- "@walmart/iteminfo-mini-app": "7.10.8",
+ "@walmart/iteminfo-mini-app": "7.10.10",
"@walmart/learning-mini-app": "20.0.3",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.0.13",
@@ -11684,9 +11684,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "7.10.8",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.10.8.tgz",
- "integrity": "sha512-TcqVZi076SC+mpWhc+5+7YHU8h9MrwdONJ6U+3AeISPBDZobbpD9dmpkfJC6IJ3bq9+UOUpPcY5XKgNLaAhiCg==",
+ "version": "7.10.10",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.10.10.tgz",
+ "integrity": "sha512-heiGH8alc7isHAXKnxQlWvIwHr6IzHONQTl0o4m32Yh3n/rHrR43Zy6iONHlNX1YgpN1ZH2qgkTW+Z13P59RNg==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/drawer": ">=6.3.0",
@@ -11718,6 +11718,7 @@
"react-native-permissions": ">=3.6.1",
"react-native-qrcode-svg": ">=6.1.2",
"react-native-safe-area-context": ">=4.7.2",
+ "react-native-segmented-control-tab": ">=3.4.1",
"react-native-sound-player": ">=0.13.2",
"react-native-svg": ">=13.4.0",
"react-native-wm-telemetry": ">=0.4.0",
--- package.json
@@ -112,7 +112,7 @@
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.10.3",
"@walmart/inbox-mini-app": "0.92.10",
- "@walmart/iteminfo-mini-app": "7.10.8",
+ "@walmart/iteminfo-mini-app": "7.10.10",
"@walmart/learning-mini-app": "20.0.3",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.0.13",
@@ -377,7 +377,7 @@
"@walmart/impersonation-mini-app": "1.20.8",
"@walmart/ims-print-services-ui": "2.10.3",
"@walmart/inbox-mini-app": "0.92.10",
- "@walmart/iteminfo-mini-app": "7.10.8",
+ "@walmart/iteminfo-mini-app": "7.10.10",
"@walmart/learning-mini-app": "20.0.3",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-at-walmart-athena-queries": "6.0.13",
| bump iteminfo version 7.10.10 | bump iteminfo version 7.10.10
|
adb33522441aaddd83fc77e479efac774e014640 | --- packages/allspark-foundation-hub/src/SupplyChain/Components/TeamShiftSwitcher/TeamShiftSwitcher.tsx
@@ -201,7 +201,7 @@ export const TeamShiftSwitcher = ({
setFormattedShiftText(shiftText);
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [refreshing]);
+ }, [refreshing, currentSelectedTeamIds, currentSelectedShifts]);
// Handle team/shift switcher press
const onTeamAndShiftChange = () => {
| fix(ui): manager experience bug fix (#204) | fix(ui): manager experience bug fix (#204)
|
d620a9fef768b9e6b2cae0f0c023eaddddb35bb2 | --- package-lock.json
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.54.0",
+ "@walmart/copilot-mini-app": "^1.55.2",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
@@ -4935,9 +4935,9 @@
}
},
"node_modules/@walmart/copilot-mini-app": {
- "version": "1.54.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.54.0.tgz",
- "integrity": "sha512-4gn26PP6nWq7xx4RBrvRZgLAgsrrsWO3baoCqk37kEpLymcVzsECR8wMIOLW3C5GRPGYaCWvz6V6eHNW3lvIIA==",
+ "version": "1.55.2",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.55.2.tgz",
+ "integrity": "sha512-M0N69VNkT9V9tkLDclF//nUioEVxZ8dgo+giHdYwh1s3Z7CbzQCVtjuRSAf4csQp0+AKOY4fofvGaqr2S6FOQQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25130,9 +25130,9 @@
}
},
"@walmart/copilot-mini-app": {
- "version": "1.54.0",
- "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.54.0.tgz",
- "integrity": "sha512-4gn26PP6nWq7xx4RBrvRZgLAgsrrsWO3baoCqk37kEpLymcVzsECR8wMIOLW3C5GRPGYaCWvz6V6eHNW3lvIIA=="
+ "version": "1.55.2",
+ "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.55.2.tgz",
+ "integrity": "sha512-M0N69VNkT9V9tkLDclF//nUioEVxZ8dgo+giHdYwh1s3Z7CbzQCVtjuRSAf4csQp0+AKOY4fofvGaqr2S6FOQQ=="
},
"@walmart/core-services": {
"version": "2.0.19",
--- package.json
@@ -81,7 +81,7 @@
"@walmart/attendance-mini-app": "0.190.2",
"@walmart/compass-sdk-rn": "4.0.0",
"@walmart/config-components": "4.1.0-rc.4",
- "@walmart/copilot-mini-app": "^1.54.0",
+ "@walmart/copilot-mini-app": "^1.55.2",
"@walmart/core-services": "~2.0.19",
"@walmart/core-services-allspark": "~2.11.0",
"@walmart/core-utils": "~2.0.5",
| chore: bump copilot | chore: bump copilot
|
f09c3c640df296bd11895973cc7f78085fb0a433 | --- package.json
@@ -19,6 +19,7 @@
"env:prod": "yarn workspaces foreach --all -p run env:prod",
"env:teflon": "yarn workspaces foreach --all -p run env:teflon",
"fixDependencies": "sh targets/US/scripts/fixDependencies.sh",
+ "jetifier": "yarn workspaces foreach --all -p run jetifier",
"increment:buildNumber": "yarn workspaces foreach --all -p run increment:buildNumber",
"lint": "eslint ./targets/**/src ./packages/**/src ./core/src --ext .js,.jsx,.ts,.tsx --max-warnings 3",
"lint:fix": "eslint ./targets/**/src ./packages/**/src ./core/src --ext .js,.jsx,.ts,.tsx --fix",
| chore: add missing jetifier script | chore: add missing jetifier script
|
6988f29869084a0bf00940557eba84bab6a60817 | --- core/src/startup/AppFlow.ts
@@ -95,6 +95,9 @@ export function* appFlow(): any {
typeof MeAtWalmartAuthActions.SIGN_OUT_REQUEST
> = yield take(MeAtWalmartAuthActions.SIGN_OUT_REQUEST);
+ // Ensure navigation is enabled as sign out flow is dependent on it
+ AllsparkNavigationClient.enable();
+
// Sign out will cancel the startup flow, pin prompt, and capture event tasks and redirect back to login
yield cancel(startupTask);
yield cancel(pinPromptTask);
| fix: navigation not enabled on pin screen initiation of sign out flow | fix: navigation not enabled on pin screen initiation of sign out flow
|
f672adec0a061c077238e6e269ef0132bc91bee1 | --- packages/associate-exp-hub-team-switcher/src/hooks/useGetStoreAssociateTeamPreference.ts
@@ -59,18 +59,6 @@ export const useGetStoreAssociateTeamPreference = () => {
const isSiteDC = useAllsparkSelector(SiteSelectors.getWorkingSiteIsDC);
const envConfig = useEnvironment();
- if (isSiteDC) {
- logger.info('Skipping team prefs for DC site', {
- type: 'store-associate'
- });
- } else {
- logger.info('Fetching team prefs', {
- type: 'store-associate',
- site: site,
- winMasked: win ? '****' + win.slice(-4) : 'unknown'
- });
- }
-
// Only execute query if all required variables are present
const shouldSkip = isSiteDC || !site || !win;
--- packages/associate-exp-hub-team-switcher/src/services/api/adapters/useGetStoreAssociateAdapter.ts
@@ -55,6 +55,7 @@
* ```
*/
+import React from 'react';
import {
StoreImages,
SupplyChainImages,
@@ -188,13 +189,6 @@ export const useGetStoreAssociateAdapter =
? setPreferences(extractedPreferences, teamLookup)
: [];
- if (teamPreferences.length > 0) {
- logger.info('Processed team prefs', {
- count: teamPreferences.length,
- type: 'preferences'
- });
- }
-
return {
teams,
teamLookup,
@@ -204,25 +198,21 @@ export const useGetStoreAssociateAdapter =
};
}, [teamsData, preferencesQuery]);
- // Log any errors
- if (teamsError || preferencesError) {
- const errorTypes = [
- teamsError && 'teams',
- preferencesError && 'prefs'
- ].filter(Boolean).join(',');
+ // Log only critical errors
+ React.useEffect(() => {
+ if (teamsError || preferencesError) {
+ const errorTypes = [
+ teamsError && 'teams',
+ preferencesError && 'prefs'
+ ].filter(Boolean).join(',');
- logger.error('Store data load failed', {
- message: `Failed to load: ${errorTypes}`,
- type: 'store-associate',
- errorCount: (teamsError ? 1 : 0) + (preferencesError ? 1 : 0)
- });
- } else if (!teamsLoading && !preferencesLoading) {
- logger.info('Store data loaded', {
- type: 'store-associate',
- teams: processedData.teams.length,
- prefs: processedData.preferences.length
- });
- }
+ logger.error('Store data load failed', {
+ message: `Failed to load: ${errorTypes}`,
+ errorTypes,
+ errorCount: (teamsError ? 1 : 0) + (preferencesError ? 1 : 0)
+ });
+ }
+ }, [teamsError, preferencesError]);
return {
loading: {
--- packages/associate-exp-hub-team-switcher/src/services/api/adapters/useGetTeamsDataAdapter.ts
@@ -207,10 +207,6 @@ function useDistributionCenterData() {
* @returns Standardized object containing store-specific team data
*/
function useStoreData() {
- logger.info('Fetching store team data', {
- type: 'store'
- });
-
const {
loading = {teamsLoading: false, preferencesLoading: false} as TeamsLoadingState,
data: {
@@ -231,13 +227,10 @@ function useStoreData() {
shiftsError && 'shifts'
].filter(Boolean) as string[];
- const errorMessage = `Failed with ${errors.length} error(s): ${errors.join(',')}`;
-
logger.error('Store data fetch failed', {
- message: errorMessage,
- type: 'store',
- errorCount: errors.length,
- source: 'team-adapter'
+ message: `Failed to load: ${errors.join(',')}`,
+ errorTypes: errors.join(','),
+ errorCount: errors.length
});
}
| feat(ui): cleanup logs | feat(ui): cleanup logs
|
94308a0708266afde25dfa2511102d0f5bbd3323 | --- package-lock.json
@@ -4363,9 +4363,9 @@
"integrity": "sha512-kGPI7/o+3DiIAhMTyPco72J7ftlJLPO/Eh+W2aCnFEHlH6ngKIOUrX3xSK8Lm9rBVWL3q2ZGzqCqsJXjwJW5ww=="
},
"@walmart/inbox-mini-app": {
- "version": "0.37.0-beta.4",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.37.0-beta.4.tgz",
- "integrity": "sha512-QlIEjNcCpFi0W+g85H8HRhH9sM/NtxXFAXls6mldleMwLgq+9HZMJ4ErNalkxVWH0n7w3M/7T1PV5Pu/wgfuWQ=="
+ "version": "0.37.0-beta.5",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.37.0-beta.5.tgz",
+ "integrity": "sha512-UdUTxc76jS4p82BR3r3EkgCWgTWMAjKhAbGol8G0p4PiFxb7yL5rhvXxXW4LcYV70uHL9bUrmU9mYWi2qzdrnQ=="
},
"@walmart/iteminfo-mini-app": {
"version": "4.2.3",
--- package.json
@@ -83,7 +83,7 @@
"@walmart/gtp-shared-components": "1.6.0",
"@walmart/impersonation-mini-app": "1.1.0",
"@walmart/ims-print-services-ui": "0.1.34",
- "@walmart/inbox-mini-app": "0.37.0-beta.4",
+ "@walmart/inbox-mini-app": "0.37.0-beta.5",
"@walmart/iteminfo-mini-app": "4.2.3",
"@walmart/manager-approvals-miniapp": "0.0.60",
"@walmart/metrics-mini-app": "0.7.68",
| inbox beta version update | inbox beta version update
|
7d7f1423f1009b621d66908a3280faaca75844a8 | --- package-lock.json
@@ -5254,9 +5254,9 @@
"integrity": "sha512-Cy+ATP7WlTkMvysFS1kk9T6YcxPh//OxCfL215wnP/4XI7EarFSbahTwlm7hw/3cuGPCMSsRmdiwZPyhDWUbVw=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.3.2",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.3.2.tgz",
- "integrity": "sha512-x2b1Po/W8bRhpyTT8gMYNXsIrCQ/mlvyWnlRWOIynGcvJt3k1rEnYsOPRQaJb6u30hrFP8/RdpLhDR0QD212+g=="
+ "version": "0.3.17",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.3.17.tgz",
+ "integrity": "sha512-ZQS5ftkmzzBPASBMNRgYho2ds4WHo+kLCVsTmoTeTJWz406/+aF8iA0XDXnq4eRC6ZoxQ7V8FFWK/d9zxPge/Q=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.8.0",
| Adding package-lock.json | Adding package-lock.json
|
f3881b34c586af1d7b8109946e21ada42e331b52 | --- __tests__/home/components/Announcement/__snapshots__/AnnouncementCardTest.tsx.snap
@@ -26,6 +26,7 @@ exports[`AnnouncementCard matches snapshot when isStore is true 1`] = `
UNSAFE_style={
{
"paddingTop": 8,
+ "width": "50%",
}
}
size="medium"
@@ -39,6 +40,7 @@ exports[`AnnouncementCard matches snapshot when isStore is true 1`] = `
{
"paddingBottom": 16,
"paddingTop": 8,
+ "width": "65%",
}
}
size="small"
--- src/home/components/Announcement/styles.ts
@@ -4,8 +4,8 @@ import {colors} from '@walmart/gtp-shared-components';
export default StyleSheet.create({
//Announcement Card Styles
outerCardStyle: {padding: 16, alignItems: 'flex-start'},
- title: {paddingTop: 8},
- subTitle: {paddingBottom: 16, paddingTop: 8},
+ title: {paddingTop: 8, width: '50%'},
+ subTitle: {paddingBottom: 16, paddingTop: 8, width: '65%'},
homeConfetti: {
width: '100%',
top: 0,
--- src/translations/en-US.ts
@@ -409,9 +409,9 @@ export const enUS_home = {
announcement: {
announcementCard: {
description:
- 'We listened - hourly store associates \ncan now earn a yearly bonus',
+ 'We listened - hourly store associates can now earn a yearly bonus',
learnMore: 'Learn more',
- summary: 'Bonuses are back for \nhourly associates!',
+ summary: 'Bonuses are back for hourly associates!',
title: 'Announcement',
},
announcementScreen: {
--- src/translations/es-MX.ts
@@ -413,9 +413,9 @@ export const esMX_home = {
announcement: {
announcementCard: {
description:
- 'We listened - hourly store associates \ncan now earn a yearly bonus',
+ 'We listened - hourly store associates can now earn a yearly bonus',
learnMore: 'Learn more',
- summary: 'Bonuses are back for \nhourly associates!',
+ summary: 'Bonuses are back for hourly associates!',
title: 'Announcement',
},
announcementScreen: {
| Updated styles to new line character in translation file | Updated styles to new line character in translation file
|
7cd58212857a728fd1cbd0fcff0ca3617d04eed7 | --- package-lock.json
@@ -90,7 +90,7 @@
"@walmart/returns-mini-app": "3.13.0",
"@walmart/roster-mini-app": "1.0.18",
"@walmart/schedule-mini-app": "0.93.0",
- "@walmart/shelfavailability-mini-app": "1.5.19",
+ "@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.2",
"@walmart/taskit-mini-app": "2.57.6",
"@walmart/time-clock-mini-app": "2.338.1",
@@ -9776,9 +9776,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/shelfavailability-mini-app": {
- "version": "1.5.19",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.19.tgz",
- "integrity": "sha512-N4zuxdQT3DJGAYVAwPDAYizTQ4MwRClFvcoH63L+uHy4gBBjKzX8EcN5a357Nvf9xq1P6fq2Ai7CtcvI5kl/5Q==",
+ "version": "1.5.20",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.20.tgz",
+ "integrity": "sha512-4yxCmn2SRjzS3AT+THv8r9UXWdr8sve7XOVsfyIhezT1WDEO8ReRw4T0rEJ3Y5u630NOgNrqhBg+BqIc3pOhJg==",
"peerDependencies": {
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/masked-view": "^0.1.10",
@@ -33520,9 +33520,9 @@
"version": "1.0.4"
},
"@walmart/shelfavailability-mini-app": {
- "version": "1.5.19",
- "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.19.tgz",
- "integrity": "sha512-N4zuxdQT3DJGAYVAwPDAYizTQ4MwRClFvcoH63L+uHy4gBBjKzX8EcN5a357Nvf9xq1P6fq2Ai7CtcvI5kl/5Q=="
+ "version": "1.5.20",
+ "resolved": "https://npme.walmart.com/@walmart/shelfavailability-mini-app/-/shelfavailability-mini-app-1.5.20.tgz",
+ "integrity": "sha512-4yxCmn2SRjzS3AT+THv8r9UXWdr8sve7XOVsfyIhezT1WDEO8ReRw4T0rEJ3Y5u630NOgNrqhBg+BqIc3pOhJg=="
},
"@walmart/store-feature-orders": {
"version": "1.26.2",
--- package.json
@@ -131,7 +131,7 @@
"@walmart/returns-mini-app": "3.13.0",
"@walmart/roster-mini-app": "1.0.18",
"@walmart/schedule-mini-app": "0.93.0",
- "@walmart/shelfavailability-mini-app": "1.5.19",
+ "@walmart/shelfavailability-mini-app": "1.5.20",
"@walmart/store-feature-orders": "1.26.2",
"@walmart/taskit-mini-app": "2.57.6",
"@walmart/time-clock-mini-app": "2.338.1",
| Removing app usage metrics | Removing app usage metrics
|
aa1dd5673dbd61c7ca594bc6f91552dc2cf1acc9 | --- package.json
@@ -144,7 +144,7 @@
"@walmart/schedule-mini-app": "0.114.2",
"@walmart/shelfavailability-mini-app": "1.5.26",
"@walmart/store-feature-orders": "1.26.9",
- "@walmart/taskit-mini-app": "4.7.1",
+ "@walmart/taskit-mini-app": "4.8.1",
"@walmart/time-clock-mini-app": "2.395.0",
"@walmart/topstock-mini-app": "1.12.0",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch",
--- yarn.lock
@@ -7167,12 +7167,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:4.7.1":
- version: 4.7.1
- resolution: "@walmart/taskit-mini-app@npm:4.7.1"
+"@walmart/taskit-mini-app@npm:4.8.1":
+ version: 4.8.1
+ resolution: "@walmart/taskit-mini-app@npm:4.8.1"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/ffccdbf24379114635fe832d2627b6ea2c50f149fdb3ce16db9a3ee2ce051bc2ed348c11083419223a75b5b4ed23cf231619ec0949145c195af09f88a79f4843
+ checksum: 10c0/49686c1635e1fc3fc24064f7b07699e321db98cf8ef2c40c26b760ecaa80f0ae774aa0ab07a1c426aedf0955b3bd2d8ce50328fef9c7f9094460cde70d0184f8
languageName: node
linkType: hard
@@ -7843,7 +7843,7 @@ __metadata:
"@walmart/schedule-mini-app": "npm:0.114.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.26"
"@walmart/store-feature-orders": "npm:1.26.9"
- "@walmart/taskit-mini-app": "npm:4.7.1"
+ "@walmart/taskit-mini-app": "npm:4.8.1"
"@walmart/time-clock-mini-app": "npm:2.395.0"
"@walmart/topstock-mini-app": "npm:1.12.0"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch"
| chore: bump taskit version | chore: bump taskit version
|
de14946b90204051a5fd1e0227df5a64b3d73566 | --- package-lock.json
@@ -3124,9 +3124,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.3.0",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.3.0.tgz",
- "integrity": "sha512-njw8kpPIVA1gRVe+Y0o/bNnY2kwVi+vuazW3iTTcL80czDDrF+IOMvVdkQKPN/f7IZdhi22PbInT0kotlGkXZw=="
+ "version": "0.3.3",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.3.3.tgz",
+ "integrity": "sha512-7pMyafDdZTxfVxEZbwWjlff8H2Kb97DBw+eUDarbxV2kv9ySrWiGvtTTj2+t63XTS94eTg9kD0nwZ7Pg3GX2pg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -58,7 +58,7 @@
"@walmart/impersonation-mini-app": "1.0.12",
"@walmart/inbox-mini-app": "0.0.53",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.3.0",
+ "@walmart/push-to-talk-mini-app": "0.3.3",
"@walmart/react-native-env": "^0.1.0",
"@walmart/react-native-logger": "^1.22.0",
"@walmart/react-native-shared-navigation": "^0.3.0",
| PTT version bump (#372) | PTT version bump (#372)
* Bumping PTT version
* PTT version bump |
c3c8700845c3f0e013effd98278ac0f8c2efdbc1 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 113
+ versionCode 114
versionName "1.0.9"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>113</string>
+ <string>114</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
| Incrementing build number | Incrementing build number
|
f97aea0d000a24136e3790902181d90c8e741c10 | --- package-lock.json
@@ -5225,9 +5225,9 @@
"integrity": "sha512-3xZ9hyHPrhGO7U3wcjRlXJMHhyMht/WTeR+f3yw8b1B4uWmtlunXw7cqCqDz+Y2gPNr08/+hL5sY5T472CfnMg=="
},
"@walmart/me-field-mini-app": {
- "version": "1.1.16",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.16.tgz",
- "integrity": "sha512-T0YywmElcLU3PLSqbuLLbocZrZ0GfBA0ah//Nd4UvFUhANhlCc8FkNyw8ojRG2eQ7oqIT4QjQt461CEF1GcJDQ=="
+ "version": "1.1.17",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.17.tgz",
+ "integrity": "sha512-HKZMPu/p+IlJvUd1PRe6tWtRUG+WN7iTyWwsxSlOIz/I85F2p67E4CDHwiLul/I99y0Bp4newE3J7ycNMce+Vw=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.10",
--- package.json
@@ -94,7 +94,7 @@
"@walmart/inbox-mini-app": "0.41.0",
"@walmart/iteminfo-mini-app": "5.0.9",
"@walmart/manager-approvals-miniapp": "0.0.62",
- "@walmart/me-field-mini-app": "1.1.16",
+ "@walmart/me-field-mini-app": "1.1.17",
"@walmart/metrics-mini-app": "0.9.10",
"@walmart/mod-flex-mini-app": "1.1.2",
"@walmart/moment-walmart": "1.0.4",
| feat: ✨ Bump learning mini app version | feat: ✨ Bump learning mini app version
|
c37e4de66f4089ca9f3168c73f47335342f8d569 | --- .looper-pr.yml
@@ -10,7 +10,7 @@ flows:
- (name Enable Corepack) corepack enable
- (name Yarn Set Version) yarn set version 4.6.0
- (name Yarn Version) yarn --version
- - (name Yarn Install) yarn install --immutable false
+ - (name Yarn Install) YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
envs:
global:
--- .looper.yml
@@ -64,7 +64,7 @@ flows:
- (name Yarn Install) corepack enable
- (name Yarn Set Version) yarn set version 4.6.0
- (name Yarn Version) yarn --version
- - (name Install Dependencies) yarn install --immutable false
+ - (name Install Dependencies) YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
buildPackages:
- (name Build Packages) yarn run build
| fix: disable immutable installs in looper to allow lockfile updates | fix: disable immutable installs in looper to allow lockfile updates
|
515d2c13b8d9e1e81b28b08782213f59b6e43cd5 | --- src/screens/RosterDetailScreen/StoreRosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -319,6 +319,29 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
)}
</>
);
+ }, [dataLoading]);
+
+ const renderRefreshControl = useCallback(() => {
+ return (
+ <RefreshControl
+ refreshing={refreshState.refreshing}
+ onRefresh={onRefresh}
+ colors={['transparent']}
+ style={styles.refreshControl}
+ />
+ );
+ }, []);
+
+ const renderMessageButton = useCallback(() => {
+ return (
+ <AllsparkSharedComponents.Component
+ id='wmConnect.GroupMessageButton'
+ props={{
+ teamIds: teamState.teamIds,
+ disabled: !userIsInRoster || !userIsImpersonatedOnDev,
+ }}
+ />
+ );
}, []);
useEffect(() => {
@@ -363,25 +386,10 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
dataLoading ? <AssociateListLoading /> : renderListEmptyComponent()
}
renderItem={renderListItem}
- refreshControl={
- <RefreshControl
- refreshing={refreshState.refreshing}
- onRefresh={onRefresh}
- colors={['transparent']}
- style={styles.refreshControl}
- />
- }
+ refreshControl={renderRefreshControl()}
ListFooterComponent={<View style={styles.footerSpacing} />}
/>
- {!dataLoading && (
- <AllsparkSharedComponents.Component
- id='wmConnect.GroupMessageButton'
- props={{
- teamIds: teamState.teamIds,
- disabled: !userIsInRoster || !userIsImpersonatedOnDev,
- }}
- />
- )}
+ {!dataLoading && renderMessageButton()}
</PresenceProvider>
);
};
| more refactor for Store RosterDetails Screen | more refactor for Store RosterDetails Screen
|
0ca25a59defd43c7bab21f1a87b042f80f948f04 | --- sr.yaml
@@ -1,32 +0,0 @@
-schemaVersion: 1.0.0
-notify:
- slack:
- channelName: ptt-app-rebuild
-applications:
- - name: roster-miniapp
- key: ROSTER-MINIAPP
- description: A Mini app in the Me@Walmart to display the list of daily roster in the store
- organization: GeC
- teamRostersProductId: 1824
- companyCatalog: true
- businessCriticality: MINOR
- members:
- - homeoffice\eacheam
- - homeoffice\j0w0558
- - homeoffice\ruh001x
- - homeoffice\p0d02sx
- - homeoffice\j0y0231
- - homeoffice\rlane1
- - homeoffice\v0m04v4
- - homeoffice\p0k03fp
- environments:
- - name: stage
- type: STAGING
- consumerIdInfos:
- - consumerId: 1bfc1d19-903b-438b-be7e-b0733aade46b
- publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiO/GyYc8U769GsAlKTDD1fjWqN6ME5sSrtHiAQQtKoMGZP7GYzbRsuoIsCNLc39a2+JN76q6cR0mWX8WyZsXYJKpnV6I/TqdH6QsvTLbfPxe4qCBtwYS98uhVfHCrOlqXa2CoeuQwNDx42YZ3uDSD3CYMH2pxbKRN/dXXmwWYqO/8zf9DhMCPaqPrsSI+1etNDYDSKN48mCo6jJq0CzYdseTHzhkeDDyRj9nzNpZbDq8jotp7f11n0GpQzwH/TTRIfw8WieNTok4vIvSIf5BOj/TUCtjry/Ide2BcEd3wRDneOW3mHbCZff+sHkHAtqAfzGppYcJ6FgKxzVgaytWcwIDAQAB
- - name: dev
- type: DEVELOPMENT
- consumerIdInfos:
- - consumerId: 12f4fad8-2bba-439d-86bb-3aba6be9a807
- publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiO/GyYc8U769GsAlKTDD1fjWqN6ME5sSrtHiAQQtKoMGZP7GYzbRsuoIsCNLc39a2+JN76q6cR0mWX8WyZsXYJKpnV6I/TqdH6QsvTLbfPxe4qCBtwYS98uhVfHCrOlqXa2CoeuQwNDx42YZ3uDSD3CYMH2pxbKRN/dXXmwWYqO/8zf9DhMCPaqPrsSI+1etNDYDSKN48mCo6jJq0CzYdseTHzhkeDDyRj9nzNpZbDq8jotp7f11n0GpQzwH/TTRIfw8WieNTok4vIvSIf5BOj/TUCtjry/Ide2BcEd3wRDneOW3mHbCZff+sHkHAtqAfzGppYcJ6FgKxzVgaytWcwIDAQAB
| remove sr.yaml update | remove sr.yaml update
|
998e1414546aad71461c2898580076f3c1a87077 | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.0-beta.1",
+ "version": "1.0.0-beta.2",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
| Update margin bottom width for hub widget | Update margin bottom width for hub widget
|
e4e302088d76f9fff5a25575acb3a41a024d06af | --- ios/Podfile.lock
@@ -740,14 +740,14 @@ PODS:
- RNWMSSOLibrary (1.1.0):
- AppAuth
- React
- - SSO (= 1.2.5-alpha3)
+ - SSO (= 1.2.6)
- SDWebImage (5.10.4):
- SDWebImage/Core (= 5.10.4)
- SDWebImage/Core (5.10.4)
- SDWebImageWebPCoder (0.6.1):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.7)
- - SSO (1.2.5-alpha3):
+ - SSO (1.2.6):
- AppAuth
- Starscream (3.0.6)
- Yoga (1.14.0)
@@ -1098,10 +1098,10 @@ SPEC CHECKSUMS:
RNSketchCanvas: 6939b18677cd1794151cc3d8eb5a0a2158a4a05b
RNSVG: ce9d996113475209013317e48b05c21ee988d42e
RNVectorIcons: bc69e6a278b14842063605de32bec61f0b251a59
- RNWMSSOLibrary: 4d1a4517d82cf173f48e2b64cc00e95a6c425d60
+ RNWMSSOLibrary: 807e32de9ebcb281befbb9dd14a81fd16a022112
SDWebImage: c666b97e1fa9c64b4909816a903322018f0a9c84
SDWebImageWebPCoder: d0dac55073088d24b2ac1b191a71a8f8d0adac21
- SSO: 8e1a0e9dc7324ba2f0f067cb0f18867d732cc5ee
+ SSO: 8be53bdf8f2f0022f87274acdaf04db34b94c83a
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
--- package-lock.json
@@ -12388,9 +12388,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "1.0.5-pingfed-debug-1",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.0.5-pingfed-debug-1.tgz",
- "integrity": "sha512-MvBXJB6r/ghAxk54n0Q980IYRURG3Q1acghPQzrEOimpxQrLpz89lNxvBmM+ARnQU9RlKLb/wMKjN4ZKH5CBrA=="
+ "version": "1.0.7",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.0.7.tgz",
+ "integrity": "sha512-PI7fpOBEMAnnpIxwnM13fKgBmMNbO2d4y1bLZEW2IG+eSf1bZevW8r+sqhNtyDzy/tFLEKBDnxDINvdhiopYZQ=="
},
"react-native-sumo-sdk": {
"version": "2.7.4-rc.9",
--- package.json
@@ -108,7 +108,7 @@
"react-native-screens": "^2.10.1",
"react-native-sha256": "^1.3.6",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "1.0.5-pingfed-debug-1",
+ "react-native-ssmp-sso-allspark": "1.0.7",
"react-native-sumo-sdk": "^2.7.4-rc.9",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| Bugfix/pingfed refresh (#453) | Bugfix/pingfed refresh (#453)
* SSO version bump up
* sso version bump
* updating podfile
* Don't merge this change, making this change for qa to do charles proxy
* Fix network security config
* Added changes to incorporate dev/beta builds to work seamlessly with other IAM SSO apps installed on the device
* verbage fix.
* verbage fix
* updated RN SSO version to v1.0.5-alpha2 and native iOS version to 1.2.5-alpha6
* updated podfile.lock
* updated sso version to v1.0.5-alpha3
* updated to latest sso alpha
* prod beta build
* updated sso veriosn to 1.0.5
* removed network config changes
* SSO version bump up to 1.0.7
* Added PodFile.lock
Co-authored-by: Anukalp Katyal <anukalp.katyal@walmartlabs.com>
Co-authored-by: Ratikanta Patra <rpatra@walmartlabs.com>
Co-authored-by: Hitesh Arora <>
Co-authored-by: k0k043i <kamana.kulkarni@walmartlabs.com> |
d2f02fed5b4b3790b8147e908aa1765fc6b22976 | --- package.json
@@ -90,7 +90,7 @@
"@walmart/avp-shared-library": "0.10.9",
"@walmart/backroom-mini-app": "1.11.3",
"@walmart/calling-mini-app": "0.7.52",
- "@walmart/checkout-mini-app": "4.8.12",
+ "@walmart/checkout-mini-app": "4.12.0",
"@walmart/compass-sdk-rn": "6.2.17",
"@walmart/config-components": "4.8.2",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -7533,9 +7533,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.8.12":
- version: 4.8.12
- resolution: "@walmart/checkout-mini-app@npm:4.8.12::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.8.12.tgz"
+"@walmart/checkout-mini-app@npm:4.12.0":
+ version: 4.12.0
+ resolution: "@walmart/checkout-mini-app@npm:4.12.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcheckout-mini-app%2F-%2F%40walmart%2Fcheckout-mini-app-4.12.0.tgz"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -7573,7 +7573,7 @@ __metadata:
react-native-safe-area-context: "*"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/b95d57083db01a888d4f7816b2bbd035f002b0a6c455ea39172ade313efd1c84559de2c578dd3c0e398e4ae5f55888f655b63d4793183a387d4b6f8d844c3541
+ checksum: 10c0/2b891c06f5cc5f8647514c11cbd180559c5cc5e09c1067c5b1d423598746fe932af75e0fa8f016f890f0865a648b9034cd1b4aea5130aaab3c617132ad1389b6
languageName: node
linkType: hard
@@ -8263,7 +8263,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.10.9"
"@walmart/backroom-mini-app": "npm:1.11.3"
"@walmart/calling-mini-app": "npm:0.7.52"
- "@walmart/checkout-mini-app": "npm:4.8.12"
+ "@walmart/checkout-mini-app": "npm:4.12.0"
"@walmart/compass-sdk-rn": "npm:6.2.17"
"@walmart/config-components": "npm:4.8.2"
"@walmart/core-services": "npm:~6.5.2"
| fix(checkout): ALLSPARK-6217 upgrade checkout to 4.12.0 (#4260) | fix(checkout): ALLSPARK-6217 upgrade checkout to 4.12.0 (#4260)
Co-authored-by: g0s00t9 <g0s00t9@homeoffice.wal-mart.com> |
581de0546afdafb0212dd39e312903c9afe85922 | --- package-lock.json
@@ -3334,9 +3334,9 @@
"integrity": "sha512-yof25tKo/Sx7sAbbb9Zv9ITvbI/6TlBfj1y3ySiuvxi4AddsrbqiSrCi65i+PcwUo4Q6v6XejTu9M+32XQp6Hg=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.59",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.59.tgz",
- "integrity": "sha512-KDL4QbdhuOnIeMs4dIZ9wbDdj2wO2VBR4aYaJ8CxKW+xrZA13k0PzpAiZiH6BcP3gxr10DvdRIg6lcJuLHJ8Dw=="
+ "version": "0.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.1.5.tgz",
+ "integrity": "sha512-fZuvv5E2OnY6Ml7QueoUWa/iPVU2cL/eny7rwY77OEHnecmnWo2QCoMpqF/83GLd9oKkGk/coGBE60bVE1ekeA=="
},
"@walmart/functional-components": {
"version": "1.0.33",
@@ -3384,9 +3384,9 @@
"integrity": "sha512-DMXzHrlFBvd5qOHxju7irJ+4UkclgpwJVlEKzPqmL4oQPYXkjCydvbJR0O5FmZtDDyBrKxKtofD2vD4nyBeHPA=="
},
"@walmart/inbox-mini-app": {
- "version": "0.14.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.14.0.tgz",
- "integrity": "sha512-73HAEev8DeHModZVTry22tqKnV5jJcaL4IyUVWvlvoyZ4iZfNgdIsR6VEzYN1TW5DHH5d44heAIR3K8kdUb4Qw=="
+ "version": "0.16.0",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.16.0.tgz",
+ "integrity": "sha512-pdznh8KZeZ6pD4Ke7kkP1+Ci3lKPKVH8kHsNdPh0QMLqXBcnBt3FjA6xyRYHYd97UGpLh79cZ+cZMHdFvWXUrA=="
},
"@walmart/iteminfo-mini-app": {
"version": "2.0.12",
@@ -12712,7 +12712,7 @@
"react-native-connect-sso-redux": {
"version": "1.0.1",
"resolved": "https://npme.walmart.com/react-native-connect-sso-redux/-/react-native-connect-sso-redux-1.0.1.tgz",
- "integrity": "sha512-RJADBxeUB3qlJ6D0qyljw6ePrCWobUObZ/j7cxK1M4NTYCn/OGVm6TuVO80WzHyi3/1wVscTSNdoF/m/+10ipQ=="
+ "integrity": "sha1-qd4UZjKEiXDiPtd13qB/sjL988Y="
},
"react-native-device-info": {
"version": "5.6.5",
--- package.json
@@ -77,13 +77,13 @@
"@walmart/config-components": "^1.0.33",
"@walmart/counts-component-miniapp": "0.0.22",
"@walmart/exception-mini-app": "0.37.1",
- "@walmart/feedback-all-spark-miniapp": "0.0.59",
+ "@walmart/feedback-all-spark-miniapp": "0.1.5",
"@walmart/functional-components": "1.0.33",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "^1.2.0",
"@walmart/impersonation-mini-app": "1.0.20",
"@walmart/ims-print-services-ui": "0.0.36",
- "@walmart/inbox-mini-app": "0.14.0",
+ "@walmart/inbox-mini-app": "0.16.0",
"@walmart/iteminfo-mini-app": "2.0.12",
"@walmart/manager-approvals-miniapp": "0.0.56",
"@walmart/metrics-mini-app": "0.4.12",
| feedback survey message in inbox | feedback survey message in inbox
|
5d6ec25405e166e8eef12b0bd6e393b564643094 | --- src/auth/styles.ts
@@ -190,6 +190,7 @@ export default StyleSheet.create({
padding: 20,
width: '100%',
position: 'absolute',
+ backgroundColor: colors.white,
borderTopWidth: 1,
flexDirection: 'row',
justifyContent: 'flex-end',
| style update | style update
|
124f5cfd264f21eaa99ba34b206071784540c16e | --- packages/me-at-walmart-common/src/environment.ts
@@ -50,7 +50,7 @@ export type IMeAtWalmartEnvironment = {
productIdAssociate: string;
productIdCandidate: string;
productIdSupplyChain: string;
-
+ FLIPPER_ENABLED?: boolean;
// Handle deprecated or legacy env variables, can remove once we're comfortable with stricter typing
[key: string]: any;
};
--- packages/me-at-walmart-container/src/environment/env.beta.ts
@@ -73,6 +73,7 @@ const config: IMeAtWalmartEnvironment = {
'https://api-proxy-es2.prod-us-azure.soa-api-proxy.platform.prod.us.walmart.net',
externalBffUrl: 'https://developer.api.us.walmart.com',
bffService: '/api-proxy/service/store/systems-bff/v1',
+ FLIPPER_ENABLED: true,
};
export default config;
--- packages/me-at-walmart-container/src/environment/env.dev.ts
@@ -74,6 +74,7 @@ const config: IMeAtWalmartEnvironment = {
'https://api-proxy-es2.stg-us-azure.soa-api-proxy.platform.prod.us.walmart.net',
externalBffUrl: 'https://developer.api.us.stg.walmart.com',
bffService: '/api-proxy/service/store/systems-bff/v1',
+ FLIPPER_ENABLED: true,
};
export default config;
--- packages/me-at-walmart-container/src/environment/env.prod.ts
@@ -73,6 +73,7 @@ const config: IMeAtWalmartEnvironment = {
'https://api-proxy-es2.prod-us-azure.soa-api-proxy.platform.prod.us.walmart.net',
externalBffUrl: 'https://developer.api.us.walmart.com',
bffService: '/api-proxy/service/store/systems-bff/v1',
+ FLIPPER_ENABLED: true,
};
export default config;
--- packages/me-at-walmart-container/src/environment/env.teflon.ts
@@ -72,6 +72,7 @@ const config: IMeAtWalmartEnvironment = {
'https://api-proxy-es2.stg-us-azure.soa-api-proxy.platform.prod.us.walmart.net',
externalBffUrl: 'https://developer.api.us.stg.walmart.com',
bffService: '/api-proxy/service/store/systems-bff/v1',
+ FLIPPER_ENABLED: true,
};
export default config;
--- packages/me-at-walmart-container/src/redux/index.ts
@@ -1,7 +1,6 @@
import {AllsparkReduxConfig} from '@walmart/allspark-foundation/Redux';
import {createRestartableSagas} from '@walmart/allspark-utils';
import {all} from 'redux-saga/effects';
-import createDebugger from 'redux-flipper';
import {MeAtWalmartLoggerService} from '../services/logger';
import {AuthSagas} from './auth';
@@ -31,5 +30,4 @@ export function* MeAtWalmartRootSagas() {
export const MeAtWalmartReduxConfig: AllsparkReduxConfig = {
sagas: MeAtWalmartRootSagas,
- middleware: __DEV__ ? [createDebugger()] : undefined,
};
--- packages/me-at-walmart-container/src/setup.ts
@@ -1,6 +1,8 @@
import {AppState} from 'react-native';
import {ContainerSetup} from '@walmart/allspark-foundation/Container';
+import {AllsparkEnvironment} from '@walmart/allspark-foundation/Environment';
+import {AllsparkGraphQLClient} from '@walmart/allspark-foundation/GraphQL';
import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation';
import {AllsparkReduxStore} from '@walmart/allspark-foundation/Redux';
import {AllsparkNotificationClient} from '@walmart/allspark-foundation/Notification';
@@ -52,6 +54,14 @@ const onAppStateActive = () => {
* Runs once to setup the MeAtWalmart container
*/
export const setupMeAtWalmartRoot = async () => {
+ if (__DEV__ && AllsparkEnvironment.VALUES.FLIPPER_ENABLED) {
+ const createDebugger = require('redux-flipper').default;
+ AllsparkReduxStore.addMiddleware(createDebugger());
+
+ const {apolloDevToolsInit} = require('react-native-apollo-devtools-client');
+ apolloDevToolsInit(AllsparkGraphQLClient);
+ }
+
// Add session id to telemetry
MeAtWalmartTelemetry.setCrashAttribute('sessionId', SESSION_ID);
MeAtWalmartTelemetry.setUserProperties({sessionId: SESSION_ID});
| refactor: move all flipper initialization behind env flag | refactor: move all flipper initialization behind env flag
|
63224425e268077167f8265d3dcb36e717172a57 | --- package.json
@@ -74,7 +74,7 @@
"@walmart/allspark-home-mini-app": "0.5.2",
"@walmart/allspark-me-mini-app": "0.2.4",
"@walmart/ask-sam-mini-app": "0.30.15",
- "@walmart/config-components": "^1.0.30",
+ "@walmart/config-components": "^1.0.31",
"@walmart/counts-component-miniapp": "0.0.20",
"@walmart/exception-mini-app": "0.36.0",
"@walmart/feedback-all-spark-miniapp": "0.0.58",
| Bump @walmart/config-components | Bump @walmart/config-components
|
9ce923dd312f5876fd44793dfba00086cf6a65a1 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.10",
+ "version": "2.0.11",
"private": false,
"main": "bundle/dist/index.js",
"files": [
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/texting-mini-app",
- "version": "2.0.10",
+ "version": "2.0.11",
"private": false,
"main": "bundle/dist/index.js",
"files": [
| Update package.json | Update package.json |
dd4ddd3a6fb27d18a96822a86b758231fd10ac51 | --- graphql.yml
@@ -155,24 +155,3 @@ applications:
# queryTemplate: "packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql"
# tags:
# - "v1"
- - name: "allspark-core-intl"
- applicationKey: "ALLSPARK_APP_INTL"
- description: "Core application for Me@Walmart International"
- environments:
- - name: "stg"
- persistedQueries:
- - name: "businessUnitByCountryAndNumber"
- hash: "dc5adc0197a2bfd29b0ecc4ec5a255f44f8e0700a8a6916a834ec745574ab54d"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/businessUnitByCountryAndNumber.graphql"
- tags:
- - "v1"
- - name: "getAssociateById"
- hash: "0a06f624828f31fa5f8a13615385e1c3c4424732132e432655f4a45962a7fa22"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getAssociateById.graphql"
- tags:
- - "v1"
- - name: "getLoggedInUser"
- hash: "0beb54411dbf4e0c72d8d94982d755e0559023bc5e2c174e356b42f1e07b22fd"
- queryTemplate: "packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql"
- tags:
- - "v1"
| Revert "fix: adding back international queries that were somehow changed here" | Revert "fix: adding back international queries that were somehow changed here"
This reverts commit 55f1cd46a8fdc31930a97840d0015bcef11c8d28.
|
b5c73e39684fca114af6f52e151548374ebf2719 | --- __tests__/components/RosterFiltersAndInfo.test.tsx
@@ -120,6 +120,7 @@ describe('RosterFiltersAndInfo Component', () => {
totalScheduleCount: 100,
isPrimaryTeam: false,
onShiftChange: jest.fn(),
+ selectedShift: null,
};
afterEach(() => {
@@ -171,6 +172,7 @@ describe('RosterFiltersAndInfo Component', () => {
expect(queryByTestId('viewWeeklyScheduleButton')).toBeNull();
});
it('disables the button when associates are empty', () => {
+ const onShiftChange = jest.fn();
const newProps: RosterFiltersAndInfoProps = {
headerText: `Today's roster`,
filterChips: mockFilterChips,
@@ -179,18 +181,10 @@ describe('RosterFiltersAndInfo Component', () => {
handleFilter: jest.fn(),
totalScheduleCount: 0,
isPrimaryTeam: false,
-const onShiftChange = jest.fn();
-const newProps: RosterFiltersAndInfoProps = {
- headerText: `Today's roster`,
- handleFilter: jest.fn(),
- totalScheduleCount: 0,
- isPrimaryTeam: false,
- onShiftChange,
-};
+ onShiftChange,
+ selectedShift: null,
};
jest.spyOn(hooks, 'useRbacConfigWithJobCode').mockReturnValue(false);
-jest.spyOn(hooks, 'useRbacConfigWithJobCode').mockReturnValue(false);
-
const {queryByTestId} = renderWithProviders(
<RosterFiltersAndInfo {...newProps} />,
);
--- __tests__/components/RosterWidget.test.tsx
@@ -132,19 +132,13 @@ describe('RosterWidget', () => {
} as unknown as SupplyChainTeamsByBusinessUnitQueryResult);
jest
-if (hooks.useSupplyChainShifts) {
- jest
- .spyOn(hooks, 'useSupplyChainShifts')
- // @ts-ignore
- .mockReturnValue({
- ...mockGetSupplyChainShiftsQuery.result,
- loading: false,
- error: undefined,
- refetch: jest.fn(),
- });
-} else {
- throw new Error('useSupplyChainShifts function does not exist on hooks object');
-}
+ .spyOn(hooks, 'useSupplyChainShifts')
+ // @ts-ignore
+ .mockReturnValue({
+ ...mockGetSupplyChainShiftsQuery.result,
+ loading: false,
+ error: undefined,
+ refetch: jest.fn(),
});
// Mock useSelector for isSiteDC
--- __tests__/components/WarningBanner.test.tsx
@@ -10,9 +10,8 @@ jest.mock('react-redux', () => ({
// Mock @walmart/gtp-shared-components
jest.mock('@walmart/gtp-shared-components', () => {
-import * as ReactModule from 'react';
-import * as ReactNative from 'react-native';
-
+ const ReactModule = require('react');
+ const ReactNative = require('react-native');
return {
Banner: ({children, onClose, testID}) =>
ReactModule.createElement(ReactNative.View, {testID}, [
--- src/common/types.ts
@@ -50,6 +50,6 @@ export type DeepPartial<T> = {
};
export type ShiftType = {
-shiftId: string;
+ shiftId: string | undefined;
shiftName: string;
};
--- src/components/FilterChipGroup/types.ts
@@ -9,6 +9,6 @@ export interface FilterChipGroupProps {
) => void;
isPrimaryTeam: boolean | undefined;
selectedFilter?: FilterValue;
-selectedShift?: ShiftType;
-onShiftChange: (shift: ShiftType | undefined) => void;
+ selectedShift?: ShiftType;
+ onShiftChange: (shift: ShiftType) => void;
}
--- src/components/RosterFiltersAndInfo/types.ts
@@ -6,8 +6,8 @@ export interface RosterFiltersAndInfoProps {
associates?: Associate[];
filterChips: FilterChipProps[];
selectedFilter?: FilterValue;
-selectedShift: ShiftType | null = null;
-onShiftChange: (shift: ShiftType | null) => void;
+ selectedShift: ShiftType | undefined;
+ onShiftChange: (shift: ShiftType) => void;
headerText: string;
loading: boolean;
teamName?: string;
--- src/screens/RosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -24,7 +24,6 @@ import {
useTotalSiteOrTotalStore,
useUserIsInRoster,
} from '../../hooks';
-import {ShiftType} from '../../common';
import {useSelector} from 'react-redux';
import {
displayRoster,
@@ -66,6 +65,7 @@ import {
filterValues,
rosterTelemetry,
logger,
+ ShiftType,
} from '../../common';
import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components';
import {RosterDetailScreenDisabled} from './RosterDetailScreenDisabled';
--- src/utils/allTeams.ts
@@ -81,7 +81,7 @@ export const createTeamsSectionsByOpsArea = (teams: SupplyChainTeam[]) => {
title: opsareaName,
data: teamsList.map((team: SupplyChainTeam) => ({
...team,
-workareaName: team.workareaName ?? '',
+ workareaName: team.workareaName ?? '',
})),
}))
: [];
| fix(ui): update test changes | fix(ui): update test changes
|
20a02cbe5cd87222bb4348cad6c037afe201ff33 | --- ios/Podfile.lock
@@ -406,7 +406,7 @@ PODS:
- React-Core
- react-native-pdf (6.2.2):
- React-Core
- - react-native-ptt-module (1.5.65):
+ - react-native-ptt-module (1.5.66):
- PTT (= 0.7.14-rc.2)
- React
- react-native-safe-area-context (3.3.2):
@@ -970,7 +970,7 @@ SPEC CHECKSUMS:
react-native-netinfo: 77d133105df525d4a11f10fcaa8d0b8883ea6429
react-native-pager-view: 311c10a4eead1be627cad59062aa059d8108b943
react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f
- react-native-ptt-module: b9b4c6dfe8be7b9020dd80909b5ccbfd0796ee39
+ react-native-ptt-module: fdb2a8ff8005b17cc1cde9be3c4bf74bbd707400
react-native-safe-area-context: 5cf05f49df9d17261e40e518481f2e334c6cd4b5
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
--- package-lock.json
@@ -4343,9 +4343,9 @@
"integrity": "sha512-qJaaKPSs5rNbukmidrZoqqWylzPX1nos0NwavGpgMjfCIvRuAE83yxNgNMV2KNP8y42YfNhEQlMJ5dCnsg/vWw=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.90",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.90.tgz",
- "integrity": "sha512-kKOhuk7ON0Qk2u/Ok/yJdg1jSeMw1DXk37ZIT8nfabrinduErkX+/6+6jUckrbzHcOlSMmckLpjToCkNwib5gQ=="
+ "version": "0.5.91",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.91.tgz",
+ "integrity": "sha512-cHiUrL7DoEVWYtOqXfWP7xazQytO30VNHRk8J7HXSG1Mnae8p723IThp+ffAW80xnkhYi5uMuOPC3XPxm7BBSw=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
@@ -16978,9 +16978,9 @@
"integrity": "sha512-PO99dptMocEfUSS3SM7gY6UqophaBxizKjnZ7FcEwa+H4ONVxTk310/JCXJ9vdNunomgpxHluKRXnApfm9Md1w=="
},
"react-native-ptt-module": {
- "version": "1.5.65",
- "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.65.tgz",
- "integrity": "sha512-AwAQyg057346+BJhkiOICyEGdRd2XYsgDyc7/1yKL8MPbxn5hSrXGfN2lTba0lKTDLTO+FdznD0FrHa603GnpQ=="
+ "version": "1.5.66",
+ "resolved": "https://npme.walmart.com/react-native-ptt-module/-/react-native-ptt-module-1.5.66.tgz",
+ "integrity": "sha512-MWJYelxwd8N31/tNRuX9Is38Jjp0wFGkpalTCNmdTQYKVfoojcuQrQI8SjqdzRWPo+2C07VaNeh6rpKCTceFig=="
},
"react-native-qrcode-svg": {
"version": "6.0.6",
--- package.json
@@ -91,7 +91,7 @@
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.91.0",
"@walmart/price-changes-mini-app": "1.0.6",
- "@walmart/push-to-talk-mini-app": "0.5.90",
+ "@walmart/push-to-talk-mini-app": "0.5.91",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.28.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
@@ -145,7 +145,7 @@
"react-native-pdf": "^6.2.0",
"react-native-permissions": "3.0.0",
"react-native-popup-menu": "^0.15.9",
- "react-native-ptt-module": "1.5.65",
+ "react-native-ptt-module": "1.5.66",
"react-native-qrcode-svg": "^6.0.6",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.3.0",
| updating versions to latest changes | updating versions to latest changes
|
f7dfa496c37780a4f3bba9cdafb187e88202c99f | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.6",
+ "version": "1.0.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.6",
+ "version": "1.0.7",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,9 +66,9 @@
"@walmart/react-native-scanner-3.0": "0.4.2",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
- "@walmart/roster-mini-app": "1.0.8",
+ "@walmart/roster-mini-app": "1.0.9",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.7",
+ "@walmart/wmconnect-mini-app": "1.0.8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11834,9 +11834,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.8",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.8.tgz",
- "integrity": "sha512-32SYVef4WYFXIEJqLLxVrMDfRwgPKH9x4+9D0+5j0Tg7hjDJo1r70iHGhhFjciUjxFUi4rcgq16InOgWVjHTEA==",
+ "version": "1.0.9",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.9.tgz",
+ "integrity": "sha512-/rbBlsNhu6MB22dWoVT5c8hqSLlV4yq3GqecUvpGqigKQ2xABJ//piNQi26Z7Vcq6VkPVBH+cnFYd8su/+zo2Q==",
"dev": true,
"hasInstallScript": true
},
@@ -11863,9 +11863,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.7.tgz",
- "integrity": "sha512-Iq/4/bfx5mJryay8OWGriTi0XqNfwl/qjXF5LEq309XclvBNpMchWLXO4CiDPdnYehWnnvMEuHlY5SHdNHVsEw==",
+ "version": "1.0.8",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.8.tgz",
+ "integrity": "sha512-HfwvyYHCTm2uJD7j1XF9Tn7ycEKqkxvoe0dBMW5zhX9/LWGYuiPw3O/BYgwXLDnUoASHtsN51hZi5bBQT8ldZw==",
"dev": true,
"hasInstallScript": true
},
@@ -41072,9 +41072,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.8",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.8.tgz",
- "integrity": "sha512-32SYVef4WYFXIEJqLLxVrMDfRwgPKH9x4+9D0+5j0Tg7hjDJo1r70iHGhhFjciUjxFUi4rcgq16InOgWVjHTEA==",
+ "version": "1.0.9",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.9.tgz",
+ "integrity": "sha512-/rbBlsNhu6MB22dWoVT5c8hqSLlV4yq3GqecUvpGqigKQ2xABJ//piNQi26Z7Vcq6VkPVBH+cnFYd8su/+zo2Q==",
"dev": true
},
"@walmart/ui-components": {
@@ -41089,9 +41089,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.7",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.7.tgz",
- "integrity": "sha512-Iq/4/bfx5mJryay8OWGriTi0XqNfwl/qjXF5LEq309XclvBNpMchWLXO4CiDPdnYehWnnvMEuHlY5SHdNHVsEw==",
+ "version": "1.0.8",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.8.tgz",
+ "integrity": "sha512-HfwvyYHCTm2uJD7j1XF9Tn7ycEKqkxvoe0dBMW5zhX9/LWGYuiPw3O/BYgwXLDnUoASHtsN51hZi5bBQT8ldZw==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.6",
+ "version": "1.0.7",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,8 +89,8 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.7",
- "@walmart/roster-mini-app": "1.0.8",
+ "@walmart/wmconnect-mini-app": "1.0.8",
+ "@walmart/roster-mini-app": "1.0.9",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
1e89cada5c98eeee4842a4f4df1f1fa4d84487b4 | --- targets/US/package.json
@@ -89,7 +89,7 @@
"@walmart/attendance-mini-app": "3.95.0",
"@walmart/avp-feature-app": "0.10.7",
"@walmart/avp-shared-library": "0.10.1",
- "@walmart/backroom-mini-app": "1.7.4",
+ "@walmart/backroom-mini-app": "1.7.5",
"@walmart/calling-mini-app": "0.5.17",
"@walmart/checkout-mini-app": "3.31.0",
"@walmart/compass-sdk-rn": "5.19.15",
--- yarn.lock
@@ -6067,9 +6067,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/backroom-mini-app@npm:1.7.4":
- version: 1.7.4
- resolution: "@walmart/backroom-mini-app@npm:1.7.4"
+"@walmart/backroom-mini-app@npm:1.7.5":
+ version: 1.7.5
+ resolution: "@walmart/backroom-mini-app@npm:1.7.5"
dependencies:
pubsub-js: "npm:^1.9.4"
react-native-mask-input: "npm:^1.2.3"
@@ -6092,7 +6092,7 @@ __metadata:
react-native-svg-transformer: ">=1.0.0"
react-redux: ^8.0.0
redux: ^4.0.0
- checksum: 10c0/88930a4cd3de1e9e546f39ccac567660bd8af881a6a46184d9aaefdca3fd70d38eead14a9c1e4661c675dbf47469eaa5b8a6a31f80753976f853953ffecc62e1
+ checksum: 10c0/ce9b49937299f8ec00576d37a22c8dca270f8efb986118cbade77967e11937f23b64e5dc5cef481252b94954e4c89c85d68b75ce25a634d106a0cdc62945a352
languageName: node
linkType: hard
@@ -7004,7 +7004,7 @@ __metadata:
"@walmart/attendance-mini-app": "npm:3.95.0"
"@walmart/avp-feature-app": "npm:0.10.7"
"@walmart/avp-shared-library": "npm:0.10.1"
- "@walmart/backroom-mini-app": "npm:1.7.4"
+ "@walmart/backroom-mini-app": "npm:1.7.5"
"@walmart/calling-mini-app": "npm:0.5.17"
"@walmart/checkout-mini-app": "npm:3.31.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
| Upgrade @walmart/backroom-mini-app to 1.7.5 | Upgrade @walmart/backroom-mini-app to 1.7.5
|
fcb2dea62d4e293c126989364f1bf108e2bc2a3e | --- targets/US/package.json
@@ -142,7 +142,7 @@
"@walmart/roster-mini-app": "2.4.0",
"@walmart/schedule-mini-app": "0.114.2",
"@walmart/shelfavailability-mini-app": "1.5.26",
- "@walmart/shop-gnfr-mini-app": "1.0.79",
+ "@walmart/shop-gnfr-mini-app": "1.0.83",
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch",
"@walmart/time-clock-mini-app": "2.395.0",
--- yarn.lock
@@ -6749,7 +6749,7 @@ __metadata:
"@walmart/roster-mini-app": "npm:2.4.0"
"@walmart/schedule-mini-app": "npm:0.114.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.26"
- "@walmart/shop-gnfr-mini-app": "npm:1.0.79"
+ "@walmart/shop-gnfr-mini-app": "npm:1.0.83"
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "patch:@walmart/taskit-mini-app@npm%3A3.0.2#~/.yarn/patches/@walmart-taskit-mini-app-npm-3.0.2-4cbd5b8e6d.patch"
"@walmart/time-clock-mini-app": "npm:2.395.0"
@@ -7590,9 +7590,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/shop-gnfr-mini-app@npm:1.0.79":
- version: 1.0.79
- resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.79"
+"@walmart/shop-gnfr-mini-app@npm:1.0.83":
+ version: 1.0.83
+ resolution: "@walmart/shop-gnfr-mini-app@npm:1.0.83"
dependencies:
"@testing-library/react-native": "npm:^12.5.1"
react-native-drop-shadow: "npm:^1.0.0"
@@ -7606,7 +7606,7 @@ __metadata:
"@walmart/gtp-shared-components": ^2.0.0
react: ^18.2.0
react-native: ~0.70.5
- checksum: 10c0/6a2494ebce9d70dbe379a379431e66df56cd348a389840a0aab9e10b96695e531ef9aa82c5897a2c0d8858688e4c470bc610f66fcef6aa393388d17e88eacf8d
+ checksum: 10c0/e4eca65a89068ab92d14a9f022c45de8d73d83280f2379b30148e4df0c7b06258cd99b990ba2b63f3c2bbbd34b07a76a9d8ea923cf114b92129d9d685ee6f229
languageName: node
linkType: hard
| version bump to 1.0.83 | version bump to 1.0.83
|
49785adb2e209eed4beaac0c0a76f6a752e79af5 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Redux/selectors.ts
@@ -419,14 +419,20 @@ export const myAreaTextEnabled = createSelector(
getCCMBooleanStr(state?.showMyAreaText, CCMFallbacks.showMyAreaText)
);
-export const errorScreenwEnabled = createSelector(
+export const dataFetchErrorScreenEnabled = createSelector(
[getManagerExperienceConfigData],
(state) =>
- getCCMBooleanStr(state?.showErrorScreen, CCMFallbacks.showErrorScreen)
+ getCCMBooleanStr(
+ state?.showDataFetchErrorScreen,
+ CCMFallbacks.showDataFetchErrorScreen
+ )
);
-export const cancelButtonEnabled = createSelector(
+export const cancelActionButtonEnabled = createSelector(
[getManagerExperienceConfigData],
(state) =>
- getCCMBooleanStr(state?.showCancelButton, CCMFallbacks.showCancelButton)
+ getCCMBooleanStr(
+ state?.showCancelActionButton,
+ CCMFallbacks.showCancelActionButton
+ )
);
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/ccmFallbacks.ts
@@ -46,6 +46,6 @@ export const CCMFallbacks = {
showEditSavedTeams: true,
showAllTeamsList: true,
showMyAreaText: true,
- showErrorScreen: true,
- showCancelButton: true,
+ showDataFetchErrorScreen: true,
+ showCancelActionButton: true,
};
| feat: updated naming | feat: updated naming
|
4064459f7f5d68fb01b039322cdc16a063ac11eb | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.25.0",
+ "version": "1.26.0",
"main": "dist/index.js",
"files": [
"dist"
@@ -81,7 +81,7 @@
"@typescript-eslint/parser": "^5.37.0",
"@walmart/allspark-authentication": "6.1.4",
"@walmart/allspark-foundation": "6.20.0",
- "@walmart/allspark-foundation-hub": "1.2.23",
+ "@walmart/allspark-foundation-hub": "1.2.24",
"@walmart/allspark-graphql-client": "^1.4.6",
"@walmart/allspark-http-client": "6.1.4",
"@walmart/config-components": "4.4.0",
@@ -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.23.0",
+ "@walmart/roster-mini-app": "2.24.0",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- yarn.lock
@@ -5992,9 +5992,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation-hub@npm:1.2.23":
- version: 1.2.23
- resolution: "@walmart/allspark-foundation-hub@npm:1.2.23"
+"@walmart/allspark-foundation-hub@npm:1.2.24":
+ version: 1.2.24
+ resolution: "@walmart/allspark-foundation-hub@npm:1.2.24"
dependencies:
"@reduxjs/toolkit": "npm:^1.9.7"
"@shopify/flash-list": "npm:~1.6.4"
@@ -6010,7 +6010,7 @@ __metadata:
react: "*"
react-native: "*"
react-native-safe-area-context: 4.x
- checksum: 10c0/9d43bc8576aa58bf12b9cf70226c11f9d3a27c76a90d32fe343997cac99b79ec1228875018486de11b8c1f463503770930b0fbcdd3f81bb7f59b083d3946f1e5
+ checksum: 10c0/ffe4f457c909f82e23a8674562fe08c20c1a4f68b24350534ef2c0c62eb414fa0416dcc81e81b0ff287a6428508ad5e09e6c1acff1eb8cc537510813803c978a
languageName: node
linkType: hard
@@ -6398,7 +6398,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^5.37.0"
"@walmart/allspark-authentication": "npm:6.1.4"
"@walmart/allspark-foundation": "npm:6.20.0"
- "@walmart/allspark-foundation-hub": "npm:1.2.23"
+ "@walmart/allspark-foundation-hub": "npm:1.2.24"
"@walmart/allspark-graphql-client": "npm:^1.4.6"
"@walmart/allspark-http-client": "npm:6.1.4"
"@walmart/config-components": "npm:4.4.0"
@@ -6416,7 +6416,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.23.0"
+ "@walmart/roster-mini-app": "npm:2.24.0"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6597,9 +6597,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.23.0":
- version: 2.23.0
- resolution: "@walmart/roster-mini-app@npm:2.23.0"
+"@walmart/roster-mini-app@npm:2.24.0":
+ version: 2.24.0
+ resolution: "@walmart/roster-mini-app@npm:2.24.0"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6641,7 +6641,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/fe7a1bd6055750c8e18b632cdc981e8ed640dc00d6befd8415e1fac0acfc1da784b8d12d9b7962f750603b99b426f3a4b07cdb4dc37a2aefb681bce051f0a27b
+ checksum: 10c0/327dd42d1a958eb6ed8e47c94f98d1ec7f1611ba93d8c72af41a2cceff28a25b2dc0024a19697c5b3c92758010729fe64c91a5c5161eb95484010bc77afea951
languageName: node
linkType: hard
| Update the my team mini app version | Update the my team mini app version
|
4661e85ae488472c22404417a9d1123feac3f43f | --- package-lock.json
@@ -85,7 +85,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.24.0",
- "@walmart/taskit-mini-app": "2.49.7",
+ "@walmart/taskit-mini-app": "2.49.8",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
@@ -9765,9 +9765,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.49.7",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.49.7.tgz",
- "integrity": "sha512-veasL4eZwplZw9C9KM7OsjTjSd9AImk2m+lifS53XuQOkhmEkWX0DuG/2yZFTe1cxa3evFJbLvuCKIZCzKPrdQ==",
+ "version": "2.49.8",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.49.8.tgz",
+ "integrity": "sha512-4Ozv3GIQ4ED0JyfbBAMCHK+QqlxGE+zpUccAGENInfe0363tNhaUc9X+JivtlzjWU53G0W3MdKUwpjsgXn6JdQ==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -33571,9 +33571,9 @@
"integrity": "sha512-6opFXMOFCSdQMSgscCRSoOYwh9BLbm3IQZ1bCjDW7YFLZU+UNwl41u1jCOrygr3UAuUsJFK7Bi7CAqkZQ7Zd2w=="
},
"@walmart/taskit-mini-app": {
- "version": "2.49.7",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.49.7.tgz",
- "integrity": "sha512-veasL4eZwplZw9C9KM7OsjTjSd9AImk2m+lifS53XuQOkhmEkWX0DuG/2yZFTe1cxa3evFJbLvuCKIZCzKPrdQ=="
+ "version": "2.49.8",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.49.8.tgz",
+ "integrity": "sha512-4Ozv3GIQ4ED0JyfbBAMCHK+QqlxGE+zpUccAGENInfe0363tNhaUc9X+JivtlzjWU53G0W3MdKUwpjsgXn6JdQ=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
@@ -45258,4 +45258,4 @@
}
}
}
-}
\ No newline at end of file
+}
--- package.json
@@ -126,7 +126,7 @@
"@walmart/schedule-mini-app": "0.63.0",
"@walmart/shelfavailability-mini-app": "1.5.18",
"@walmart/store-feature-orders": "1.24.0",
- "@walmart/taskit-mini-app": "2.49.7",
+ "@walmart/taskit-mini-app": "2.49.8",
"@walmart/texting-mini-app": "2.1.3",
"@walmart/time-clock-mini-app": "2.175.2",
"@walmart/topstock-mini-app": "1.4.8",
| updated notes version | updated notes version
|
13051c9d0d14f027384b007b3b3383a4c8cc6b2f | --- ios/AllSpark.xcodeproj/project.pbxproj
@@ -221,7 +221,6 @@
buildPhases = (
53D455D8D940558DAEDE5BA8 /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
- 29FE566C24DAA68B9B876CC3 /* [CP] Prepare Artifacts */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
@@ -317,24 +316,6 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
- 29FE566C24DAA68B9B876CC3 /* [CP] Prepare Artifacts */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh",
- "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/Frameworks/DMSDK.xcframework",
- );
- name = "[CP] Prepare Artifacts";
- outputPaths = (
- "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh\"\n";
- showEnvVarsInLog = 0;
- };
53D455D8D940558DAEDE5BA8 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -408,7 +389,7 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
- "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/AVScannerViewController.xib",
+ "${BUILT_PRODUCTS_DIR}/react-native-wm-barcode/react_native_wm_barcode.framework/AVScannerViewController.nib",
"${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/scanbeep.wav",
"${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/DIGIMark-custom.ttf",
"${PODS_ROOT}/../../node_modules/react-native-wm-voice-text/ios/state-change_confirm-down.wav",
@@ -454,10 +435,11 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-frameworks.sh",
- "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
+ "${PODS_XCFRAMEWORKS_BUILD_DIR}/DMSDK/DMSDK.framework/DMSDK",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DMSDK.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
--- ios/BuildSupport/install-cocoapods.sh
@@ -5,7 +5,7 @@ set -x
echo "Current Directory: $WORKSPACE"
echo "Installing CocoaPods"
-CCP_VER=1.9.3
+CCP_VER=1.10.1
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
@@ -20,6 +20,6 @@ pod_path=$(ruby -r rubygems -e 'puts Gem.user_dir')/bin
echo "pod_path ${pod_path}"
ls -l ${pod_path}/pod
-pod _1.9.3_ --version
+pod _${CCP_VER}_ --version
echo "pod install"
-pod _1.9.3_ install --repo-update --verbose
+pod _${CCP_VER}_ install --repo-update --verbose
--- ios/Podfile.lock
@@ -356,9 +356,9 @@ PODS:
- React
- react-native-webview (10.10.0):
- React-Core
- - react-native-wm-barcode (2.9.0):
+ - react-native-wm-barcode (2.25.0):
- React
- - react-native-wm-voice-text (0.4.1):
+ - react-native-wm-voice-text (0.3.1):
- React
- React-RCTActionSheet (0.63.2):
- React-Core/RCTActionSheetHeaders (= 0.63.2)
@@ -809,8 +809,8 @@ SPEC CHECKSUMS:
react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444
react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
- react-native-wm-barcode: 1f16edb27dac807563ed08edc9d0ba042e9a182d
- react-native-wm-voice-text: 80c0b59ff0fab4daf179ee430e4ea285181e3891
+ react-native-wm-barcode: eeee6215ce0f2969b7648fee8015745d175269ce
+ react-native-wm-voice-text: 498a87b567be0074720a30386a22b1e7cde873f5
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
@@ -855,4 +855,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 567b62a30f7dd8da9c40b835f39a00c574423a67
-COCOAPODS: 1.9.3
+COCOAPODS: 1.10.1
--- package-lock.json
@@ -12370,9 +12370,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "1.1.0-alpha-beta-gamma",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.1.0-alpha-beta-gamma.tgz",
- "integrity": "sha512-IKrMr9+8meCCCYVLfPINbNJ41VIL/XBfloc0IEfa9Jr5ZMbfeFgc1N/PcpFRZN/pupGc0mI9pFZpy/sejduwbQ=="
+ "version": "1.1.0-alpha",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-1.1.0-alpha.tgz",
+ "integrity": "sha512-iZU1S/uRB0QHszUl59matVdHh3FscJRRS2MTjNAEcLV5wCh8ATnZlry/bTRflMYl7C09T+P42uTM6phCYkBxLg=="
},
"react-native-sumo-sdk": {
"version": "2.7.4-rc.9",
| updating dependencies and other barcode version | updating dependencies and other barcode version
|
175f05562d4d444f4f8c25eaaca7eb6d5d854b91 | --- packages/allspark-foundation/src/Navigation/client.tsx
@@ -394,9 +394,9 @@ export class NavigationClient<
}
// Call navigate on the navigation container ref
- this._ref.current?.navigateDeprecated(
- ...this._buildNavigateParams(name.toString(), params)
- );
+ const { navigateDeprecated, navigate } = this._ref.current || {};
+ const navigateFunc = navigateDeprecated || navigate;
+ navigateFunc?.(...this._buildNavigateParams(name.toString(), params));
};
/**
| feat(nav): ALLSPARK-0000 fix navigation v6. (#415) | feat(nav): ALLSPARK-0000 fix navigation v6. (#415)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
de23fb2cc6c7f52dad1719b317e3b503a9cc6bfe | --- package-lock.json
@@ -31460,7 +31460,7 @@
},
"packages/allspark-foundation": {
"name": "@walmart/allspark-foundation",
- "version": "6.3.0",
+ "version": "6.4.0",
"dependencies": {
"@apollo/client": "^3.8.6",
"@graphql-codegen/cli": "^5.0.0",
@@ -33332,7 +33332,7 @@
},
"packages/me-at-walmart-container": {
"name": "@walmart/me-at-walmart-container",
- "version": "6.3.0",
+ "version": "6.3.1",
"license": "ISC",
"dependencies": {
"@walmart/allspark-utils": "^6.3.0",
@@ -33348,7 +33348,7 @@
"@react-native-firebase/perf": "~17.4.2",
"@types/seamless-immutable": "7.1.16",
"@walmart/allspark-authentication": "^6.3.0",
- "@walmart/allspark-foundation": "^6.3.0",
+ "@walmart/allspark-foundation": "^6.4.0",
"@walmart/config-components": "4.2.13",
"@walmart/me-at-walmart-common": "^6.3.0",
"@walmart/react-native-encrypted-storage": "~1.1.13",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [6.4.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@6.3.0...@walmart/allspark-foundation@6.4.0) (2024-05-20)
+
+### Features
+
+- add capability to list libraries and versions within environment ([3bb17c4](https://gecgithub01.walmart.com/allspark/allspark/commit/3bb17c4036bb688e65899a39ad4b7aa68def6316))
+- add capability to tag device version with modifier through redux action ([b8e5a46](https://gecgithub01.walmart.com/allspark/allspark/commit/b8e5a46a84cd424da9a0b3a6381d59db7a54a333))
+
# [6.3.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@2.2.4...@walmart/allspark-foundation@6.3.0) (2024-05-16)
### Bug Fixes
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "6.3.0",
+ "version": "6.4.0",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-container/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.
+## [6.3.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-container@6.3.0...@walmart/me-at-walmart-container@6.3.1) (2024-05-20)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-container
+
# [6.3.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-container@2.0.4...@walmart/me-at-walmart-container@6.3.0) (2024-05-16)
# 6.2.0 (2024-05-15)
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.3.0",
+ "version": "6.3.1",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -33,7 +33,7 @@
"@react-native-firebase/perf": "~17.4.2",
"@types/seamless-immutable": "7.1.16",
"@walmart/allspark-authentication": "^6.3.0",
- "@walmart/allspark-foundation": "^6.3.0",
+ "@walmart/allspark-foundation": "^6.4.0",
"@walmart/config-components": "4.2.13",
"@walmart/me-at-walmart-common": "^6.3.0",
"@walmart/react-native-encrypted-storage": "~1.1.13",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@6.4.0
- @walmart/me-at-walmart-container@6.3.1
|
41115129df001fe9c7c46095b0f0a1bbcf4faca2 | --- packages/allspark-foundation/src/Components/SharedComponents.tsx
@@ -41,8 +41,13 @@ class SharedComponentManager<ParamList extends Record<string, any>> {
public Component = <K extends keyof ParamList>(props: {
id: K;
props: ParamList[K];
- }) => {
- const { id, props: componentProps = {} } = props;
+ Fallback?: (p: ParamList[K]) => React.JSX.Element;
+ }): React.JSX.Element => {
+ const {
+ id,
+ props: componentProps = {} as any,
+ Fallback = () => null,
+ } = props;
const Component = this._components[id];
const recordChangeListener = useMemo(
@@ -58,10 +63,9 @@ class SharedComponentManager<ParamList extends Record<string, any>> {
useRenderOnChange(recordChangeListener);
if (!Component) {
- return null;
+ return <Fallback {...componentProps} />;
}
- // @ts-ignore
return <Component {...componentProps} />;
};
}
| feat: add fallback component option for shared components | feat: add fallback component option for shared components
|
9c1befdc92c740c253f83d3060b7b4849a133d70 | --- src/modals/index.ts
@@ -18,7 +18,7 @@ export const rosterModals = {
'roster.ShiftSwitcherModal': {
modal: ShiftSwitcherModal,
backBehavior: undefined,
- disableFlingGesture: true,
+ disableFlingGesture: false,
containerStyle: style.modalContainer,
},
};
| fix(ui): update modal screen for roster | fix(ui): update modal screen for roster
|
dde3ffece9fed9fbefdf4059e58655a09b60772e | --- 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.15.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.14.7...@walmart/allspark-foundation-hub@1.15.0) (2025-09-23)
+
+### Features
+
+- **ui:** removed unnecessary if check ([16f7402](https://gecgithub01.walmart.com/allspark/allspark/commit/16f7402093411d32a2c1ec7b35e5982d6968da3c))
+
## [1.14.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.14.6...@walmart/allspark-foundation-hub@1.14.7) (2025-09-18)
**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.14.7",
+ "version": "1.15.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.15.0
|
c09b7d17d195c7b27e5c6b9e8c8a5b53ce360ed8 | --- packages/me-at-walmart-container/__tests__/services/user/utils.test.ts
@@ -7,7 +7,9 @@ import {
inferDomainFromUpn,
inferDomain,
inferSiteId,
+ inferDomainFromDivision
} from '../../../src/services/user/utils';
+import {UserDomain} from '@walmart/me-at-walmart-common'
describe('Module Functions', () => {
describe('inferUserIdfromUpn', () => {
@@ -87,4 +89,23 @@ describe('Module Functions', () => {
expect(inferSiteId('user@domain.com')).toBeUndefined();
});
});
+
+ describe('test inferDomainFromDivision', () => {
+ it('verify dc user', () => {
+ ['3', '7', '13', '44'].map((div) => {
+ const result = inferDomainFromDivision(div)
+ expect(result).toBe(UserDomain.dc)
+ })
+ })
+
+ it('verify store/club user', () => {
+ const result = inferDomainFromDivision('1')
+ expect(result).toBe(UserDomain.store)
+ })
+
+ it('verify user domain out of scope number', () => {
+ const result = inferDomainFromDivision('0')
+ expect(result).toBe(undefined)
+ })
+ })
});
--- packages/me-at-walmart-container/src/services/user/transforms.ts
@@ -14,16 +14,12 @@ import {
inferSiteId,
inferUserIdfromUpn,
stripStoreFromUserId,
+ inferDomainFromDivision
} from './utils';
type UserResponse = GetLoggedInUserQuery['getLoggedInUser'];
type AssignedBusinessUnit = NonNullable<UserResponse>['assignedBusinessUnit'];
-const GCC_DOMAIN_MAP: Record<string, UserDomain> = {
- [GCC_TYPE_DOMAIN.HO]: UserDomain.homeoffice,
- [GCC_TYPE_DOMAIN.DC]: UserDomain.dc,
-};
-
export const DEFAULT_COUNTRY_CODE = 'US';
// Determine site related fields based on domain.
@@ -75,6 +71,11 @@ export const determineTeams = (assignedBusinessUnit: AssignedBusinessUnit) => {
return teams;
};
+export const determineDomainImpersonatedUser = (props: { workEmail: string | null | undefined, division: string }): string => {
+ const {workEmail, division} = props
+ return inferDomainFromUpn(workEmail || '') || inferDomainFromDivision(division) || UserDomain.homeoffice;
+}
+
// Convert auth token data to our expected redux user format
export const tokenDataToUser = (tokenData: TokenData) => {
const {upn, win} = tokenData;
@@ -181,14 +182,17 @@ export const transformImpersonateeData = (
impersonator: User
): ImpersonationUser => {
// workEmail works for store/club users, dc and homeoffice falls back to userId provided in impersonation form
- const userId = requestData.userId
+ const userId = stripStoreFromUserId(requestData.userId)
// workEmail works for store/club users, dc and homeoffice falls back to facilityNumber
const siteId = inferSiteId(data.workEmail || '') || data.facilityNumber || '';
- // workEmail works for store/club users, dc and homeoffice falls back to geographicCategoryCode
- const domain =
- inferDomainFromUpn(data.workEmail || '') ||
- GCC_DOMAIN_MAP[data.geographicCategoryCode?.toLocaleLowerCase()!] ||
- '';
+ const division = data.mdseDivNumber !== null
+ ? String(data.mdseDivNumber)
+ : String(data.facilityDivNumber)
+
+ // workEmail works for store/club users. In case if it missed, we falls back to look for it through division number
+ // 1 - store/club, 7 - dc. In case none of them match, we fallback to homeofiice.
+ const domain = determineDomainImpersonatedUser({workEmail: data.workEmail, division})
+
const win = data.win ? String(data.win) : impersonator.win;
const emailDomain =
domain === UserDomain.homeoffice ? 'homeoffice' : 'stores.us';
@@ -209,10 +213,7 @@ export const transformImpersonateeData = (
shift: data?.shift,
fullyQualifiedUserID: data.userId,
clockStatus: data.punch?.clockStatus,
- division:
- data.mdseDivNumber !== null
- ? String(data.mdseDivNumber)
- : String(data.facilityDivNumber),
+ division,
title:
data.jobCategoryCodeDesc !== null
? String(data.jobCategoryCodeDesc)
--- packages/me-at-walmart-container/src/services/user/utils.ts
@@ -1,5 +1,6 @@
import moment from 'moment-timezone';
import CryptoJS from 'crypto-js';
+import {divisionIsDC} from '@walmart/allspark-foundation/Site'
import {UserDomain} from '@walmart/me-at-walmart-common';
import {MeAtWalmartLoggerService} from '../logger';
import {BU_TYPE_DOMAIN} from './types';
@@ -11,7 +12,7 @@ export const inferUserIdfromUpn = (upnId: string) =>
upnId.replace(/@.*/, '').toLowerCase();
export const stripStoreFromUserId = (upnId: string) =>
- upnId.replace(/\.s(\S+)/, '').toLowerCase();
+ upnId.replace(/\.s(\S+)/i, '').toLowerCase();
// Regex Matcher for domain using from email (upn) id
export const stringMatchCreator = (regExp: RegExp) => (email: string) =>
@@ -120,3 +121,11 @@ export const generateImpersonationToken = (impersonatee: {
return signedToken;
};
+
+export const inferDomainFromDivision = (division: string): UserDomain | undefined => {
+ if (divisionIsDC(division)) {
+ return UserDomain.dc
+ }
+ if (division === '1') return UserDomain.store
+ return
+}
| fix(ui): ALLSPARK-5839 fix impersonated user domain (#4076) | fix(ui): ALLSPARK-5839 fix impersonated user domain (#4076)
* fix(ui): ALLSPARK-5839 fix impersonated user domain
* fix(ui): ALLSPARK-5838 strip user from store id for store/club domain
---------
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
75caf1ba8c4215acb5b78669b8618eddf64e371f | --- packages/mywalmart-firebase-config/__tests__/authenticate.test.ts
@@ -52,7 +52,7 @@ describe('authenticate', () => {
});
it('successfully signs in with custom token in dev environment', async () => {
- const mockToken = 'custom-firebase-token-123';
+ const mockHash = 'custom-firebase-token-123';
const mockUserCredential = {
user: {
uid: 'user-123'
@@ -69,7 +69,7 @@ describe('authenticate', () => {
externalUrl: 'https://dev.walmart.com'
}
} as any);
- mockPost.mockResolvedValue({data: {token: mockToken}} as any);
+ mockPost.mockResolvedValue({data: {token: mockHash}} as any);
mockSignInWithCustomToken.mockResolvedValue(mockUserCredential);
const result = await authModule.signInWithFirebase();
@@ -81,7 +81,7 @@ describe('authenticate', () => {
);
expect(mockSignInWithCustomToken).toHaveBeenCalledWith(
expect.objectContaining({signOut: mockSignOut}),
- mockToken
+ mockHash
);
expect(mockLogEvent).toHaveBeenCalledWith('sign_in_success');
expect(result).toEqual(mockUserCredential.user);
@@ -116,7 +116,7 @@ describe('authenticate', () => {
});
it('returns null and logs error when signInWithCustomToken fails', async () => {
- const mockToken = 'custom-firebase-token';
+ const mockHash = 'custom-firebase-token';
const mockError = new Error('Firebase auth error');
mockGetAuth.mockReturnValue({
@@ -129,7 +129,7 @@ describe('authenticate', () => {
externalUrl: 'https://dev.walmart.com'
}
} as any);
- mockPost.mockResolvedValue({data: {token: mockToken}});
+ mockPost.mockResolvedValue({data: {token: mockHash}});
mockSignInWithCustomToken.mockRejectedValue(mockError);
const result = await authModule.signInWithFirebase();
| fix(test): fixed var name for looper security issue (#5091) | fix(test): fixed var name for looper security issue (#5091)
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com> |
9a16ff27f1b950e4d73497298e2dd4f1f669e5ae | --- scripts/updateiOSProjectConfig.sh
@@ -79,23 +79,28 @@ fi
## Find and replace the Team Id
echo "Updating \"$ENTERPRISE_TEAM_ID\" with Team Id \"$TEAM_ID\" "
-sed -i.bak "s/$ENTERPRISE_TEAM_ID|$iTUNESCONNECT_TEAM_ID/$TEAM_ID/" ${plist} && rm ${plist}.bak
+# sed -i.bak "s/$ENTERPRISE_TEAM_ID|$iTUNESCONNECT_TEAM_ID/$TEAM_ID/" ${plist} && rm ${plist}.bak
+sed -i.bak -e "s/$ENTERPRISE_TEAM_ID/$TEAM_ID/" -e "s/$iTUNESCONNECT_TEAM_ID/$TEAM_ID/" ${plist} && rm ${plist}.bak
## Find and replace the storyboard name
echo "Updating Splash Screen \"$BETA_SPLASH_SCREEN_NAME\" with \"$SPLASH_SCREEN\" "
-sed -i.bak "s/$DEV_SPLASH_SCREEN_NAME|$BETA_SPLASH_SCREEN_NAME|$PROD_SPLASH_SCREEN_NAME|$TEFLON_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" ${plist} && rm ${plist}.bak
+# sed -i.bak "s/$DEV_SPLASH_SCREEN_NAME|$BETA_SPLASH_SCREEN_NAME|$PROD_SPLASH_SCREEN_NAME|$TEFLON_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" ${plist} && rm ${plist}.bak
+sed -i.bak -e "s/$DEV_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" -e "s/$BETA_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" -e "s/$PROD_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" -e "s/$TEFLON_SPLASH_SCREEN_NAME/$SPLASH_SCREEN/" ${plist} && rm ${plist}.bak
## Find and replace the Bundle Id
echo "Updating Bundle Id \"$BETA_BUNDLE_ID\" with \"$BUNDLE_ID\" "
-sed -i.bak "s/$BETA_BUNDLE_ID|$PROD_BUNDLE_ID/$BUNDLE_ID/" ${plist} && rm ${plist}.bak
+# sed -i.bak "s/$BETA_BUNDLE_ID|$PROD_BUNDLE_ID/$BUNDLE_ID/" ${plist} && rm ${plist}.bak
+sed -i.bak -e "s/$BETA_BUNDLE_ID/$BUNDLE_ID/" -e "s/$PROD_BUNDLE_ID/$BUNDLE_ID/" ${plist} && rm ${plist}.bak
## Find and replace the SumoAppGroupId
echo "Updating SumoAppGroupId Id \"$BETA_SUMO_GROUP_ID\" with \"$SUMO_GROUP_ID\" "
-sed -i.bak "s/$BETA_SUMO_GROUP_ID|$PROD_SUMO_GROUP_ID/$SUMO_GROUP_ID/" ${plist} && rm ${plist}.bak
+# sed -i.bak "s/$BETA_SUMO_GROUP_ID|$PROD_SUMO_GROUP_ID/$SUMO_GROUP_ID/" ${plist} && rm ${plist}.bak
+sed -i.bak -e "s/$BETA_SUMO_GROUP_ID/$SUMO_GROUP_ID/" -e "s/$PROD_SUMO_GROUP_ID/$SUMO_GROUP_ID/" ${plist} && rm ${plist}.bak
## Find and replace the CodePush deployment key
echo "Updating CodePushDeploymentKey with \"$CODE_PUSH_KEY\" "
-sed -i.bak "s/$BETA_CODE_PUSH_KEY|$DEV_CODE_PUSH_KEY|$PROD_CODE_PUSH_KEY/$CODE_PUSH_KEY/" ${plist} && rm ${plist}.bak
+# sed -i.bak "s/$BETA_CODE_PUSH_KEY|$DEV_CODE_PUSH_KEY|$PROD_CODE_PUSH_KEY/$CODE_PUSH_KEY/" ${plist} && rm ${plist}.bak
+sed -i.bak -e "s/$BETA_CODE_PUSH_KEY/$CODE_PUSH_KEY/" -e "s/$DEV_CODE_PUSH_KEY/$CODE_PUSH_KEY/" -e "s/$PROD_CODE_PUSH_KEY/$CODE_PUSH_KEY/" ${plist} && rm ${plist}.bak
########### Finished updating Info.plist file #############
@@ -106,22 +111,30 @@ pbxprojFile="${xcodeproj}/project.pbxproj"
## Find and replace AppIcon with the prod one (without beta or dev).
echo "Updating AppIcon \"$BETA_APP_ICON\" or \"$DEV_APP_ICON\" or \"$TEFLON_APP_ICON\" with \"$APP_ICON\" "
-sed -i.bak "s/\"$BETA_APP_ICON\";|\"$DEV_APP_ICON\";|\"$PROD_APP_ICON\";|\"$TEFLON_APP_ICON\";/\"$APP_ICON\";/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+# sed -i.bak "s/\"$BETA_APP_ICON\";|\"$DEV_APP_ICON\";|\"$PROD_APP_ICON\";|\"$TEFLON_APP_ICON\";/\"$APP_ICON\";/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+sed -i.bak -e "s/\"$BETA_APP_ICON\";/\"$APP_ICON\";/" -e "s/\"$DEV_APP_ICON\";/\"$APP_ICON\";/" -e "s/\"$PROD_APP_ICON\";/\"$APP_ICON\";/" -e "s/\"$TEFLON_APP_ICON\";/\"$APP_ICON\";/" ${pbxprojFile} && rm ${pbxprojFile}.bak
## Find and replace bundle ids.
echo "Updating Bundle Id \"$BETA_BUNDLE_ID\" with Bundle Id \"$BUNDLE_ID\" "
-sed -i.bak "s/$BETA_BUNDLE_ID;|$PROD_BUNDLE_ID;/$BUNDLE_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+# sed -i.bak "s/$BETA_BUNDLE_ID;|$PROD_BUNDLE_ID;/$BUNDLE_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+sed -i.bak -e "s/$BETA_BUNDLE_ID;/$BUNDLE_ID;/" -e "s/$PROD_BUNDLE_ID;/$BUNDLE_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
## Find and replace the Team Id
echo "Updating \"$ENTERPRISE_TEAM_ID\" with Team Id \"$TEAM_ID\" "
-sed -i.bak "s/$ENTERPRISE_TEAM_ID;|$iTUNESCONNECT_TEAM_ID;/$TEAM_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+# sed -i.bak "s/$ENTERPRISE_TEAM_ID;|$iTUNESCONNECT_TEAM_ID;/$TEAM_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+sed -i.bak -e "s/$ENTERPRISE_TEAM_ID;/$TEAM_ID;/" -e "s/$iTUNESCONNECT_TEAM_ID;/$TEAM_ID;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
## Find and replace provisiioning profiles.
echo "Updating InHouse Provisioning profile with \"$INHOUSE_PROVISION\" "
-sed -i.bak "s/$PROD_INHOUSE_PROVISIONING;|$BETA_INHOUSE_PROVISIONING;/$INHOUSE_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+# sed -i.bak "s/$PROD_INHOUSE_PROVISIONING;|$BETA_INHOUSE_PROVISIONING;/$INHOUSE_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+sed -i.bak -e "s/$PROD_INHOUSE_PROVISIONING;/$INHOUSE_PROVISION;/" -e "s/$BETA_INHOUSE_PROVISIONING;/$INHOUSE_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
echo "Updating Dev Provisioning profile with \"$DEV_PROVISION\" "
-sed -i.bak "s/$PROD_DEV_PROVISIONING;|$BETA_DEV_PROVISIONING;/$DEV_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+# sed -i.bak "s/$PROD_DEV_PROVISIONING;|$BETA_DEV_PROVISIONING;/$DEV_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
+sed -i.bak -e "s/$PROD_DEV_PROVISIONING;/$DEV_PROVISION;/" -e "s/$BETA_DEV_PROVISIONING;/$DEV_PROVISION;/" ${pbxprojFile} && rm ${pbxprojFile}.bak
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
| Updated iOS script | Updated iOS script
|
03db0ea9722fc3783ac19d9fb666caf518cd7966 | --- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/ActionButtonGroup/ActionButtonGroup.tsx
@@ -12,16 +12,18 @@ export const ActionButtonGroup = ({
}: ButtonGroupProps) => {
return (
<View style={styles.buttonContainer}>
- <Button
- variant='tertiary'
- size='small'
- onPress={onSecondaryButtonPress}
- accessibilityRole='button'
- accessibilityLabel={secondaryButtonLabel}
- testID='secondary-button'
- >
- {secondaryButtonLabel}
- </Button>
+ {secondaryButtonLabel && onSecondaryButtonPress && (
+ <Button
+ variant='tertiary'
+ size='small'
+ onPress={onSecondaryButtonPress}
+ accessibilityRole='button'
+ accessibilityLabel={secondaryButtonLabel}
+ testID='secondary-button'
+ >
+ {secondaryButtonLabel}
+ </Button>
+ )}
<View style={styles.primaryButtonContainer}>
<Button
variant='primary'
--- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/ActionButtonGroup/style.ts
@@ -5,8 +5,8 @@ export const buttonGroupStyles = StyleSheet.create({
buttonContainer: {
display: 'flex',
flexDirection: 'row',
- justifyContent: 'space-between',
- padding: 16,
+ justifyContent: 'space-around',
+ paddingVertical: 16,
alignItems: 'center',
borderTopColor: colors.gray['20'],
borderTopWidth: 1,
--- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/ActionButtonGroup/types.ts
@@ -1,6 +1,6 @@
export interface ButtonGroupProps {
- secondaryButtonLabel: string;
+ secondaryButtonLabel?: string;
primaryButtonLabel: string;
- onSecondaryButtonPress: () => void;
+ onSecondaryButtonPress?: () => void;
onPrimaryButtonPress: () => void;
}
--- packages/allspark-foundation-hub/src/HubFeature/Store/TeamSelection/Component/ErrorScreen.tsx
@@ -1,4 +1,5 @@
-import { Button, ErrorMessage, Link } from '@walmart/gtp-shared-components';
+import { ErrorMessage } from '@walmart/gtp-shared-components';
+import { ActionButtonGroup } from '../../../Shared/Components/ActionButtonGroup';
import React from 'react';
import { errorScreenStyles as styles } from '../styles';
import { View } from 'react-native';
@@ -35,20 +36,6 @@ export const ErrorScreen = ({
<ErrorMessage
accessibilityRole='alert'
accessibilityLabel={errorTitle}
- actions={
- <View style={styles.buttonContainer}>
- <Button
- size='medium'
- variant='primary'
- onPress={handlePrimaryButtonPress}
- >
- {primaryButtonText}
- </Button>
- <Link onPress={handleSecondaryButtonPress}>
- {secondaryButtonText}
- </Link>
- </View>
- }
media={
<TeamImage
accessibilityRole='image'
@@ -74,6 +61,12 @@ export const ErrorScreen = ({
>
{errorMessage}
</ErrorMessage>
+ <ActionButtonGroup
+ secondaryButtonLabel={secondaryButtonText}
+ primaryButtonLabel={primaryButtonText}
+ onPrimaryButtonPress={handlePrimaryButtonPress}
+ onSecondaryButtonPress={handleSecondaryButtonPress}
+ />
</View>
);
};
--- packages/allspark-foundation-hub/src/HubFeature/Store/translation.ts
@@ -74,7 +74,7 @@ export const enUS = {
errorScreen: {
title: 'Something went wrong',
message: 'Refresh this page to try again.',
- primaryButtonText: 'Refresh page',
+ primaryButtonText: 'Refresh',
secondaryButtonText: 'Cancel',
},
};
| feat: updated error screen to match figma | feat: updated error screen to match figma
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.