commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
2f1699d94da3df4e096f73b1d27a9af14f01e722 | --- __tests__/sumo/SumoSagasTest.ts
@@ -38,7 +38,6 @@ import {
import {
getSumoCharged,
getSumoChargeError,
- getSumoCharging,
getSumoOptIn,
getSumoProfile,
SumoActionCreators,
@@ -48,6 +47,7 @@ import {
handleNotificationPermission,
chargeSumo,
waitForSumoCharge,
+ waitForSumoSuccess,
getPreHireProfile,
getAssociateProfile,
getProfileForUser,
@@ -169,34 +169,46 @@ describe('waitForSumoCharge', () => {
it('handles when already charged', () => {
const iterator = waitForSumoCharge();
expect(iterator.next().value).toEqual(select(getSumoCharged));
- expect(iterator.next(true).value).toEqual(select(getSumoCharging));
- expect(iterator.next(false).value).toEqual(select(getSumoChargeError));
+ expect(iterator.next(true).value).toEqual(select(getSumoChargeError));
expect(iterator.next(false).done).toEqual(true);
});
it('handles when not charged but has charge error', () => {
const iterator = waitForSumoCharge();
expect(iterator.next().value).toEqual(select(getSumoCharged));
- expect(iterator.next(false).value).toEqual(select(getSumoCharging));
expect(iterator.next(false).value).toEqual(select(getSumoChargeError));
expect(iterator.next(true).done).toEqual(true);
});
- it('handles when not charged and not charging', () => {
+ it('handles when not charged and no error', () => {
const iterator = waitForSumoCharge();
expect(iterator.next().value).toEqual(select(getSumoCharged));
- expect(iterator.next(false).value).toEqual(select(getSumoCharging));
expect(iterator.next(false).value).toEqual(select(getSumoChargeError));
expect(iterator.next(false).value).toEqual(fork(chargeSumo));
expect(iterator.next().value).toEqual(take(SumoTypes.CHARGE_SUCCESS));
expect(iterator.next().done).toEqual(true);
});
+});
- it('handles when not charged and charging', () => {
- const iterator = waitForSumoCharge();
+describe('waitForSumoSuccess', () => {
+ it('handles when already charged', () => {
+ const iterator = waitForSumoSuccess();
expect(iterator.next().value).toEqual(select(getSumoCharged));
- expect(iterator.next(false).value).toEqual(select(getSumoCharging));
expect(iterator.next(true).value).toEqual(select(getSumoChargeError));
+ expect(iterator.next(false).done).toEqual(true);
+ });
+
+ it('handles when not charged but has charge error', () => {
+ const iterator = waitForSumoSuccess();
+ expect(iterator.next().value).toEqual(select(getSumoCharged));
+ expect(iterator.next(false).value).toEqual(select(getSumoChargeError));
+ expect(iterator.next(true).done).toEqual(true);
+ });
+
+ it('handles when not charged and no error', () => {
+ const iterator = waitForSumoSuccess();
+ expect(iterator.next().value).toEqual(select(getSumoCharged));
+ expect(iterator.next(false).value).toEqual(select(getSumoChargeError));
expect(iterator.next(false).value).toEqual(take(SumoTypes.CHARGE_SUCCESS));
expect(iterator.next().done).toEqual(true);
});
@@ -485,7 +497,7 @@ describe('onTokenChanged', () => {
const token = '12355';
const iterator = onTokenChanged();
expect(iterator.next().value).toEqual(select(getAuthToken));
- expect(iterator.next(token).value).toEqual(call(waitForSumoCharge));
+ expect(iterator.next(token).value).toEqual(call(waitForSumoSuccess));
expect(iterator.next().value).toEqual(
call(WmNotification.setAuthToken, token),
);
--- src/sumo/SumoSagas.ts
@@ -49,7 +49,6 @@ import {
getSumoCharged,
getSumoOptIn,
getSumoProfile,
- getSumoCharging,
getSumoChargeError,
} from './SumoRedux';
import {NotificationRef} from './SumoEvents';
@@ -108,13 +107,19 @@ export function* chargeSumo(): any {
// If not charged, will pause execution until charge success or failure
export function* waitForSumoCharge(): any {
const charged: boolean = yield select(getSumoCharged);
- const charging: boolean = yield select(getSumoCharging);
const chargeError: string | null = yield select(getSumoChargeError);
if (!charged && !chargeError) {
- if (!charging) {
- yield fork(chargeSumo);
- }
+ yield fork(chargeSumo);
+ yield take(SumoTypes.CHARGE_SUCCESS);
+ }
+}
+
+export function* waitForSumoSuccess() {
+ const charged: boolean = yield select(getSumoCharged);
+ const chargeError: string | null = yield select(getSumoChargeError);
+
+ if (!charged && !chargeError) {
yield take(SumoTypes.CHARGE_SUCCESS);
}
}
@@ -258,7 +263,7 @@ export function* onUserChange() {
export function* onTokenChanged() {
const token: string = yield select(getAuthToken);
- yield call(waitForSumoCharge);
+ yield call(waitForSumoSuccess);
yield call(WmNotification.setAuthToken, token);
}
| Updating sagas | Updating sagas
|
84bf283d20ea1303b4d39faed8cae4ca6d62d223 | --- package-lock.json
@@ -3059,9 +3059,9 @@
"integrity": "sha512-xScS3+/bnwlSFENS31yokqgl9pN0G1DcY8/amLstP2BeBk/kx6DxNq5BmMWg1o1J+K3rWZubcv8LZA2arqIVpQ=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.49",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.49.tgz",
- "integrity": "sha512-YZTEHhJej2PKIzPJ2k+MC2/zBx59WaDeFBQUKQJM3wxNVF0JMUaymPRPzAhaZYX0oN7cB0e14cxzN3Unk+8foA=="
+ "version": "0.0.50",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.50.tgz",
+ "integrity": "sha512-1c2ojj3Lt4ruq6DJsvnHZvQ8+3YSfxU0YnkHDZEgIGPbvv7aBku7F+IGl0/2br2zxIGN0gzDUSQBdd6QA6kw3A=="
},
"@walmart/functional-components": {
"version": "1.0.27",
| Update package-lock.json | Update package-lock.json |
574d2ed88807e659ca31b67fe19fbcb08afef032 | --- package-lock.json
@@ -66,7 +66,7 @@
"@walmart/metrics-mini-app": "0.15.14",
"@walmart/mod-flex-mini-app": "1.11.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.5",
+ "@walmart/money-auth-shared-components": "0.0.6",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
"@walmart/payrollsolution_miniapp": "0.131.15",
@@ -8820,9 +8820,9 @@
}
},
"node_modules/@walmart/money-auth-shared-components": {
- "version": "0.0.5",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.5.tgz",
- "integrity": "sha512-sY+AOL4mqGIoR1eqOpK+lAFNCpUAyAki0X1uKMAjTOWTYqBCG5FB+/VqS4wioWc+Mxmh9yZgFmIMnUBxZo+fWQ==",
+ "version": "0.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.6.tgz",
+ "integrity": "sha512-B6iG71kgi1BDl5BvsoulhV/k0KicHBQ1psjFG9dt/Ta0yp5obdsENeoKIL5/FhJYkN70hZgtbaX4krH2ezzd+g==",
"hasInstallScript": true,
"dependencies": {
"crypto-js": "^3.3.0",
@@ -34458,9 +34458,9 @@
"version": "1.0.4"
},
"@walmart/money-auth-shared-components": {
- "version": "0.0.5",
- "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.5.tgz",
- "integrity": "sha512-sY+AOL4mqGIoR1eqOpK+lAFNCpUAyAki0X1uKMAjTOWTYqBCG5FB+/VqS4wioWc+Mxmh9yZgFmIMnUBxZo+fWQ==",
+ "version": "0.0.6",
+ "resolved": "https://npme.walmart.com/@walmart/money-auth-shared-components/-/money-auth-shared-components-0.0.6.tgz",
+ "integrity": "sha512-B6iG71kgi1BDl5BvsoulhV/k0KicHBQ1psjFG9dt/Ta0yp5obdsENeoKIL5/FhJYkN70hZgtbaX4krH2ezzd+g==",
"requires": {
"crypto-js": "^3.3.0",
"react-native-drop-shadow": "^0.0.6"
--- package.json
@@ -107,7 +107,7 @@
"@walmart/metrics-mini-app": "0.15.14",
"@walmart/mod-flex-mini-app": "1.11.6",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/money-auth-shared-components": "0.0.5",
+ "@walmart/money-auth-shared-components": "0.0.6",
"@walmart/onewalmart-miniapp": "1.0.16",
"@walmart/pay-stub-miniapp": "0.10.15",
"@walmart/payrollsolution_miniapp": "0.131.15",
| bump version | bump version
|
2d90f5509f7932f6295ab7d5028f3c37aa39c54f | --- 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.23.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.22.2...@walmart/allspark-foundation-hub@1.23.0) (2025-11-11)
+
+### Features
+
+- **ui:** update my walmart hub to remove console logs and init load ([#485](https://gecgithub01.walmart.com/allspark/allspark/issues/485)) ([c6585c0](https://gecgithub01.walmart.com/allspark/allspark/commit/c6585c0bcc533ffb62536b2d0894c1d04fa9b241))
+
## [1.22.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.22.1...@walmart/allspark-foundation-hub@1.22.2) (2025-11-10)
**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.22.2",
+ "version": "1.23.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-athena-queries/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.
+# [6.37.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.36.1...@walmart/me-at-walmart-athena-queries@6.37.0) (2025-11-11)
+
+### Features
+
+- **ui:** update my walmart hub to remove console logs and init load ([#485](https://gecgithub01.walmart.com/allspark/allspark/issues/485)) ([c6585c0](https://gecgithub01.walmart.com/allspark/allspark/commit/c6585c0bcc533ffb62536b2d0894c1d04fa9b241))
+
## [6.36.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.36.0...@walmart/me-at-walmart-athena-queries@6.36.1) (2025-11-06)
### Bug Fixes
--- packages/me-at-walmart-athena-queries/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-athena-queries",
- "version": "6.36.1",
+ "version": "6.37.0",
"description": "> TODO: description",
"author": "rlane1 <russell.lane@walmart.com>",
"homepage": "",
--- packages/my-walmart-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.4.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.3.1...@walmart/my-walmart-hub@1.4.0) (2025-11-11)
+
+### Features
+
+- **ui:** update my walmart hub to remove console logs and init load ([#485](https://gecgithub01.walmart.com/allspark/allspark/issues/485)) ([c6585c0](https://gecgithub01.walmart.com/allspark/allspark/commit/c6585c0bcc533ffb62536b2d0894c1d04fa9b241))
+
## [1.3.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.3.0...@walmart/my-walmart-hub@1.3.1) (2025-11-10)
**Note:** Version bump only for package @walmart/my-walmart-hub
--- packages/my-walmart-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/my-walmart-hub",
- "version": "1.3.1",
+ "version": "1.4.0",
"description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation-hub@1.23.0
- @walmart/me-at-walmart-athena-queries@6.37.0
- @walmart/my-walmart-hub@1.4.0
|
f1e274389a934a77fe8c740f48475ba1b60b5878 | --- targets/US/android/app/src/main/java/com/walmart/stores/allspark/beta/MainActivity.kt
@@ -18,7 +18,6 @@ import org.devio.rn.splashscreen.SplashScreen
// @customization - Expo modules
import expo.modules.ReactActivityDelegateWrapper
-import com.walmart.stores.allspark.beta.BuildConfig
class MainActivity: ReactActivity() {
| fix: build config imported twice in main activity | fix: build config imported twice in main activity
|
99932bd9f0da3e20740628215af7bdde728022b0 | --- packages/core-services-allspark/src/graphql/provider.tsx
@@ -27,12 +27,11 @@ export const AllsparkGraphqlProvider = (props: PropsWithChildren<{}>) => {
const logger = useLoggerClone<IAllsparkLogger>({}, { id: 'graphql' });
// const localStorage = useLocalStorage<IAllsparkLocalStorage>();
const athenaConfig = env.athena;
+ const useShadowGateway = env.env !== 'prod' && athenaConfig.useShadowGateway;
const httpClient = useHttpClientClone(
{
- baseURL: athenaConfig.useShadowGateway
- ? athenaConfig.shadowGateway
- : athenaConfig.url,
+ baseURL: useShadowGateway ? athenaConfig.shadowGateway : athenaConfig.url,
headers: {
'WM_SVC.NAME': ATHENA_SVC_NAME,
'WM_SVC.ENV': env.env,
@@ -43,17 +42,13 @@ export const AllsparkGraphqlProvider = (props: PropsWithChildren<{}>) => {
const links = useMemo(() => {
const loggerLink = createErrorLoggerLink(logger);
+ const defaultLinks = [contentTypeHeaderLink, typeRemappingLink, loggerLink];
- if (athenaConfig.useShadowGateway) {
- return [contentTypeHeaderLink, typeRemappingLink, loggerLink];
+ if (!useShadowGateway) {
+ return defaultLinks.unshift(athenaUriLink);
}
- return [
- contentTypeHeaderLink,
- athenaUriLink,
- typeRemappingLink,
- loggerLink,
- ];
+ return defaultLinks;
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
--- packages/core-services-allspark/src/types/index.ts
@@ -38,6 +38,7 @@ export type IAllsparkEnvConfig = EnvConfig & {
| {
url: string;
useShadowGateway?: false;
+ shadowGateway?: string;
}
| {
url: string;
| fix: add check for prod evn before using shadow gateway | fix: add check for prod evn before using shadow gateway
|
67b5b317465c8121b87ba775dff2da2df47474b4 | --- src/screens/ViewTeamScreen.tsx
@@ -27,9 +27,7 @@ export type ViewTeamScreenProps = {
export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => {
const {route, navigation} = props;
- const {teamRoster, teamData} = route.params;
- const clockedInCount = teamData?.getTeamById?.mewClockedInCount;
- const absentCount = teamData?.getTeamById?.mewAbsentCount;
+ const {teamRoster, teamData, clockedInCount, absentCount} = route.params;
let isStoreTeamItem = false;
if (teamData?.getTeamById === undefined) {
isStoreTeamItem = true;
--- src/screens/ViewTeamScreen.tsx
@@ -27,9 +27,7 @@ export type ViewTeamScreenProps = {
export const ViewTeamScreen: React.FC<ViewTeamScreenProps> = (props) => {
const {route, navigation} = props;
- const {teamRoster, teamData} = route.params;
- const clockedInCount = teamData?.getTeamById?.mewClockedInCount;
- const absentCount = teamData?.getTeamById?.mewAbsentCount;
+ const {teamRoster, teamData, clockedInCount, absentCount} = route.params;
let isStoreTeamItem = false;
if (teamData?.getTeamById === undefined) {
isStoreTeamItem = true;
| Updating view team screen clockedInCount and absentCount values | Updating view team screen clockedInCount and absentCount values
|
cff76980142a5071e7f3321e6b66fbcf6fe15fa9 | --- packages/me-at-walmart-container/src/redux/config.ts
@@ -188,7 +188,7 @@ export function* initAppConfig() {
// On user update, if any of the following fields change, we need to re-fetch app config
export function* onUserUpdate(action: IUserActions['UPDATE']) {
if (action.payload.userId || action.payload.workingSite) {
- yield fetchAppConfig();
+ yield call(fetchAppConfig);
}
}
--- packages/me-at-walmart-container/src/redux/logger.ts
@@ -148,7 +148,7 @@ export function* onUserChanged() {
// On user update, if any of the following fields change, we need to update the logger user info
export function* onUserUpdate(action: IUserActions['UPDATE']) {
if (action.payload.userId || action.payload.workingSite) {
- yield onUserChanged();
+ yield call(onUserChanged);
}
}
--- packages/me-at-walmart-container/src/redux/notification.ts
@@ -205,7 +205,7 @@ export function* onUserChange() {
// On user update, if any of the following fields change, we need to re-register with sumo
export function* onUserUpdate(action: IUserActions['UPDATE']) {
if (action.payload.userId || action.payload.workingSite) {
- yield onUserChange();
+ yield call(onUserChange);
}
}
--- packages/me-at-walmart-container/src/redux/telemetry.ts
@@ -83,7 +83,7 @@ export function* onUserChanged() {
// On user update, if any of the following fields change, we need to update the telemetry user info
export function* onUserUpdate(action: IUserActions['UPDATE']) {
if (action.payload.userId || action.payload.workingSite) {
- yield onUserChanged();
+ yield call(onUserChanged);
}
}
| chore: update sagas to use call effect | chore: update sagas to use call effect
|
712276ac43a966037c49fcf31bc563288694439c | --- package-lock.json
@@ -55,7 +55,7 @@
"@walmart/inbox-mini-app": "0.62.0",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.31",
+ "@walmart/me-field-mini-app": "1.1.32",
"@walmart/metrics-mini-app": "0.9.28",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
@@ -5963,8 +5963,8 @@
}
},
"node_modules/@walmart/me-field-mini-app": {
- "version": "1.1.31",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.31.tgz",
+ "version": "1.1.32",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.32.tgz",
"integrity": "sha512-MdcCmDOXeZ/LSy27S1gGwoNgsY+NjkBOPqgcP8CdVIisicNoveBbz49hVD6+nO9C4siIPyVTOqAh5uLFJ0408A==",
"peerDependencies": {
"@atmt/feedback-component-native": "^8.0.0",
@@ -29618,8 +29618,8 @@
"integrity": "sha512-7d62eBeJoUnnl5KOoDe+aOxU7C6VpkCM7Bl5iRgg1TMMqmUDM8iI2YDPRppU7hBr134Zbl5aVEGyR/IBQrPRxA=="
},
"@walmart/me-field-mini-app": {
- "version": "1.1.31",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.31.tgz",
+ "version": "1.1.32",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.32.tgz",
"integrity": "sha512-MdcCmDOXeZ/LSy27S1gGwoNgsY+NjkBOPqgcP8CdVIisicNoveBbz49hVD6+nO9C4siIPyVTOqAh5uLFJ0408A=="
},
"@walmart/metrics-mini-app": {
--- package.json
@@ -98,7 +98,7 @@
"@walmart/inbox-mini-app": "0.62.0",
"@walmart/iteminfo-mini-app": "6.0.1",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.31",
+ "@walmart/me-field-mini-app": "1.1.32",
"@walmart/metrics-mini-app": "0.9.28",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
| feat: :package: Bump learning mini app version to 1.1.32 | feat: :package: Bump learning mini app version to 1.1.32
|
4d5e80225a75ea8e3010c26c929fdc38dcf01fd9 | --- src/core/appConfigInit.ts
@@ -101,7 +101,7 @@ export function* getAppConfigScope(): any {
model,
siteId: `${siteId}`,
deviceType,
- teamIds: `[${teamIds.join(',')}]`,
+ teamIds: `${teamIds.join(',')}`,
},
} as AppConfigFetchParams;
}
--- src/navConfig/NavConfigSagas.ts
@@ -63,6 +63,7 @@ export function* getNavConfigScope(): any {
deviceType,
employeeType,
domain,
+ teamIds,
] = yield all([
select(UserSelectors.getUserId),
select(SiteSelectors.getUserWorkingSite),
@@ -75,6 +76,7 @@ export function* getNavConfigScope(): any {
select(DeviceInfoSelectors.getDeviceType),
select(UserSelectors.getUserEmployeeType),
select(UserSelectors.getUserDomain),
+ select(UserSelectors.getUserTeamIds),
]);
return {
@@ -90,6 +92,7 @@ export function* getNavConfigScope(): any {
env: env.deployment,
employeeType,
domain,
+ teamIds: `${teamIds.join(',')}`,
};
}
| teams id | teams id
(cherry picked from commit 0f7e70d6ac654466399a23802ae69238003f65db)
|
044e74ac4e84fa554711bf9d99cb46a80c9dfca3 | --- src/startup/AuthFlow.ts
@@ -37,16 +37,12 @@ export const isSilentSignInError = (error?: Error | AuthError) => {
return false;
}
- // If AuthError, stringify object to do easy string comparison on whole object
- if ("code" in error) {
- return SILENT_SSO_ERRORS.some((silentError) =>
- JSON.stringify(error)?.toLowerCase().includes(silentError)
- );
- }
-
- // If Error, do comparison on message field
- return SILENT_SSO_ERRORS.some((silentError) =>
- error?.message?.toLowerCase().includes(silentError)
+ return SILENT_SSO_ERRORS.some(
+ (silentError) =>
+ // If AuthError, stringify object to do easy string comparison on whole object
+ JSON.stringify(error)?.toLowerCase().includes(silentError) ||
+ // If Error, do comparison on message field
+ error.message?.toLowerCase().includes(silentError)
);
};
| fix: sign in error evalutation logic was breaking auth flow | fix: sign in error evalutation logic was breaking auth flow
|
f492f325b9e8b2cb1a18b4dfd26153c4270e3375 | --- packages/allspark-http-client/src/retryInterceptor.ts
@@ -3,13 +3,13 @@ import { RETRY_COUNT, RETRY_DELAY, RETRY_ERROR_CODES } from './constants';
import { isForceRetryRequired, isRetryRequired } from './utils';
import {
IHttpClient,
- HttpClientRequestConfig,
+ InternalHttpClientRequestConfig,
Interceptor,
HttpClientError,
} from './types';
export function retryRequestInterceptor(
- request: HttpClientRequestConfig & { __retryCount?: number }
+ request: InternalHttpClientRequestConfig & { __retryCount?: number }
) {
if (!request.__retryCount) {
request.__retryCount = 0;
--- packages/allspark-http-client/src/types.ts
@@ -5,13 +5,16 @@ import {
AxiosRequestConfig,
AxiosRequestHeaders,
AxiosResponse,
+ InternalAxiosRequestConfig,
RawAxiosRequestConfig,
} from 'axios';
export interface RequestInterceptor {
fulfilled?: (
- request: HttpClientRequestConfig
- ) => HttpClientRequestConfig | Promise<HttpClientRequestConfig>;
+ request: InternalHttpClientRequestConfig
+ ) =>
+ | InternalHttpClientRequestConfig
+ | Promise<InternalHttpClientRequestConfig>;
rejected?: (error: any) => any;
}
@@ -47,13 +50,19 @@ export interface HttpClientRequestConfig<D = any>
__retryCount?: number;
}
+export interface InternalHttpClientRequestConfig<D = any>
+ extends InternalAxiosRequestConfig<D>,
+ RetryConfig {
+ __retryCount?: number;
+}
+
export interface HttpClientResponse<T = any, D = any>
extends AxiosResponse<T, D> {
- config: HttpClientRequestConfig<D>;
+ config: InternalHttpClientRequestConfig<D>;
}
export interface HttpClientError<T = any, D = any> extends AxiosError<T, D> {
- config: HttpClientRequestConfig<D>;
+ config: InternalHttpClientRequestConfig<D>;
}
export interface HttpClientConfig extends RawAxiosRequestConfig, RetryConfig {
| chore: ts fix | chore: ts fix
|
fecbf02334aa0c2ee4fa38db8c852c0d6ed5f4a3 | --- __tests__/components/FilterChipGroup.test.tsx
@@ -110,20 +110,37 @@ describe('FilterChipGroup', () => {
});
it('deselects active filter chip when active filter chip is pressed again', () => {
- // The issue is here - we're creating a special mock function but checking the wrong mock in the tests
const handleFilterMock = jest.fn();
- const {getByText} = renderWithProviders(
- <FilterChipGroup
- {...defaultProps}
- selectedFilter={FilterValue.clockedIn} // Explicitly set this as the initially selected filter
- handleFilter={(filterId, shiftId) => {
- // This simulates the parent component's logic
- handleFilterMock(filterId, shiftId);
- }}
- />,
- );
-
+ // Create a component wrapper that actually implements the toggle behavior
+ // that would typically be in the parent component
+ const TestComponent = () => {
+ const [selectedFilter, setSelectedFilter] = useState<FilterValue>(
+ FilterValue.clockedIn,
+ );
+
+ const handleFilterWithToggle = (
+ filterId: FilterValue,
+ shiftId?: string,
+ ) => {
+ // This is the logic that would typically be in the parent:
+ // If the same filter is clicked again, reset to "all"
+ const newFilter =
+ filterId === selectedFilter ? FilterValue.all : filterId;
+ setSelectedFilter(newFilter);
+ handleFilterMock(newFilter, shiftId);
+ };
+
+ return (
+ <FilterChipGroup
+ {...defaultProps}
+ selectedFilter={selectedFilter}
+ handleFilter={handleFilterWithToggle}
+ />
+ );
+ };
+
+ const {getByText} = renderWithProviders(<TestComponent />);
const clockedInChip = getByText('193 Clocked in');
// Since clockedIn is already selected, pressing it should deselect
--- __tests__/screens/AllTeamsScreen.test.tsx
@@ -51,51 +51,23 @@ describe('AllTeams Screens', () => {
(SiteSelectors.getWorkingSiteIsDC as unknown as jest.Mock).mockReturnValue(
true,
);
- });
- // Mock hooks with appropriate data
- (hooks.useGetTeamById as jest.Mock).mockReturnValue({
- loading: false,
- data: {
- getTeamById: {
- teamName: 'Test Team',
- workgroup: 'Test Workgroup',
- },
- },
- error: null,
- });
-
- (hooks.useGetTeamsByStore as jest.Mock).mockReturnValue({
- loading: false,
- data: {
- getTeamsByStore: [
- {
- teamId: '1000333',
+ // Mock hooks with appropriate data
+ (hooks.useGetTeamById as jest.Mock).mockReturnValue({
+ loading: false,
+ data: {
+ getTeamById: {
teamName: 'Test Team',
workgroup: 'Test Workgroup',
- mewClockedInCount: 5,
},
- ],
- },
- refetch: jest.fn(),
- error: null,
- });
-
- (hooks.useTotalSiteOrTotalStore as jest.Mock).mockReturnValue('Total store');
-
- (hooks.useDailyRoster as jest.Mock).mockReturnValue({
- loading: false,
- data: {
- getDailyRoster: [],
- },
- refetch: jest.fn(),
- });
+ },
+ error: null,
+ });
- (hooks.useSupplyChainTeamsByBusinessUnit as jest.Mock).mockReturnValue({
- loading: false,
- data: {
- supplyChainTeamsByBusinessUnit: {
- teams: [
+ (hooks.useGetTeamsByStore as jest.Mock).mockReturnValue({
+ loading: false,
+ data: {
+ getTeamsByStore: [
{
teamId: '1000333',
teamName: 'Test Team',
@@ -104,16 +76,43 @@ describe('AllTeams Screens', () => {
},
],
},
- },
- refetch: jest.fn(),
+ refetch: jest.fn(),
+ error: null,
+ });
+
+ (hooks.useTotalSiteOrTotalStore as jest.Mock).mockReturnValue(
+ 'Total store',
+ );
+
+ (hooks.useDailyRoster as jest.Mock).mockReturnValue({
+ loading: false,
+ data: {
+ getDailyRoster: [],
+ },
+ refetch: jest.fn(),
+ });
+
+ (hooks.useSupplyChainTeamsByBusinessUnit as jest.Mock).mockReturnValue({
+ loading: false,
+ data: {
+ supplyChainTeamsByBusinessUnit: {
+ teams: [
+ {
+ teamId: '1000333',
+ teamName: 'Test Team',
+ workgroup: 'Test Workgroup',
+ mewClockedInCount: 5,
+ },
+ ],
+ },
+ },
+ refetch: jest.fn(),
+ });
});
-});
-afterEach(() => {
- jest.clearAllMocks();
- (SiteSelectors.getWorkingSiteIsDC as unknown as jest.Mock).mockReturnValue(
- true,
- );
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
it('should render the SupplyChainAllTeamsScreen loading state', () => {
(SiteSelectors.getWorkingSiteIsDC as unknown as jest.Mock).mockReturnValue(
| fix(bug): fix tests | fix(bug): fix tests
|
aedd664c9a89528003255d34f154d12220121444 | --- package.json
@@ -81,7 +81,7 @@
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
"@walmart/allspark-authentication": "6.4.10",
"@walmart/allspark-cope-key-listener": "0.0.18",
- "@walmart/allspark-foundation": "7.13.6",
+ "@walmart/allspark-foundation": "7.14.4",
"@walmart/allspark-foundation-hub": "1.20.1",
"@walmart/allspark-graphql-client": "~6.3.28",
"@walmart/allspark-http-client": "~6.3.28",
@@ -101,7 +101,7 @@
"@walmart/calling-mini-app": "0.8.18",
"@walmart/candidate-authentication-lib": "0.0.8",
"@walmart/checkout-mini-app": "4.19.0",
- "@walmart/clock-status-plugin": "0.12.0",
+ "@walmart/clock-status-plugin": "0.13.0",
"@walmart/compass-sdk-rn": "patch:@walmart/compass-sdk-rn@npm%3A6.4.5#~/.yarn/patches/@walmart-compass-sdk-rn-npm-6.4.5-8b11b421e3.patch",
"@walmart/config-components": "patch:@walmart/config-components@npm%3A4.12.1#~/.yarn/patches/@walmart-config-components-npm-4.12.1-935618cf47.patch",
"@walmart/core-services": "~6.5.2",
@@ -435,7 +435,7 @@
"react-native-svg": "15.11.2",
"@react-navigation/elements": "^2.2.6",
"@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch",
- "@walmart/allspark-foundation": "7.13.6",
+ "@walmart/allspark-foundation": "7.14.4",
"@walmart/allspark-utils": "7.1.0",
"@walmart/compass-sdk-rn": "patch:@walmart/compass-sdk-rn@npm%3A6.4.5#~/.yarn/patches/@walmart-compass-sdk-rn-npm-6.4.5-8b11b421e3.patch",
"@walmart/config-components": "patch:@walmart/config-components@npm%3A4.12.1#~/.yarn/patches/@walmart-config-components-npm-4.12.1-935618cf47.patch",
--- yarn.lock
@@ -7077,9 +7077,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/allspark-foundation@npm:7.13.6":
- version: 7.13.6
- resolution: "@walmart/allspark-foundation@npm:7.13.6::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.13.6.tgz"
+"@walmart/allspark-foundation@npm:7.14.4":
+ version: 7.14.4
+ resolution: "@walmart/allspark-foundation@npm:7.14.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fallspark-foundation%2F-%2F%40walmart%2Fallspark-foundation-7.14.4.tgz"
dependencies:
"@apollo/client": "npm:^3.8.6"
"@reduxjs/toolkit": "npm:^1.9.7"
@@ -7168,7 +7168,7 @@ __metadata:
optional: true
react-native-permissions:
optional: true
- checksum: 10c0/54bf760971709b76b9845dfe8b920ddb6c336b1a4757f5356d52d736f84bc9a867399ae874c0f5c823e4afa6bfc8b8b946821c98fe75b9a6f88e114e9b80d26a
+ checksum: 10c0/a1d68416632868770b2dea0a8d4f0f98beadedb22f28a6582810c5dfaeed79a0cea32cff91b13eb2c4e85ae585820c6883ccf0b4dceb91878c0246eacdcc9b0a
languageName: node
linkType: hard
@@ -7670,10 +7670,10 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/clock-status-plugin@npm:0.12.0":
- version: 0.12.0
- resolution: "@walmart/clock-status-plugin@npm:0.12.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fclock-status-plugin%2F-%2F%40walmart%2Fclock-status-plugin-0.12.0.tgz"
- checksum: 10c0/b489460c532abb2a2119454a326cb30396df76919cf567ae8012bfef39c7846c1ceeb971db63077f862b37b75b757d6b58d3a60b8982bda1d17baba640d34c04
+"@walmart/clock-status-plugin@npm:0.13.0":
+ version: 0.13.0
+ resolution: "@walmart/clock-status-plugin@npm:0.13.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fclock-status-plugin%2F-%2F%40walmart%2Fclock-status-plugin-0.13.0.tgz"
+ checksum: 10c0/947d84c65c0b7ca15d24d3908fcc7225a000ef88d9168d4f8d1237b159403870eaef4fb666240093688d6a5e56f96110774b33c2e99612ace29d207c19d0b1b3
languageName: node
linkType: hard
@@ -8458,7 +8458,7 @@ __metadata:
"@types/react-native-vector-icons": "npm:6.4.18"
"@walmart/allspark-authentication": "npm:6.4.10"
"@walmart/allspark-cope-key-listener": "npm:0.0.18"
- "@walmart/allspark-foundation": "npm:7.13.6"
+ "@walmart/allspark-foundation": "npm:7.14.4"
"@walmart/allspark-foundation-hub": "npm:1.20.1"
"@walmart/allspark-graphql-client": "npm:~6.3.28"
"@walmart/allspark-http-client": "npm:~6.3.28"
@@ -8478,7 +8478,7 @@ __metadata:
"@walmart/calling-mini-app": "npm:0.8.18"
"@walmart/candidate-authentication-lib": "npm:0.0.8"
"@walmart/checkout-mini-app": "npm:4.19.0"
- "@walmart/clock-status-plugin": "npm:0.12.0"
+ "@walmart/clock-status-plugin": "npm:0.13.0"
"@walmart/compass-sdk-rn": "patch:@walmart/compass-sdk-rn@npm%3A6.4.5#~/.yarn/patches/@walmart-compass-sdk-rn-npm-6.4.5-8b11b421e3.patch"
"@walmart/config-components": "patch:@walmart/config-components@npm%3A4.12.1#~/.yarn/patches/@walmart-config-components-npm-4.12.1-935618cf47.patch"
"@walmart/core-services": "npm:~6.5.2"
| chore(bump): bumped foundation and clock plugin | chore(bump): bumped foundation and clock plugin
|
cd67f18e2ad0d530ccb0a25c83ac9e1e4686bf8d | --- package.json
@@ -132,8 +132,8 @@
"@walmart/native-rfid-scanner": "4.1.4",
"@walmart/onewalmart-miniapp": "1.0.27",
"@walmart/online-w4-mini-app": "0.8.1",
- "@walmart/pay-stub-miniapp": "0.24.11",
- "@walmart/payrollsolution_miniapp": "0.151.9",
+ "@walmart/pay-stub-miniapp": "0.24.15",
+ "@walmart/payrollsolution_miniapp": "0.151.10",
"@walmart/persona-hub": "0.3.3",
"@walmart/price-changes-mini-app": "1.14.4",
"@walmart/profile-feature-app": "2.8.1-UPV2MyWalmart.6",
--- yarn.lock
@@ -8725,8 +8725,8 @@ __metadata:
"@walmart/native-rfid-scanner": "npm:4.1.4"
"@walmart/onewalmart-miniapp": "npm:1.0.27"
"@walmart/online-w4-mini-app": "npm:0.8.1"
- "@walmart/pay-stub-miniapp": "npm:0.24.11"
- "@walmart/payrollsolution_miniapp": "npm:0.151.9"
+ "@walmart/pay-stub-miniapp": "npm:0.24.15"
+ "@walmart/payrollsolution_miniapp": "npm:0.151.10"
"@walmart/persona-hub": "npm:0.3.3"
"@walmart/price-changes-mini-app": "npm:1.14.4"
"@walmart/profile-feature-app": "npm:2.8.1-UPV2MyWalmart.6"
@@ -9107,23 +9107,23 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/pay-stub-miniapp@npm:0.24.11":
- version: 0.24.11
- resolution: "@walmart/pay-stub-miniapp@npm:0.24.11::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fpay-stub-miniapp%2F-%2F%40walmart%2Fpay-stub-miniapp-0.24.11.tgz"
+"@walmart/pay-stub-miniapp@npm:0.24.15":
+ version: 0.24.15
+ resolution: "@walmart/pay-stub-miniapp@npm:0.24.15::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fpay-stub-miniapp%2F-%2F%40walmart%2Fpay-stub-miniapp-0.24.15.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
expo: 51.0.0
expo-sharing: 12.0.1
- checksum: 10c0/6e2b967a70c14bcebf43c6157a995fb38f300d2fa0c51749feb99ad36d97b1ca2320b74e502c06e5aa3480f8f812ee48fa869887b326512d7151c10a95840dd5
+ checksum: 10c0/32be120137fac5af7bc6ea6a7e60610120b20d3ae8be4c2b9221c847e2c2aae5c52382594c950605105caf2df11d1d8a693d1dbd569eb8decfef7b52083194c8
languageName: node
linkType: hard
-"@walmart/payrollsolution_miniapp@npm:0.151.9":
- version: 0.151.9
- resolution: "@walmart/payrollsolution_miniapp@npm:0.151.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fpayrollsolution_miniapp%2F-%2F%40walmart%2Fpayrollsolution_miniapp-0.151.9.tgz"
+"@walmart/payrollsolution_miniapp@npm:0.151.10":
+ version: 0.151.10
+ resolution: "@walmart/payrollsolution_miniapp@npm:0.151.10::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fpayrollsolution_miniapp%2F-%2F%40walmart%2Fpayrollsolution_miniapp-0.151.10.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
- checksum: 10c0/8f6b477044adf4c6c65282e8f247dec6ac9081c58df994cc5354677bba805d42884c85984b84d1cfd75736c2445dc71a563913ec4aba1c000411921055a00f0a
+ checksum: 10c0/a72720b6cedee14af2527113757da72e09236fb99bb459a366b636a5bdf7144c1851bc1edd3e5efb450d53dc1573f91a22dfe587d5f95dffa83d6078d7cde356
languageName: node
linkType: hard
| feat(payroll): PAYROLL-30426 (#4707) | feat(payroll): PAYROLL-30426 (#4707)
* bump version
* feat: bump version |
a930308d2657fbe9ba23b60700907c32d1b6805d | --- __tests__/hooks/user.test.ts
@@ -116,7 +116,7 @@ describe('useIsImpersonatedOnDev', () => {
});
describe('useTextingFeatureEnabled', () => {
- it.skip('should return true for the default mocked user', () => {
+ it('should return true for the default mocked user', () => {
(UserSelectors.getWorkingSite as jest.Mock).mockReturnValue('100');
(UserSelectors.getHomeSite as jest.Mock).mockReturnValue('100');
const {result} = renderHookWithProviders(() => useTextingFeatureEnabled());
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/wmconnect-mini-app",
- "version": "3.7.0",
+ "version": "3.7.1-alpha.0",
"main": "dist/index.js",
"files": [
"dist",
| chore(release): version 3.7.0-alpha.0 | chore(release): version 3.7.0-alpha.0
|
04ac8b0fdeb7a54b8fbd009c2b1b966f84f4e1c8 | --- example/ios/Podfile.lock
@@ -1290,7 +1290,7 @@ PODS:
- RNFBApp (17.4.3):
- Firebase/CoreOnly (= 10.7.0)
- React-Core
- - RNGestureHandler (2.17.1):
+ - RNGestureHandler (2.16.2):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
@@ -1682,7 +1682,7 @@ SPEC CHECKSUMS:
RNDeviceInfo: 42aadf1282ffa0a88dc38a504a7be145eb010dfa
RNFBAnalytics: 3bc4f4f28fad1caf0effaa21555da09f2c0be919
RNFBApp: 922564a99c97a8cab366d5a918f9fecff6b563d5
- RNGestureHandler: 67d3f1f69d4d0c98d6e83f4229e3bbf997d1dc72
+ RNGestureHandler: 96439cf6543defdde87459e48cd1a3f0e45a008e
RNPermissions: 438c75db343dc7cb218befcc63e3b5eb395f6f73
RNReanimated: d8498997f4cfd5561e0170916acffbd1ea4bcb43
RNScreens: e842cdccb23c0a084bd6307f6fa83fd1c1738029
| feat: revert podlock | feat: revert podlock
|
866fabd70602cd8a6a50c341645c357706ce10cb | --- package-lock.json
@@ -96,7 +96,7 @@
"@walmart/react-native-webex-sdk": "0.1.5",
"@walmart/receipt-check-miniapp": "1.19.3",
"@walmart/redux-store": "6.0.7",
- "@walmart/returns-mini-app": "3.13.0",
+ "@walmart/returns-mini-app": "4.6.0",
"@walmart/roster-mini-app": "1.0.20",
"@walmart/schedule-mini-app": "0.94.1",
"@walmart/shelfavailability-mini-app": "1.5.23",
@@ -12249,9 +12249,9 @@
}
},
"node_modules/@walmart/returns-mini-app": {
- "version": "4.5.0",
- "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-4.5.0.tgz",
- "integrity": "sha512-tGZVixzoC3CAeECi6iIntzalNgVOmnJc0g9KJQGCBWMeUEcbRoIP7h15WXCrVviBcPwXXH2cpsPYc0H8Vu/snQ==",
+ "version": "4.6.0",
+ "resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-4.6.0.tgz",
+ "integrity": "sha512-PZ5JJNUYAm1Nr+s80QaSyTLsiOARCNnW+UoA8UOyGdfYC2TgxERfNkjYnOQY8VGbp7J/vRY9cosnlHb6LW36Kg==",
"dependencies": {
"@walmart/common-utilities-js": "^1.2.10",
"@walmart/virtual-zpl-printer-model": "^0.2.11"
--- package.json
@@ -563,7 +563,9 @@
"rn-flipper-async-storage-advanced": "^1.0.5",
"solidarity": "^3.0.4",
"typescript": "4.8.4",
- "yargs": "^17.0.1"
+ "yargs": "^17.0.1",
+ "zustand": "^4.3.9",
+ "@stomp/stompjs": "^7.0.0"
},
"expo": {
"autolinking": {
| added zustand and stomp in ovverrides for allspark-core | added zustand and stomp in ovverrides for allspark-core
|
5ea2a95169c965590f5f1f97721d26d8b6a9a5ce | --- package.json
@@ -102,7 +102,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "6.1.4",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "2.5.3",
+ "@walmart/wmconnect-mini-app": "2.5.4",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- yarn.lock
@@ -6256,7 +6256,7 @@ __metadata:
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/ui-components": "npm:1.15.1"
- "@walmart/wmconnect-mini-app": "npm:2.5.3"
+ "@walmart/wmconnect-mini-app": "npm:2.5.4"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
eslint: "npm:8.22.0"
@@ -6389,9 +6389,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wmconnect-mini-app@npm:2.5.3":
- version: 2.5.3
- resolution: "@walmart/wmconnect-mini-app@npm:2.5.3"
+"@walmart/wmconnect-mini-app@npm:2.5.4":
+ version: 2.5.4
+ resolution: "@walmart/wmconnect-mini-app@npm:2.5.4"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6431,7 +6431,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/aa7976887414452342e144eac5d9351eef06ad5c801294c972a5d103a51ef00f7607ac7ead0f1eaa5839804a3e4c9962d17b340a923563a72b70cabbb54866db
+ checksum: 10c0/7442a7563e90f10f0caff7d6b1e81c5801433abcd99ab69d0e84405bbb6c3ae3cc517333789abe61765aa6dddc231ce94dce03a9688f5f0c14c700a1e103a0c4
languageName: node
linkType: hard
| chore(ui): bumped wmconnect version | chore(ui): bumped wmconnect version
|
08d572a8410998f19f2b74e6fc98507a0fc59489 | --- src/components/MyWalmartv2/Widgets/Hourly/HourlyRosterWidget.tsx
@@ -546,12 +546,12 @@ export const HourlyRosterWidget = ({
// Trigger data refetch
refetch();
- // Show skeleton for minimum time for better UX
- setTimeout(() => setIsRefreshLoading(false), 1000);
+ // OPTIMIZED: Reduced from 1000ms to 300ms for faster perceived performance
+ setTimeout(() => setIsRefreshLoading(false), 300);
}
}, [refresh, lastRefreshValue, refetch]);
- // Log refresh events for telemetry
+ // OPTIMIZED: Memoize refresh handler to prevent unnecessary re-renders
const handleRefresh = useCallback(async () => {
setInternalLoading(true);
setInternalError(false);
@@ -584,7 +584,7 @@ export const HourlyRosterWidget = ({
} finally {
setInternalLoading(false);
}
- }, [teamData, refresh, effectiveIsSiteDC, refetch]);
+ }, [teamData?.currentTeam, refresh, effectiveIsSiteDC, refetch]);
/**
* Filters the list of associates based on the search query and team data
--- src/components/MyWalmartv2/Widgets/SalariedOrTeamLead/SalariedOrTeamLeadRosterWidget.tsx
@@ -142,27 +142,29 @@ const SalariedOrTeamLeadRosterWidgetCore: React.FC<
isPartialGetTeamsByStoreError ||
isPartialSupplyChainTeamsError;
- // Handle refresh prop changes with loading state - only trigger if value changed
- useEffect(() => {
- if (refresh && refresh !== lastRefreshValue) {
- if (__DEV__) {
- logger.info('SalariedRosterWidget refresh triggered', {
- message: 'Hub triggered widget refresh',
- refreshValue: refresh,
- previousValue: lastRefreshValue,
- widgetId: 'salaried-or-team-lead-roster-widget',
- });
- }
- setIsRefreshLoading(true);
- setLastRefreshValue(refresh);
- // Reset retry count on Hub refresh
- setRetryCount(0);
- setLastRetryTime(0);
- // The onRefresh will be called by the hook, we just track loading state
- setTimeout(() => setIsRefreshLoading(false), 1000); // Show skeleton for 1 second minimum
+ // Handle refresh prop changes with loading state - optimized with useCallback
+ const handleHubRefresh = useCallback(() => {
+ if (!refresh || refresh === lastRefreshValue) return;
+
+ if (__DEV__) {
+ logger.info('SalariedRosterWidget refresh triggered', {
+ message: 'Hub triggered widget refresh',
+ refreshValue: refresh,
+ previousValue: lastRefreshValue,
+ widgetId: 'salaried-or-team-lead-roster-widget',
+ });
}
+ setIsRefreshLoading(true);
+ setLastRefreshValue(refresh);
+ setRetryCount(0);
+ setLastRetryTime(0);
+ setTimeout(() => setIsRefreshLoading(false), 300); // Reduced from 1000ms to 300ms
}, [refresh, lastRefreshValue]);
+ useEffect(() => {
+ handleHubRefresh();
+ }, [handleHubRefresh]);
+
// Combined loading state (initial load, refresh, or user-triggered refresh)
const combinedLoadingState = isLoading || isRefreshing || isRefreshLoading || isExternalLoading;
--- src/screens/MyWalmartV2/AssociateRosterDetailScreen/AssociateRosterDetailScreen.tsx
@@ -131,7 +131,7 @@ export const AssociateRosterDetailScreen = memo<RosterDetailScreenProps>(
() => (associatesConfig?.associates?.length ?? 0),
[associatesConfig?.associates]
);
-
+
// Consolidated error and empty state telemetry - deferred
useEffect(() => {
requestAnimationFrame(() => {
@@ -141,7 +141,7 @@ export const AssociateRosterDetailScreen = memo<RosterDetailScreenProps>(
team_id: String(primaryTeamId || "all"),
});
}
-
+
if (!associatesConfig?.loading && associateCount === 0) {
rosterTelemetry.logEvent("associate_roster_empty_shown", {
site_id: String(siteId || ""),
| feat(ui): update roster mini app for performance | feat(ui): update roster mini app for performance
|
02bb5c3b5d28ed3d1121e71487e0f6d136fb93f5 | --- packages/allspark-foundation/__tests__/GraphQL/utils/generateSortedQuery.test.ts
@@ -1,6 +1,6 @@
import { parse } from 'graphql';
import { generateSortedQuery } from '../../../src/GraphQL/utils/generateSortedQuery';
-import { sortDocumentNode } from '../../../src/GraphQL/utils//sortDocumentNode';
+import { sortDocumentNode } from '../../../src/GraphQL/utils/sortDocumentNode';
jest.mock('../../../src/GraphQL/utils//sortDocumentNode', () => ({
sortDocumentNode: jest.fn(),
--- packages/allspark-foundation/__tests__/User/components/ImpersonationForm.test.tsx
@@ -26,11 +26,9 @@ describe('ImpersonationForm', () => {
afterEach(() => {
jest.clearAllMocks();
});
-
- test('should render snapshot', async () => {
+ it('should render snapshot', async () => {
//@ts-ignore
const { toJSON } = render(<ImpersonationForm />);
-
expect(toJSON()).toMatchSnapshot();
});
});
| code cleanup | code cleanup
|
eb379053aece901e22153c5f8f5a4dc713769a2f | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.2](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.9.1...@walmart/celebration-mini-app-graphql@1.9.2) (2025-10-30)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
## [1.9.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.9.0...@walmart/celebration-mini-app-graphql@1.9.1) (2025-10-30)
### Bug Fixes
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.9.1",
+ "version": "1.9.2",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-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.16.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.15.1...@walmart/celebration-mini-app@1.16.0) (2025-10-30)
+
+### Features
+
+- **ui:** update activity aware widget ([88c14d3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/88c14d35f28d766cb881a701042dd5cce051f431))
+
## [1.15.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.15.0...@walmart/celebration-mini-app@1.15.1) (2025-10-30)
### Bug Fixes
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.15.1",
+ "version": "1.16.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.16.0
- @walmart/celebration-mini-app-graphql@1.9.2
|
39a5385425d6eac0d3e2d8424677bface211a8b2 | --- src/images/assets/index.ts
@@ -24,6 +24,7 @@ const Images: {[key: string]: ImageURISource} = {
NotificationsIllustration: require('./notifications-illustration.png'),
OneIllustration: require('./one-illustration.png'),
PinIllustration: require('./pin-illustration.png'),
+ PriceChangeIllustration: require('./price-change-illustration.png'),
ProfileIllustration: require('./profile-illustration.png'),
RefrigerationBadge: require('./refrigeration-alarm-badge.png'),
StoreLocationPin: require('./store-location-pin.png'),
--- src/images/assets/price-change-illustration.png
Binary files /dev/null and b/src/images/assets/price-change-illustration.png differ
--- src/images/assets/profile-illustration.png
Binary files a/src/images/assets/profile-illustration.png and b/src/images/assets/profile-illustration.png differ
| update image for whats new | update image for whats new
|
349c9dbc2d3daf22b467a499a581f165868d845b | --- .yarn/patches/@walmart-allspark-foundation-npm-6.22.0-dfc90837c7.patch
@@ -1,53 +0,0 @@
-diff --git a/Site/types.d.ts b/Site/types.d.ts
-index 38f943aa44fb144370902cdf62f6d521112c6b5b..09b7bdf312f808b545378dac5a092982fdeec6af 100644
---- a/Site/types.d.ts
-+++ b/Site/types.d.ts
-@@ -35,26 +35,26 @@ export type Location = {
- address: Address;
- };
- export interface OperatingHours {
-- startTime: string;
-- endTime: string;
-+ startTime?: string | null;
-+ endTime?: string | null;
- }
- export type SpecialHourType = {
-- code: string;
-- description: string;
-+ code?: string | null;
-+ description?: string | null;
- };
- export type SpecialHour = {
-- name: string;
-- type: SpecialHourType;
-- hoursType: string;
-- operatingHours: OperatingHours;
--};
-+ name?: string | null;
-+ type?: SpecialHourType | null;
-+ hoursType?: string | null;
-+ operatingHours?: OperatingHours | null;
-+} | null;
- export type Language = {
- code: string;
- description: string;
- };
- export type Currency = {
-- code: string;
-- description: string;
-+ code?: string | null;
-+ description?: string | null;
- };
- export type TimeZone = {
- standard: string;
-@@ -78,8 +78,8 @@ export type Site = {
- division: Division;
- timeZone: TimeZone;
- currency: Currency;
-- language: Language;
-- specialHours: SpecialHour[];
-+ language?: Language;
-+ specialHours?: SpecialHour[] | null;
- isStoreOpen: boolean;
- hoursOpen: string;
- isOpenSunday: boolean;
--- packages/core-services-allspark/package.json
@@ -19,7 +19,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
- "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.22.0#~/.yarn/patches/@walmart-allspark-foundation-npm-6.22.0-dfc90837c7.patch",
+ "@walmart/allspark-foundation": "*",
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
"typescript": "5.0.4"
--- packages/me-at-walmart-common/package.json
@@ -20,7 +20,7 @@
"prepack": "npm run build"
},
"devDependencies": {
- "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.22.0#~/.yarn/patches/@walmart-allspark-foundation-npm-6.22.0-dfc90837c7.patch",
+ "@walmart/allspark-foundation": "*",
"typescript": "5.0.4"
},
"peerDependencies": {
--- yarn.lock
@@ -6533,7 +6533,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@walmart/core-services-allspark@workspace:packages/core-services-allspark"
dependencies:
- "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.22.0#~/.yarn/patches/@walmart-allspark-foundation-npm-6.22.0-dfc90837c7.patch"
+ "@walmart/allspark-foundation": "npm:*"
"@walmart/me-at-walmart-common": "workspace:^"
"@walmart/me-at-walmart-container": "workspace:^"
typescript: "npm:5.0.4"
@@ -7002,7 +7002,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@walmart/me-at-walmart-common@workspace:packages/me-at-walmart-common"
dependencies:
- "@walmart/allspark-foundation": "patch:@walmart/allspark-foundation@npm%3A6.22.0#~/.yarn/patches/@walmart-allspark-foundation-npm-6.22.0-dfc90837c7.patch"
+ "@walmart/allspark-foundation": "npm:*"
typescript: "npm:5.0.4"
peerDependencies:
"@reduxjs/toolkit": "*"
| removing patch | removing patch
|
2f0448d032d5dd14c40aa392bac08879583b9dad | --- targets/US/package.json
@@ -99,7 +99,7 @@
"@walmart/core-utils": "6.3.9",
"@walmart/core-widget-registry": "workspace:^",
"@walmart/counts-component-miniapp": "0.1.14",
- "@walmart/digital-locks-mini-app": "1.1.9",
+ "@walmart/digital-locks-mini-app": "1.1.9-rc.2",
"@walmart/emergency-mini-app": "1.30.5",
"@walmart/exception-mini-app": "1.8.11",
"@walmart/facilities-management-miniapp": "0.17.0",
--- yarn.lock
@@ -6708,9 +6708,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/digital-locks-mini-app@npm:1.1.9":
- version: 1.1.9
- resolution: "@walmart/digital-locks-mini-app@npm:1.1.9::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fdigital-locks-mini-app%2F-%2F%40walmart%2Fdigital-locks-mini-app-1.1.9.tgz"
+"@walmart/digital-locks-mini-app@npm:1.1.9-rc.2":
+ version: 1.1.9-rc.2
+ resolution: "@walmart/digital-locks-mini-app@npm:1.1.9-rc.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fdigital-locks-mini-app%2F-%2F%40walmart%2Fdigital-locks-mini-app-1.1.9-rc.2.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=6.0.0"
expo: 50.0.17
@@ -6724,7 +6724,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/09a9c317fd65f89f4d9f53b8aed33c656c99ce14a9e2a70007d9104ca72688ce5bd375248e1ba13906a54c53d967bbac095038c3c6c4c8730f9e80cb4dfce1ac
+ checksum: 10c0/97e10c74ece872874f9f25e5a29ffbb057332911041a7e0996e0d400a6f41a10ed84ceba2ff6c0ca36e3b7cb346eac5c4acb161258e92fb63c4c79f7665a750c
languageName: node
linkType: hard
@@ -7428,7 +7428,7 @@ __metadata:
"@walmart/core-utils": "npm:6.3.9"
"@walmart/core-widget-registry": "workspace:^"
"@walmart/counts-component-miniapp": "npm:0.1.14"
- "@walmart/digital-locks-mini-app": "npm:1.1.9"
+ "@walmart/digital-locks-mini-app": "npm:1.1.9-rc.2"
"@walmart/emergency-mini-app": "npm:1.30.5"
"@walmart/exception-mini-app": "npm:1.8.11"
"@walmart/facilities-management-miniapp": "npm:0.17.0"
| bump to 1.1.9-rc.2 | bump to 1.1.9-rc.2
|
890f159a852e0da8eb87bbb28624848409dcb645 | --- package.json
@@ -119,7 +119,7 @@
"@walmart/me-at-walmart-common": "workspace:^",
"@walmart/me-at-walmart-container": "workspace:^",
"@walmart/metrics-mini-app": "1.29.6",
- "@walmart/mod-flex-mini-app": "1.25.4",
+ "@walmart/mod-flex-mini-app": "1.26.3",
"@walmart/moment-walmart": "1.0.4",
"@walmart/money-auth-shared-components": "2.3.6",
"@walmart/myteam-mini-app": "1.26.0",
--- yarn.lock
@@ -8352,7 +8352,7 @@ __metadata:
"@walmart/me-at-walmart-common": "workspace:^"
"@walmart/me-at-walmart-container": "workspace:^"
"@walmart/metrics-mini-app": "npm:1.29.6"
- "@walmart/mod-flex-mini-app": "npm:1.25.4"
+ "@walmart/mod-flex-mini-app": "npm:1.26.3"
"@walmart/moment-walmart": "npm:1.0.4"
"@walmart/money-auth-shared-components": "npm:2.3.6"
"@walmart/myteam-mini-app": "npm:1.26.0"
@@ -8634,9 +8634,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/mod-flex-mini-app@npm:1.25.4":
- version: 1.25.4
- resolution: "@walmart/mod-flex-mini-app@npm:1.25.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.25.4.tgz"
+"@walmart/mod-flex-mini-app@npm:1.26.3":
+ version: 1.26.3
+ resolution: "@walmart/mod-flex-mini-app@npm:1.26.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.26.3.tgz"
peerDependencies:
"@react-navigation/drawer": ">=6"
"@react-navigation/material-top-tabs": ">=6"
@@ -8646,7 +8646,7 @@ __metadata:
"@walmart/allspark-utils": ">=6"
"@walmart/core-services-allspark": ">=6"
"@walmart/functional-components": ">=6"
- "@walmart/gtp-shared-components": ^2.2.5
+ "@walmart/gtp-shared-components": ^2.2.6
"@walmart/ims-print-services-ui": ^2.12.0
"@walmart/ui-components": ^1.7.0
crypto-js: ~4.2.0
@@ -8671,7 +8671,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
uuid: ^3.3.2
- checksum: 10c0/59fb3838345f3345f259681f3232c3c0f414f2b6e5601380110f6fc4cb64a444c9b86e7348d98eb5a7913e5f6f254e7ecdfebdc845af1fdb9590887a3cd238ab
+ checksum: 10c0/0f8410ed57c02d1794717c837512d4e12d15adbf56ad9922fedc31acf57b207ac31faf69cd983634e1dfea48bf0643f78577c2b63e6d582fc7c288ca2cc5f393
languageName: node
linkType: hard
| feat(modflex): OPIF-217716 View all tags on rail and disable printing image mod (#4185) | feat(modflex): OPIF-217716 View all tags on rail and disable printing image mod (#4185)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
a23c36f3d29e813fadbe1e8fe16596cd5a76069b | --- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.51-3638e0f32a.patch
@@ -0,0 +1,15 @@
+diff --git a/android_dynamic_modules/webex_dynamic_module/build.gradle b/android_dynamic_modules/webex_dynamic_module/build.gradle
+index 6969093fecbf1a70f4f94fcf32dddf156ddbcebe..ead8ac4da9795e3c59ec8c212dd7c2f5311b47ea 100644
+--- a/android_dynamic_modules/webex_dynamic_module/build.gradle
++++ b/android_dynamic_modules/webex_dynamic_module/build.gradle
+@@ -74,6 +74,10 @@ android {
+ exclude 'lib/x86_64/libc++_shared.so'
+ exclude 'lib/x86_64/libjsc.so'
+ exclude 'lib/arm64-v8a/libjsc.so'
++ exclude 'lib/arm64-v8a/liboboe.so'
++ exclude 'lib/armeabi-v7a/liboboe.so'
++ exclude 'lib/x86_64/liboboe.so'
++ exclude 'lib/x86/liboboe.so'
+ // pickFirst 'lib/arm64/libomnius-service-jni.so'
+ // pickFirst 'lib/x86/libomnius-service-jni.so'
+ // pickFirst 'lib/arm64-v8a/libomnius-service-jni.so'
--- package.json
@@ -139,7 +139,7 @@
"@walmart/react-native-shared-navigation": "~6.3.28",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/react-native-webex-sdk": "0.8.51",
+ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.8.51#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.51-3638e0f32a.patch",
"@walmart/receipt-check-miniapp": "1.32.4",
"@walmart/redux-store": "~6.3.28",
"@walmart/returns-mini-app": "4.17.4",
--- yarn.lock
@@ -7653,7 +7653,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:~6.3.28"
"@walmart/react-native-store-map": "npm:0.3.7"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/react-native-webex-sdk": "npm:0.8.51"
+ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.8.51#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.51-3638e0f32a.patch"
"@walmart/receipt-check-miniapp": "npm:1.32.4"
"@walmart/redux-store": "npm:~6.3.28"
"@walmart/returns-mini-app": "npm:4.17.4"
@@ -8200,6 +8200,17 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.51#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.51-3638e0f32a.patch":
+ version: 0.8.51
+ resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.51%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Freact-native-webex-sdk%252F-%252F%2540walmart%252Freact-native-webex-sdk-0.8.51.tgz#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.51-3638e0f32a.patch::version=0.8.51&hash=f42a59"
+ peerDependencies:
+ react: "*"
+ react-native: "*"
+ react-native-logger: "*"
+ checksum: 10c0/9a718dbcc3276c1d39307dc96f965d21cfb87fbf1bfd9a632d1a615bae7c155adb906ed5ad954dd7fc5ddf6d713cf592ac2aa880b3cd06993d408bedcb93c1b7
+ languageName: node
+ linkType: hard
+
"@walmart/receipt-check-miniapp@npm:1.32.4":
version: 1.32.4
resolution: "@walmart/receipt-check-miniapp@npm:1.32.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freceipt-check-miniapp%2F-%2F%40walmart%2Freceipt-check-miniapp-1.32.4.tgz"
| feat(fix): ALLSPARK-0000 fix android bundle issue (#4581) | feat(fix): ALLSPARK-0000 fix android bundle issue (#4581)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
14ae002cd5470a949000e3f247b05eb2d1b322da | --- packages/allspark-foundation/src/HubFeature/Hooks/useGetAllTeamsOfStore.ts
@@ -0,0 +1,53 @@
+import { useSelector } from 'react-redux';
+import { useGetTeamsByStoreQuery } from '@walmart/me-at-walmart-athena-queries';
+import { useState } from 'react';
+import { teamImageIcon } from '../Hub/Container/mockData';
+import { UserSelectors } from '@walmart/allspark-foundation/User';
+import { SiteSelectors } from '@walmart/allspark-foundation/Site';
+import moment from 'moment-timezone';
+import { TeamSwitcherTypes } from '../Hub/TeamSwitcher';
+import { ADMIN_SUPPORT_TEAMLABEL } from '../constant';
+
+const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => {
+ const customSort = (a: TeamSwitcherTypes, b: TeamSwitcherTypes): number => {
+ if (a.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return -1;
+ if (b.teamLabel === ADMIN_SUPPORT_TEAMLABEL) return 1;
+ return a.teamLabel.localeCompare(b.teamLabel);
+ };
+ return [...data].sort(customSort);
+};
+
+export const useGetAllTeamsOfStore = () => {
+ const homeSite = useSelector(UserSelectors.getHomeSite);
+ const workingSite = useSelector(UserSelectors.getWorkingSite);
+ const isOffSite = homeSite && workingSite && homeSite !== workingSite;
+ const [allTeamsOfStore, setAllTeamsOfStore] = useState<TeamSwitcherTypes[]>(
+ []
+ );
+
+ const countryCode: string | undefined = useSelector(
+ SiteSelectors.getWorkingSiteCountryCode
+ );
+ const { ...rest } = useGetTeamsByStoreQuery({
+ variables: {
+ countryCode: countryCode as string,
+ date: moment().format('YYYY-MM-DD'),
+ storeNbr: workingSite as string,
+ },
+ skip: !isOffSite,
+ onCompleted: (response) => {
+ const transformedTeamData =
+ response?.getTeamsByStore?.map((team) => ({
+ teamLabel: team?.teamName ?? '',
+ teamImage: team?.teamId ? teamImageIcon[team.teamId] : '',
+ teamId: team?.teamId ?? '',
+ })) || [];
+ setAllTeamsOfStore(sorter(transformedTeamData));
+ },
+ onError: () => {
+ // handle exception
+ },
+ });
+
+ return { isOffSite, allTeamsOfStore, ...rest };
+};
--- packages/allspark-foundation/src/HubFeature/Hub/TeamSwitcher/index.tsx
@@ -6,6 +6,7 @@ import { VerticalDivider } from './VerticalDivider';
import { AddEditButton } from './AddEditButton';
import { Skeleton } from '@walmart/gtp-shared-components';
import { useUserPreferences } from '../../Hooks/useUserPreferences';
+import { useGetAllTeamsOfStore } from '../../Hooks/useGetAllTeamsOfStore';
import { teamImageIcon } from '../Container/mockData';
import { useTeamHubImage } from '../../HubImages';
import { useDispatch, useSelector } from 'react-redux';
@@ -13,6 +14,12 @@ import { ManagerExperienceCreators } from '../../Redux/actions';
import { AllsparkNavigationClient } from '../../../Navigation';
import { UserSelectors } from '@walmart/allspark-foundation';
import { getDefaultTeamsForUserType } from '../Container/utils';
+import {
+ EMPTYPE_HOURLY,
+ EMPTYPE_SALARIED,
+ MANAGEMENT_TEAMID,
+ MANAGEMENT_TEAMLABEL,
+} from '../../constant';
export * from './types';
@@ -28,6 +35,7 @@ export const TeamSwitcher = ({
const styles = useMemo(() => TeamSwitcherStyles(), []);
const TeamImage = useTeamHubImage();
const dispatch = useDispatch();
+ const { isOffSite, allTeamsOfStore } = useGetAllTeamsOfStore();
const getTeamsData = useCallback(() => {
const totalStore = {
@@ -40,12 +48,22 @@ export const TeamSwitcher = ({
teamLabel: 'My teams',
teamImage: teamImageIcon.myTeams,
};
- if (teamData.length > 0) {
+ const management = {
+ teamId: MANAGEMENT_TEAMID,
+ teamLabel: MANAGEMENT_TEAMLABEL,
+ teamImage: teamImageIcon[MANAGEMENT_TEAMID],
+ };
+
+ if (isOffSite && empType === EMPTYPE_SALARIED) {
+ return [totalStore, management, ...allTeamsOfStore];
+ } else if (isOffSite && empType === EMPTYPE_HOURLY) {
+ return [totalStore, ...allTeamsOfStore];
+ } else if (teamData.length > 0) {
return [totalStore, myTeams, ...teamData];
} else {
return [totalStore, ...getDefaultTeamsForUserType(empType, userTeams)];
}
- }, [teamData, empType, userTeams]);
+ }, [teamData, empType, userTeams, isOffSite, allTeamsOfStore]);
useEffect(() => {
if (!selectedTeam) {
@@ -147,7 +165,9 @@ export const TeamSwitcher = ({
horizontal={true}
showsHorizontalScrollIndicator={false}
ListEmptyComponent={renderEmptyList}
- ListFooterComponent={<AddEditButton onPress={handleAddEditPress} />}
+ ListFooterComponent={
+ isOffSite ? <></> : <AddEditButton onPress={handleAddEditPress} />
+ }
/>
</View>
);
--- packages/allspark-foundation/src/HubFeature/constant.ts
@@ -4,3 +4,5 @@ export const EMPTYPE_SALARIED = 'S';
export const EMPTYPE_HOURLY = 'H';
export const MANAGEMENT_TEAMID = '1111111';
export const MANAGEMENT_TEAMLABEL = 'Management';
+export const ADMIN_SUPPORT_TEAMID = '1000100';
+export const ADMIN_SUPPORT_TEAMLABEL = 'Admin & Support';
| feat(ui): teamswitcher default state on change store | feat(ui): teamswitcher default state on change store
|
53383bfd1c22ad6986f84f195d70c5d62e83a33f | --- core/src/navigation/USHallway/AssociateHallwayNav/SideMenuContent.tsx
@@ -120,7 +120,6 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
return;
}
}
- console.log('$$$$$$ Route Name ', route, params);
setImmediate(() =>
// Look to rename mapping for new route name, if none found, use route name
navigation.navigate(SCREEN_RENAME_MAP[route] || route, {
| removed console log | removed console log
|
726d948cc6a3566af12b1419aa56a844719385a4 | --- src/index.tsx
@@ -21,7 +21,7 @@ import {PresenceProvider} from './presence/provider';
import {ChannelsProvider} from './channels/provider';
import {RNFBConfigAndroid, RNFBConfigiOS} from './constants';
import {initNotificationListeners} from './notification';
-import {MeganavScreen} from "./screens/MeganavScreen";
+import {MeganavScreen} from './screens/MeganavScreen';
export const LOGGER_FIELDS = {id: 'texting-mini-app'};
--- src/navigation/index.tsx
@@ -21,7 +21,6 @@ import {getEncryptedUserId} from '../redux/selectors';
import {buildMessageScreenOptions} from './utils';
import {TextingNavParamsMap} from './types';
import {MESSAGES_SCREEN_NAME} from '../constants';
-import {MeganavScreen} from '../screens/MeganavScreen';
const TextingStack = createStackNavigator<TextingNavParamsMap>();
--- src/index.tsx
@@ -21,7 +21,7 @@ import {PresenceProvider} from './presence/provider';
import {ChannelsProvider} from './channels/provider';
import {RNFBConfigAndroid, RNFBConfigiOS} from './constants';
import {initNotificationListeners} from './notification';
-import {MeganavScreen} from "./screens/MeganavScreen";
+import {MeganavScreen} from './screens/MeganavScreen';
export const LOGGER_FIELDS = {id: 'texting-mini-app'};
--- src/navigation/index.tsx
@@ -21,7 +21,6 @@ import {getEncryptedUserId} from '../redux/selectors';
import {buildMessageScreenOptions} from './utils';
import {TextingNavParamsMap} from './types';
import {MESSAGES_SCREEN_NAME} from '../constants';
-import {MeganavScreen} from '../screens/MeganavScreen';
const TextingStack = createStackNavigator<TextingNavParamsMap>();
| fixing lint errors | fixing lint errors
|
77df289503af319e0228cf4aafa1048b88c39936 | --- ios/Podfile.lock
@@ -16,7 +16,7 @@ PODS:
- BVLinearGradient (2.6.2):
- React-Core
- CocoaAsyncSocket (7.6.5)
- - compass-sdk-rn (4.0.0):
+ - compass-sdk-rn (4.2.0):
- React-Core
- DoubleConversion (1.1.6)
- FBLazyVector (0.70.9)
@@ -1164,7 +1164,7 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
- compass-sdk-rn: 0d89df3396f4a3da1d0eeea454a6e5f98373b3f3
+ compass-sdk-rn: 74054f14da7a76b2b36d48573e6c9da5bde06f2e
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
@@ -1310,4 +1310,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 428e0e59976a5af07a4bda2ef6a2bae4353919ea
-COCOAPODS: 1.12.0
+COCOAPODS: 1.11.3
| Updating the podfile.lock | Updating the podfile.lock
|
090ab9acb0f8aad61f5b0b7e9c775cb9445d8f3f | --- package-lock.json
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.1",
+ "@walmart/taskit-mini-app": "2.40.2",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
@@ -5994,9 +5994,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "2.40.1",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.1.tgz",
- "integrity": "sha512-rOVvAjMhCSszRKcPIa5SRGIKYz2N5gZnAzxEzBbsT58+EcE1jmmFoQsRpV8mhyA1Tmd55SYPfeWCQtWveLJeKQ==",
+ "version": "2.40.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.2.tgz",
+ "integrity": "sha512-FRRl352kNsF09+2w3zNfvRkdmyQuIbu42GmVrDoM4lJXQWLjrxWwKNdisvmwsxmN7aZQrqqEbIrPHEI9ECAGRw==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25384,9 +25384,9 @@
"version": "1.5.16"
},
"@walmart/taskit-mini-app": {
- "version": "2.40.1",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.1.tgz",
- "integrity": "sha512-rOVvAjMhCSszRKcPIa5SRGIKYz2N5gZnAzxEzBbsT58+EcE1jmmFoQsRpV8mhyA1Tmd55SYPfeWCQtWveLJeKQ=="
+ "version": "2.40.2",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.40.2.tgz",
+ "integrity": "sha512-FRRl352kNsF09+2w3zNfvRkdmyQuIbu42GmVrDoM4lJXQWLjrxWwKNdisvmwsxmN7aZQrqqEbIrPHEI9ECAGRw=="
},
"@walmart/tcnumber": {
"version": "2.3.3",
--- package.json
@@ -122,7 +122,7 @@
"@walmart/schedule-mini-app": "0.37.0",
"@walmart/settings-mini-app": "1.18.1",
"@walmart/shelfavailability-mini-app": "1.5.16",
- "@walmart/taskit-mini-app": "2.40.1",
+ "@walmart/taskit-mini-app": "2.40.2",
"@walmart/time-clock-mini-app": "2.98.0",
"@walmart/topstock-mini-app": "1.0.6",
"@walmart/ui-components": "1.15.0",
| Updated taskit version | Updated taskit version
|
8c34a20e4c301a53fdbca559742d46d8605d9912 | --- package.json
@@ -53,6 +53,8 @@
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react-native": "4.1.0",
+ "expo": "~52.0.46",
+ "expo-image": "~2.3.2",
"graphql": "^16.8.1",
"graphql-tag": "*",
"husky": "^9.0.11",
--- packages/allspark-foundation/__tests__/Feature/AllsparkFeatureModule.test.tsx
@@ -340,6 +340,31 @@ describe('_connectScreens', () => {
consoleLogSpy.mockRestore();
});
+ it('should not prepend CDN_BASE_URL to absolute URLs', async () => {
+ const mockImagePaths = [
+ 'relative/path/image.jpg',
+ 'https://example.com/absolute/path/image.png'
+ ];
+
+ jest.spyOn(allsparkFeatureModule as any, '_resolveCapability')
+ .mockReturnValue(mockImagePaths);
+
+ // Mock image existence checks to always return false (need to prefetch)
+ jest.spyOn(allsparkFeatureModule as any, '_imageExistsOnDisk')
+ .mockResolvedValue(false);
+
+ const prefetchSpy = jest.spyOn(Image, 'prefetch')
+ .mockResolvedValue(true);
+
+ await allsparkFeatureModule['_connectImages']();
+
+ // Verify prefetch was called with correct URLs
+ expect(prefetchSpy).toHaveBeenCalledWith([
+ `${CDN_BASE_URL}relative/path/image.jpg`,
+ 'https://example.com/absolute/path/image.png'
+ ], 'disk');
+ });
+
it('should log failure when some images fail to prefetch', async () => {
const mockImageNames = ['image1.jpg', 'image2.png'];
(allsparkFeatureModule as any)._prefetchedImages = mockImageNames;
--- packages/allspark-foundation/src/Feature/AllsparkFeatureModule.tsx
@@ -623,11 +623,14 @@ export class AllsparkFeatureModule<
}
const imagePaths = this._resolveCapability(this._prefetchedImages);
- const imageUrls = imagePaths?.map((imagePath) => {
- // Check https prefix to ignore prepending of CDN base url and make call as is.
- return imagePath.startsWith('https://') ? imagePath : CDN_BASE_URL + imagePath;
- }) || [];
-
+ const imageUrls =
+ imagePaths?.map((imagePath) => {
+ // Check https prefix to ignore prepending of CDN base url and make call as is.
+ return imagePath.startsWith('https://')
+ ? imagePath
+ : CDN_BASE_URL + imagePath;
+ }) || [];
+
if (!imageUrls.length) {
return;
}
--- packages/allspark-foundation/src/Feature/types.ts
@@ -138,7 +138,7 @@ export type AllsparkModuleConfig = {
translations?: FeatureCapability<IAllsparkTranslations>;
/**
- * @description Image names or urls to be prefetched. If only the name is provided,
+ * @description Image names or urls to be prefetched. If only the name is provided,
* `allspark-images` CDN base URL will be prepended to the name.
* Example: `metrics/cone-error-3212fb53c5.png`
*/
--- yarn.lock
@@ -10403,6 +10403,8 @@ __metadata:
eslint-plugin-jest: "npm:27.6.0"
eslint-plugin-prettier: "npm:5.1.3"
eslint-plugin-react-native: "npm:4.1.0"
+ expo: "npm:~52.0.46"
+ expo-image: "npm:~2.3.2"
graphql: "npm:^16.8.1"
graphql-tag: "npm:*"
husky: "npm:^9.0.11"
| chore(refactor): allspark-6216 addressed review comments by including provision for full urls | chore(refactor): allspark-6216 addressed review comments by including provision for full urls
|
a14abbbacc181199ecdbea05f2a56141c86a09a5 | --- android/app/build.gradle
@@ -140,7 +140,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 361
- versionName "1.3.0"
+ versionName "1.0.102"
}
splits {
abi {
--- ios/AllSpark/Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.3.0</string>
+ <string>1.0.102</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
| Updating the version to 1.0.102. | Updating the version to 1.0.102.
|
0cd149bf74bdc9ea668147d5dbc8bb87de97fb0f | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.10.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.9.16...@walmart/allspark-foundation-hub@1.10.0) (2025-07-01)
+
+### Bug Fixes
+
+- **ui:** update query skip config ([d2a56c5](https://gecgithub01.walmart.com/allspark/allspark/commit/d2a56c5053193a061a4f8f5a840aebe548263c6e))
+
+### Features
+
+- **ui:** fixed broken tests ([6b3cd98](https://gecgithub01.walmart.com/allspark/allspark/commit/6b3cd985400e7e3d154a88cb27b5062704f5b487))
+- **ui:** handling select logic ([4a9a616](https://gecgithub01.walmart.com/allspark/allspark/commit/4a9a616080630a819588a05b2dbbb51960c1d0c0))
+- **ui:** update manager experience dashboard fix ([d64033c](https://gecgithub01.walmart.com/allspark/allspark/commit/d64033cb2d594276dfa02cb4ff04213f598e3b5a))
+- **ui:** update manager experience queries for Drop 31 ([359e00a](https://gecgithub01.walmart.com/allspark/allspark/commit/359e00a05674eef54645f464dd5dbe0defcaba6c))
+- **ui:** update manager experience queries test for Drop 31 ([32ba663](https://gecgithub01.walmart.com/allspark/allspark/commit/32ba6633b151fbbadd1d3be8443d7eb97db0a64b))
+
## [1.9.16](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.9.15...@walmart/allspark-foundation-hub@1.9.16) (2025-06-19)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.9.16",
+ "version": "1.10.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.10.0
|
a307e8cb6d29555ab844078ea46482fee060ae5a | --- package-lock.json
@@ -5340,9 +5340,9 @@
"integrity": "sha512-/2CjaIpac1s3kOUHVYvfzDOXW0AJp96tuKT1TNj3GDYX68HUOztjrYsOlZz1/WEG55iNMAJrfENcnTNguf5s9w=="
},
"@walmart/push-to-talk-mini-app": {
- "version": "1.8.1",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.8.1.tgz",
- "integrity": "sha512-Ti8wOe6Jh3cWye1DfNj9aLQHdsmwrO5Jzlk8Tm2N6iTXXovmNj6cNPMZ5QE+UZOZx2GkDMeoT7k6VQIc1AEdFA=="
+ "version": "1.8.2",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.8.2.tgz",
+ "integrity": "sha512-JFvDwJpro5Lh4FfI3NVo50qusWMGT8xZtoiKJhBW3Fq31roCPY/hHgCekDCmb81Q8yM9np8d0+lp7QpBGY5eQg=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/payrollsolution_miniapp": "^0.123.2",
"@walmart/price-changes-mini-app": "1.2.3",
"@walmart/profile-feature-app": "0.0.39",
- "@walmart/push-to-talk-mini-app": "1.8.1",
+ "@walmart/push-to-talk-mini-app": "1.8.2",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.29.0",
"@walmart/react-native-shared-navigation": "1.0.2",
| updating package version | updating package version
|
359a136e1bc0d2acd1860f7e9d2f86bb6a37cc59 | --- package-lock.json
@@ -4333,9 +4333,9 @@
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.89.0",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.89.0.tgz",
- "integrity": "sha512-tQB6kj6sk3hfzaEeOmM5FYhl0WTtDNkL8cF+5lHAez8J3T4PIRBhKbR5m2cLgJDRm0pdXTlN0/fFQ5sJ+Jj8rQ=="
+ "version": "0.90.0",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.90.0.tgz",
+ "integrity": "sha512-9QAA6r1yVgcGk9xzg3cxhfAqcB6kSjUTos83aKC7f95VFV9L2GViaNGwv2kzwT7+8gCHA6lMM9+GQU4pZJUTeA=="
},
"@walmart/price-changes-mini-app": {
"version": "1.0.6",
@@ -4538,9 +4538,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.42.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.42.0.tgz",
- "integrity": "sha512-NKk1wAZ4ffg6AkwLdLCXPIXyOku4k07PTwhdWjHG6pqUmhcKfcGScywVsYi7mtIiM0ym1IzrOOM88B5+36mgyA=="
+ "version": "0.43.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.43.0.tgz",
+ "integrity": "sha512-Wzqr6Ai+c9q3DlXdT7+JRUqcmKWpWJEPwUD+hAcQzVO2FkWlDkT4AEruxHMmgej4Mr1u1+4xhj13re94og9kxw=="
},
"@walmart/wfm-ui": {
"version": "0.2.8",
--- package.json
@@ -89,7 +89,7 @@
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.5.21",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/payrollsolution_miniapp": "0.89.0",
+ "@walmart/payrollsolution_miniapp": "0.90.0",
"@walmart/price-changes-mini-app": "1.0.6",
"@walmart/push-to-talk-mini-app": "0.5.84",
"@walmart/react-native-env": "^0.2.0",
@@ -104,7 +104,7 @@
"@walmart/shelfavailability-mini-app": "0.8.0",
"@walmart/ui-components": "v1.3.0-rc.9",
"@walmart/time-clock-mini-app": "0.4.27",
- "@walmart/welcomeme-mini-app": "0.42.0",
+ "@walmart/welcomeme-mini-app": "0.43.0",
"@walmart/wfm-ui": "0.2.8",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| chore(WelcomeMe): WelcomeMeMiniApp v0.43.0 | PayrollMiniApp v0.90.0 | chore(WelcomeMe): WelcomeMeMiniApp v0.43.0 | PayrollMiniApp v0.90.0
|
9edd0a429c285ad986cb529678cde18f023bb619 | --- packages/me-at-walmart-container/src/graphql/policies.ts
@@ -106,6 +106,7 @@ export const TypePolicies: StrictTypedTypePolicies = {
keyFields: ['teamId', 'site'],
merge: true,
},
+ // @ts-ignore TODO: Regenerate apollo-helpers to fix this
TeamAssociateMembership: {
merge: true,
},
| chore: ignore type policy type error | chore: ignore type policy type error
|
c4dd42aeb5801b10da0919cec712aeddce937f50 | --- package-lock.json
@@ -61,7 +61,7 @@
"@walmart/ims-print-services-ui": "2.7.3",
"@walmart/inbox-mini-app": "0.89.2",
"@walmart/iteminfo-mini-app": "7.7.4",
- "@walmart/learning-mini-app": "17.0.4",
+ "@walmart/learning-mini-app": "18.0.2",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.7",
@@ -9115,9 +9115,9 @@
}
},
"node_modules/@walmart/learning-mini-app": {
- "version": "17.0.4",
- "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-17.0.4.tgz",
- "integrity": "sha512-vtWZVDSju83cb9zWf4OE4BeBCob7n5LDtGOqAfPGRZVmoiWwVtHRc5euWUKhd6ZS8P3p4On/oIRtit0FhW1q5A==",
+ "version": "18.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-18.0.2.tgz",
+ "integrity": "sha512-rKVnR+U/BqyH5sfiFee4GTNcIw/eNygRaneumgZ2m6VEkKf4iJX/cUo1KDjiJyBKWWbeLPc/5hpepGLpRhDyyw==",
"hasInstallScript": true,
"dependencies": {
"@livingdesign/tokens": "0.63.0",
@@ -9134,6 +9134,7 @@
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
"@types/graphql": "^14.5.0",
+ "@walmart/allspark-utils": "^1.5.2",
"@walmart/config-components": "^3.0.1",
"@walmart/core-services": "2.0.19",
"@walmart/core-services-allspark": "2.10.19",
@@ -29418,7 +29419,7 @@
"requires": {
"mv": "~2",
"safe-json-stringify": "~1",
- "uuid": "^8.0.0"
+ "uuid": "^3.3.2"
}
},
"@expo/cli": {
@@ -30108,7 +30109,7 @@
"md5": "^2.2.1",
"node-fetch": "^2.6.1",
"remove-trailing-slash": "^0.1.0",
- "uuid": "^8.3.2"
+ "uuid": "^3.3.2"
}
},
"@expo/sdk-runtime-versions": {
@@ -33371,9 +33372,9 @@
"integrity": "sha512-UCVExhoIlJK7LNCuZx2B0A5T/i++j1pC4ehaPf4y3U0HIUgWrHWISk0Gafk2Fk9oO/mauz9BgFPGEmfTmSfC3g=="
},
"@walmart/learning-mini-app": {
- "version": "17.0.4",
- "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-17.0.4.tgz",
- "integrity": "sha512-vtWZVDSju83cb9zWf4OE4BeBCob7n5LDtGOqAfPGRZVmoiWwVtHRc5euWUKhd6ZS8P3p4On/oIRtit0FhW1q5A==",
+ "version": "18.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/learning-mini-app/-/learning-mini-app-18.0.2.tgz",
+ "integrity": "sha512-rKVnR+U/BqyH5sfiFee4GTNcIw/eNygRaneumgZ2m6VEkKf4iJX/cUo1KDjiJyBKWWbeLPc/5hpepGLpRhDyyw==",
"requires": {
"@livingdesign/tokens": "0.63.0",
"@walmart/me-at-homeoffice-ui-components": "1.2.140"
--- package.json
@@ -102,7 +102,7 @@
"@walmart/ims-print-services-ui": "2.7.3",
"@walmart/inbox-mini-app": "0.89.2",
"@walmart/iteminfo-mini-app": "7.7.4",
- "@walmart/learning-mini-app": "17.0.4",
+ "@walmart/learning-mini-app": "18.0.2",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/metrics-mini-app": "0.17.9",
"@walmart/mod-flex-mini-app": "1.13.7",
| feat: :sparkles: Bump learning mini app version to 18.0.2 | feat: :sparkles: Bump learning mini app version to 18.0.2
|
e6aedf66e173067fe44d394642febc8ce00aa89c | --- package-lock.json
@@ -3315,9 +3315,9 @@
"integrity": "sha512-B31BaP6kN0RtiKzp7xK9qvo7XwPiqC0z/8J1se0K3pIqHeNx2mvbSRDGLoCzh+szhWGkPlyTDRAbJrZI+B8IRA=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.55",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.55.tgz",
- "integrity": "sha512-h/VhUxIrOY6lVrMP/b7ORG02nqwNl65hx4uH57fvGy3isNjQ5QjRXvtnB/QJTFDyKTcowOd9uroYFhblRZh0bw=="
+ "version": "0.0.56",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.56.tgz",
+ "integrity": "sha512-FCvqs+o/BRBeAQTpXfhOLtPo2gY10vwdj20dOf40bXnNS9nvv4XmgflTUnsCitNnGOyB725K1xB/RL+8Ye01tg=="
},
"@walmart/functional-components": {
"version": "1.0.30",
--- package.json
@@ -70,7 +70,7 @@
"@walmart/config-components": "^1.0.26",
"@walmart/counts-component-miniapp": "0.0.15",
"@walmart/exception-mini-app": "0.28.0",
- "@walmart/feedback-all-spark-miniapp": "0.0.55",
+ "@walmart/feedback-all-spark-miniapp": "0.0.56",
"@walmart/functional-components": "1.0.30",
"@walmart/gtp-shared-components": "^1.1.8",
"@walmart/impersonation-mini-app": "1.0.15",
| Bumping feedback mini app version | Bumping feedback mini app version
|
e663351075f872e5e3089c3e58f7f44e3f6acc54 | --- __tests__/components/RosterFiltersAndInfo.test.tsx
@@ -23,7 +23,6 @@ jest.mock('@walmart/allspark-foundation/Navigation', () => ({
// Mock the Link component from @walmart/gtp-shared-components
jest.mock('@walmart/gtp-shared-components', () => ({
Link: ({onPress, testID, children}) => {
- const React = require('react');
return React.createElement(
'view',
{
@@ -53,8 +52,8 @@ jest.mock('react-redux', () => ({
// Mock FilterChipGroup
jest.mock('../../src/components/FilterChipGroup', () => ({
FilterChipGroup: function FilterChipGroup(props) {
- const React = require('react');
- return React.createElement('view', {
+ const ReactModule = require('react');
+ return ReactModule.createElement('view', {
testID: 'filterChipGroup',
handleFilter: props.handleFilter,
filterChips: props.filterChips,
@@ -67,13 +66,13 @@ jest.mock(
'../../src/components/RosterFiltersAndInfo/RosterFiltersAndInfoLoading',
() => ({
RosterFiltersAndInfoLoading: function RosterFiltersAndInfoLoading() {
- const React = require('react');
- return React.createElement(
+ const ReactModule = require('react');
+ return ReactModule.createElement(
'view',
{
testID: 'team-details-loading-component',
},
- React.createElement('text', null, 'Loading...'), // Add some content to the mock
+ ReactModule.createElement('text', null, 'Loading...'), // Add some content to the mock
);
},
}),
| fix(bug): fix linting warnings | fix(bug): fix linting warnings
|
f8f53282843782c4e32663b293c9b14b52a257a2 | --- src/whatsNew/WhatsNewScreen.tsx
@@ -27,7 +27,6 @@ import {BackgroundImage, WhatsNewScreenStyles as styles} from './styles';
import {renderWhatsNewItem, renderWhatsNewSection} from './utils';
import {GlobalState, SiteSelectors} from '@walmart/redux-store';
import {createSelector} from 'reselect';
-
const keyExtractor = (item: any, index: number) => String(index);
export const renderWhatsNextItem = ({item}: {item: RecordText}) => (
| test update | test update
|
62e4b3ec4dc6931d65ecd93e9d4ba85d167c2a8a | --- android/app/build.gradle
@@ -328,8 +328,8 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
// implementation 'com.google.firebase:firebase-messaging:21.0.1'
- implementation "com.google.dagger:hilt-android:2.38.1"
- kapt "com.google.dagger:hilt-compiler:2.38.1"
+ implementation "com.google.dagger:hilt-android:2.44"
+ kapt "com.google.dagger:hilt-compiler:2.44"
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
--- ios/Podfile.lock
@@ -1,10 +1,10 @@
PODS:
- - Apollo (0.42.0):
- - Apollo/Core (= 0.42.0)
- - Apollo/Core (0.42.0)
- - Apollo/SQLite (0.42.0):
+ - Apollo (0.53.0):
+ - Apollo/Core (= 0.53.0)
+ - Apollo/Core (0.53.0)
+ - Apollo/SQLite (0.53.0):
- Apollo/Core
- - SQLite.swift (~> 0.12.2)
+ - SQLite.swift (~> 0.13.1)
- AppAuth (1.4.0):
- AppAuth/Core (= 1.4.0)
- AppAuth/ExternalUserAgent (= 1.4.0)
@@ -37,9 +37,6 @@ PODS:
- Firebase/Database (9.2.0):
- Firebase/CoreOnly
- FirebaseDatabase (~> 9.2.0)
- - Firebase/Messaging (9.2.0):
- - Firebase/CoreOnly
- - FirebaseMessaging (~> 9.2.0)
- Firebase/Performance (9.2.0):
- Firebase/CoreOnly
- FirebasePerformance (~> 9.2.0)
@@ -741,15 +738,15 @@ PODS:
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.10)
- SocketRocket (0.6.0)
- - SQLite.swift (0.12.2):
- - SQLite.swift/standard (= 0.12.2)
- - SQLite.swift/standard (0.12.2)
+ - SQLite.swift (0.13.3):
+ - SQLite.swift/standard (= 0.13.3)
+ - SQLite.swift/standard (0.13.3)
- Starscream (3.0.6)
- StructuredLogAssistantIOS (0.0.7)
- - SumoSDK (2.4.0-rc.2):
- - Apollo (= 0.42.0)
- - Apollo/SQLite (= 0.42.0)
- - Firebase/Messaging (<= 9.2.0)
+ - SumoSDK (2.5.0):
+ - Apollo (~> 0.45)
+ - Apollo/SQLite (~> 0.45)
+ - FirebaseMessaging (<= 10.1.0)
- StructuredLogAssistantIOS (= 0.0.7)
- SwiftProtobuf (1.20.3)
- TextServiceProto (0.0.13):
@@ -759,9 +756,9 @@ PODS:
- React
- React-callinvoker
- React-Core
- - walmart-react-native-sumo-sdk (2.4.0-rc.2):
+ - walmart-react-native-sumo-sdk (2.5.0):
- React
- - SumoSDK (= 2.4.0-rc.2)
+ - SumoSDK (= 2.5.0)
- wifi-store-locator (1.0.1):
- React-Core
- Yoga (1.14.0)
@@ -1141,7 +1138,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
- Apollo: c3f1cc3bfb36e1c4bbb642f44184ad759ad42a87
+ Apollo: 204819ea82022fbc59ad05056820df867f19bd02
AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
BinaryCodable: 92908a9338a428dd3bbb6ae9c97ec907e5f6e4a7
boost: a7c83b31436843459a1961bfd74b96033dc77234
@@ -1275,15 +1272,15 @@ SPEC CHECKSUMS:
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
- SQLite.swift: d2b4642190917051ce6bd1d49aab565fe794eea3
+ SQLite.swift: 903bfa3bc9ab06345fdfbb578e34f47cfcf417da
Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
- SumoSDK: 0151813702cc25cf3fd6fca7b03d4b46f1e014ac
+ SumoSDK: e79d830e9a4b14e6d32c07719e7562b30f1b535f
SwiftProtobuf: b02b5075dcf60c9f5f403000b3b0c202a11b6ae1
TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
- walmart-react-native-sumo-sdk: feaec91b81f185addbfacc80a21815ace682f8f1
+ walmart-react-native-sumo-sdk: cb1b9f237c930eddf5124cab9a9cdfd5b13c97ab
wifi-store-locator: ec624772f74b5b568dff3d63c10ba88a217c6495
Yoga: eca980a5771bf114c41a754098cd85e6e0d90ed7
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
--- package-lock.json
@@ -72,7 +72,7 @@
"@walmart/react-native-scanner-3.0": "0.1.27",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
+ "@walmart/react-native-sumo-sdk": "2.5.0",
"@walmart/receipt-check-miniapp": "1.8.22",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
@@ -5702,9 +5702,9 @@
}
},
"node_modules/@walmart/react-native-sumo-sdk": {
- "version": "2.4.0-rc.2",
- "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.4.0-rc.2.tgz",
- "integrity": "sha512-znjtuqe31SHlUzniJY0vEp2swjLmRuvFxGo+iPMPYfhSDAtcqwuEPV4xpR0QXKDX1oOTaPFgYYLcvrZ4LejN4w==",
+ "version": "2.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.0.tgz",
+ "integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -25019,9 +25019,9 @@
"integrity": "sha512-gLzyGCqTlFmLPzD26zv/oKIk5I+6okN/+Z3mhyQzl/pO5UDr9zSe0VAXMlwJU3exn9ywuBEF5M/wn6G1WZLHkw=="
},
"@walmart/react-native-sumo-sdk": {
- "version": "2.4.0-rc.2",
- "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.4.0-rc.2.tgz",
- "integrity": "sha512-znjtuqe31SHlUzniJY0vEp2swjLmRuvFxGo+iPMPYfhSDAtcqwuEPV4xpR0QXKDX1oOTaPFgYYLcvrZ4LejN4w=="
+ "version": "2.5.0",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.0.tgz",
+ "integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ=="
},
"@walmart/receipt-check-miniapp": {
"version": "1.8.22",
--- package.json
@@ -114,7 +114,7 @@
"@walmart/react-native-scanner-3.0": "0.1.27",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
+ "@walmart/react-native-sumo-sdk": "2.5.0",
"@walmart/receipt-check-miniapp": "1.8.22",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
| Update sumo to 2.5.0 for drop 8.3 | Update sumo to 2.5.0 for drop 8.3
|
3d62b6e6b3fdcfa06aa17d7beec529e28a334fb2 | --- .looper-pr.yml
@@ -36,4 +36,4 @@ envs:
AUTHOR: temp
SLACK_CHANNEL: "smdv-miniapp"
-
+
\ No newline at end of file
| fix: SMDV-9999 update looper | fix: SMDV-9999 update looper
|
1fc2213a1f5221f2a6982cd8b907d693b48fce0b | --- package-lock.json
@@ -5314,9 +5314,9 @@
"integrity": "sha512-kgl3PpMJiM1hqhpEfLMIEHBdq+e6mKLPZNT3fmJIgO3RZYV3xcCrO2gIacJL3j+nr8DuDdw/FzeCGzKdKurniw=="
},
"@walmart/inbox-mini-app": {
- "version": "0.60.0",
- "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.60.0.tgz",
- "integrity": "sha512-em0kIPqdXwWr8bXTF3wzRnQKekwL+7hRjT4+5boyoLHSJWLXBEWV736viUgIGmrTtJHzboBdqa+a2r3aKIo05A==",
+ "version": "0.61.0",
+ "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.61.0.tgz",
+ "integrity": "sha512-dabKf0B6wcR0tjYVZCbztYvpmNtILZKpRJ2GUQCVJGKZ3N2H42zAWR21byOeyT5TtEwzHprPBgB34Trkil/N8w==",
"requires": {
"@walmart/walmart-fiscal-week": "^0.3.6"
}
--- package.json
@@ -95,7 +95,7 @@
"@walmart/gtp-shared-components": "1.8.9",
"@walmart/impersonation-mini-app": "1.2.0",
"@walmart/ims-print-services-ui": "1.1.4",
- "@walmart/inbox-mini-app": "0.60.0",
+ "@walmart/inbox-mini-app": "0.61.0",
"@walmart/iteminfo-mini-app": "5.1.8",
"@walmart/manager-approvals-miniapp": "0.1.1",
"@walmart/me-field-mini-app": "1.1.30",
| update version for badge issue | update version for badge issue
|
f55de5c803cffe963b4d52684499bdc5d4476d61 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.8",
+ "version": "1.0.9",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.8",
+ "version": "1.0.9",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -67,7 +67,7 @@
"@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/wmconnect-mini-app": "1.0.8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11853,9 +11853,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
},
@@ -41071,9 +41071,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/roster-mini-app",
- "version": "1.0.8",
+ "version": "1.0.9",
"private": false,
"main": "dist/index.js",
"files": [
@@ -90,7 +90,7 @@
"@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/wmconnect-mini-app": "1.0.8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
669838068a779364dca8ebda27caa214a87c6786 | --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap
@@ -112,9 +112,6 @@ Array [
<Screen
name="paystub"
/>
- <Screen
- name="myMoneyScreen"
- />
<Screen />
</Group>
<Screen
--- package.json
@@ -89,7 +89,7 @@
"@walmart/exception-mini-app": "0.42.1",
"@walmart/facilities-management-miniapp": "0.2.2",
"@walmart/feedback-all-spark-miniapp": "0.6.0",
- "@walmart/financial-wellbeing-feature-app": "1.0.23",
+ "@walmart/financial-wellbeing-feature-app": "1.0.25",
"@walmart/functional-components": "2.0.6",
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.8.9",
@@ -102,10 +102,10 @@
"@walmart/metrics-mini-app": "0.9.12",
"@walmart/mod-flex-mini-app": "1.1.3",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/pay-stub-miniapp": "0.7.1",
- "@walmart/payrollsolution_miniapp": "0.126.54",
+ "@walmart/pay-stub-miniapp": "0.7.6",
+ "@walmart/payrollsolution_miniapp": "0.126.7",
"@walmart/price-changes-mini-app": "1.4.11",
- "@walmart/profile-feature-app": "0.0.54",
+ "@walmart/profile-feature-app": "0.0.58",
"@walmart/push-to-talk-mini-app": "1.8.9",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "^0.2.0",
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -54,7 +54,6 @@ import {
PersonalSettingsNav,
snackbarTransitionOptions,
SuccessSnackbar,
- MyMoneyNav,
} from '@walmart/profile-feature-app';
import {
FWBNav,
@@ -177,7 +176,6 @@ export const MainStackNav = () => {
component={PaymentSelectionMiniApp}
/>
<MainStack.Screen name='paystub' component={PayStubMiniApp} />
- <MainStack.Screen name='myMoneyScreen' component={MyMoneyNav} />
<MainStack.Screen name={FWB_NAV_SCREEN_NAME} component={FWBNav} />
</MainStack.Group>
--- src/translations/en-US.ts
@@ -10,6 +10,7 @@ export const enUS = {
'@walmart/exception-mini-app': 'Pinpoint',
'@walmart/facilities-management-miniapp': 'Facility management',
'@walmart/feedback-all-spark-miniapp': 'Feedback',
+ '@walmart/financial-wellbeing-feature-app': 'Financial Wellbeing',
'@walmart/impersonation-mini-app': 'Impersonation',
'@walmart/inbox-mini-app': 'Inbox',
'@walmart/iteminfo-mini-app': 'Item information',
--- src/translations/es-MX.ts
@@ -10,6 +10,7 @@ export const esMX = {
'@walmart/exception-mini-app': 'Pinpoint',
'@walmart/facilities-management-miniapp': 'Gestión de instalaciones',
'@walmart/feedback-all-spark-miniapp': 'Feedback',
+ '@walmart/financial-wellbeing-feature-app': 'Financial Wellbeing',
'@walmart/impersonation-mini-app': 'Impersonation',
'@walmart/inbox-mini-app': 'Inbox',
'@walmart/iteminfo-mini-app': 'Item information',
--- src/versions/constants.ts
@@ -14,6 +14,7 @@ export const LISTED_DEPENDENCIES = [
'@walmart/exception-mini-app',
'@walmart/facilities-management-miniapp',
'@walmart/feedback-all-spark-miniapp',
+ '@walmart/financial-wellbeing-feature-app',
'@walmart/impersonation-mini-app',
'@walmart/inbox-mini-app',
'@walmart/iteminfo-mini-app',
| financial-wellbeing-feature-app v1.0.25 and appversion updated | financial-wellbeing-feature-app v1.0.25 and appversion updated
|
3df118ead33022e4f9d50b39d20dee4397bc49e3 | --- android/app/build.gradle
@@ -158,8 +158,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 903
- versionName "1.8.17"
+ versionCode 904
+ versionName "1.8.18"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.8.17</string>
+ <string>1.8.18</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>903</string>
+ <string>904</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.8.17",
+ "version": "1.8.18",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.8.17",
+ "version": "1.8.18",
"hasInstallScript": true,
"dependencies": {
"@react-native-community/art": "^1.2.0",
@@ -39,7 +39,7 @@
"@walmart/attendance-mini-app": "0.33.1",
"@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.9",
- "@walmart/core-services-allspark": "~1.10.13",
+ "@walmart/core-services-allspark": "~1.10.15",
"@walmart/core-utils": "~1.3.0",
"@walmart/core-widget-registry": "~0.7.2",
"@walmart/counts-component-miniapp": "0.0.42",
@@ -57,7 +57,7 @@
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
- "@walmart/metrics-mini-app": "0.9.34",
+ "@walmart/metrics-mini-app": "0.9.35",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
@@ -4822,9 +4822,9 @@
}
},
"node_modules/@walmart/core-services-allspark": {
- "version": "1.10.13",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.10.13.tgz",
- "integrity": "sha512-0SayoNQoMjzokp/cJTZYJ3Y2Keu0cUAEX/FeB3b6APFsozNsqNFGJxOXa0nIPuIQmLB4L9gKiQgPhv/+lxUJ1w==",
+ "version": "1.10.15",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.10.15.tgz",
+ "integrity": "sha512-vt8PR2UW+h7yhSd5JV2T1hLd9z143b1TTJhuNdcj08r/eFthsx10V7BZqgbckYTj2lj9QBLmPYWgdQhESA94GQ==",
"license": "ISC",
"dependencies": {
"crypto-js": "^4.1.1",
@@ -5370,9 +5370,9 @@
}
},
"node_modules/@walmart/metrics-mini-app": {
- "version": "0.9.34",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.34.tgz",
- "integrity": "sha512-e7uTxoI3M/x80bqxtxBZdlzvksWW/gaFmfhrXuvFfmWWBjkCCfU8JHMliPpgzPii9EBcugueF3luScVl8aMFAw==",
+ "version": "0.9.35",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.35.tgz",
+ "integrity": "sha512-n9ZYbVetIX0aIgltxcKVZ157EfmQhm7VHjMj3SRrG9USBqJTmGLPTBSB0H6D6hKIkBYQOXwoXMJ3+mXMdOh8ww==",
"dependencies": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
@@ -24780,9 +24780,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.10.13",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.10.13.tgz",
- "integrity": "sha512-0SayoNQoMjzokp/cJTZYJ3Y2Keu0cUAEX/FeB3b6APFsozNsqNFGJxOXa0nIPuIQmLB4L9gKiQgPhv/+lxUJ1w==",
+ "version": "1.10.15",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.10.15.tgz",
+ "integrity": "sha512-vt8PR2UW+h7yhSd5JV2T1hLd9z143b1TTJhuNdcj08r/eFthsx10V7BZqgbckYTj2lj9QBLmPYWgdQhESA94GQ==",
"requires": {
"crypto-js": "^3.3.0",
"jwt-decode": "^3.1.2",
@@ -24909,9 +24909,9 @@
"integrity": "sha512-MbuwFAfzl+LjNffFJUNvP7Ay7kx9sri1Haia4t/p6linZT3HxOaCotJbu0fRVqMr4tXX1ZVCeB2JmSpjsE0UsA=="
},
"@walmart/metrics-mini-app": {
- "version": "0.9.34",
- "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.34.tgz",
- "integrity": "sha512-e7uTxoI3M/x80bqxtxBZdlzvksWW/gaFmfhrXuvFfmWWBjkCCfU8JHMliPpgzPii9EBcugueF3luScVl8aMFAw==",
+ "version": "0.9.35",
+ "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.9.35.tgz",
+ "integrity": "sha512-n9ZYbVetIX0aIgltxcKVZ157EfmQhm7VHjMj3SRrG9USBqJTmGLPTBSB0H6D6hKIkBYQOXwoXMJ3+mXMdOh8ww==",
"requires": {
"@types/base-64": "^1.0.0",
"apisauce": "1.1.2",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.8.17",
+ "version": "1.8.18",
"private": true,
"scripts": {
"android": "react-native run-android",
@@ -82,7 +82,7 @@
"@walmart/attendance-mini-app": "0.33.1",
"@walmart/config-components": "4.0.2",
"@walmart/core-services": "~1.4.9",
- "@walmart/core-services-allspark": "~1.10.13",
+ "@walmart/core-services-allspark": "~1.10.15",
"@walmart/core-utils": "~1.3.0",
"@walmart/core-widget-registry": "~0.7.2",
"@walmart/counts-component-miniapp": "0.0.42",
@@ -100,7 +100,7 @@
"@walmart/iteminfo-mini-app": "5.3.2",
"@walmart/manager-approvals-miniapp": "0.1.2",
"@walmart/me-field-mini-app": "1.1.36",
- "@walmart/metrics-mini-app": "0.9.34",
+ "@walmart/metrics-mini-app": "0.9.35",
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/pay-stub-miniapp": "0.9.7",
| updating metrics with patch for drop 8.3 SMBLV - 3019 | updating metrics with patch for drop 8.3 SMBLV - 3019
|
ca874547873193dbb007c840ac991c5ff1682d52 | --- src/components/TeamList.tsx
@@ -90,6 +90,8 @@ const styles = StyleSheet.create({
fontFamily: 'Bogle-Regular',
fontSize: 12,
color: colors.gray['140'],
+ marginVertical: 0,
+ paddingVertical: 0,
},
workgroupHeader: {
fontFamily: 'Bogle-Regular',
@@ -410,8 +412,12 @@ export const TeamChatCard = (props: {
{expanded && (
<>
{primaryTeam.length > 0 && (
- <CardContent>
- <StoreTeamItem />
+ <CardContent
+ UNSAFE_style={[
+ styles.workgroupCardContainer,
+ {paddingVertical: 0, marginVertical: 0},
+ ]}>
+ <StoreTeamItem style={{paddingTop: 0, borderBottomWidth: 0}} />
</CardContent>
)}
{renderWorkgroups()}
--- src/components/TeamList.tsx
@@ -90,6 +90,8 @@ const styles = StyleSheet.create({
fontFamily: 'Bogle-Regular',
fontSize: 12,
color: colors.gray['140'],
+ marginVertical: 0,
+ paddingVertical: 0,
},
workgroupHeader: {
fontFamily: 'Bogle-Regular',
@@ -410,8 +412,12 @@ export const TeamChatCard = (props: {
{expanded && (
<>
{primaryTeam.length > 0 && (
- <CardContent>
- <StoreTeamItem />
+ <CardContent
+ UNSAFE_style={[
+ styles.workgroupCardContainer,
+ {paddingVertical: 0, marginVertical: 0},
+ ]}>
+ <StoreTeamItem style={{paddingTop: 0, borderBottomWidth: 0}} />
</CardContent>
)}
{renderWorkgroups()}
| more view layer tweaks | more view layer tweaks
|
1a40be855042d49e6e17451ba1d0f57661d573d5 | --- package-lock.json
@@ -5254,9 +5254,9 @@
"integrity": "sha512-Cy+ATP7WlTkMvysFS1kk9T6YcxPh//OxCfL215wnP/4XI7EarFSbahTwlm7hw/3cuGPCMSsRmdiwZPyhDWUbVw=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.3.22",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.3.22.tgz",
- "integrity": "sha512-KC8u/qRu7Yim1cewclEgQ6FsyyeXHEtdiZH1+UOKm/z05+V1VDKqSXmqCIntURrEWS89tg0aFUmdmCiPEodhnw=="
+ "version": "0.3.24",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.3.24.tgz",
+ "integrity": "sha512-bMPRsJQKE5pToFdSfYCYkgHAcJuknvZrAyKeFfLf9fCq1Fq6pGUrl0ImZqNUNIsM7qbtVp1Bi0+tGFRolomv9Q=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.8.0",
--- package.json
@@ -87,7 +87,7 @@
"@walmart/core-widget-registry": "0.5.7",
"@walmart/counts-component-miniapp": "0.0.39",
"@walmart/exception-mini-app": "0.42.6",
- "@walmart/facilities-management-miniapp": "0.3.23",
+ "@walmart/facilities-management-miniapp": "0.3.24",
"@walmart/feedback-all-spark-miniapp": "0.8.0",
"@walmart/financial-wellbeing-feature-app": "1.0.29",
"@walmart/functional-components": "2.0.6",
| Bumping the version | Bumping the version
|
7065f6c9139b620bdf15e9c0bb51cacd39de4133 | --- .looper-native-common-saucelabs.yml
@@ -105,6 +105,6 @@ flows:
- try:
- echo "uploading artifact to saucelabs"
- curl --retry 3 -F payload=@${buildOutput} -F name=${artifact_name} -u ${saucelabs.user}:${saucelabs.pass} ${saucelabs.endpoint} --output output.txt
- - python3 saucelabs/call-electrode.py
+ - python3 saucelabs/call-electrode.py ${os}
catch:
- warn(' Failed to upload artifact to saucelabs')
--- saucelabs/call-electrode.py
@@ -2,6 +2,7 @@ import requests
import json
from config import config
from time import sleep
+import sys
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
@@ -10,10 +11,14 @@ requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
tag_temp = config['app_tag'].lower()
looper_user = config['ci_electrode_user']
looper_token = config['ci_electrode_token']
-automation_job_endpoint = config['automation_job_endpoint']
response = {}
default_version = "Null"
retry_count = 0
+os_type = sys.argv[1]
+if str(os_type) == 'ios':
+ automation_job_endpoint = config['ios_automation_job_endpoint']
+elif str(os_type) == 'android':
+ automation_job_endpoint = config['android_automation_job_endpoint']
# logic to add standalone checks
--- saucelabs/config.py
@@ -2,5 +2,6 @@ config = {
'app_tag': 'allspark',
'ci_electrode_user': 'a0v0401',
'ci_electrode_token':'11de4e75d3d6490841f19813bb4a4f923d',
-'automation_job_endpoint' : 'https://ci.electrode.walmart.com/job/All%20Spark/job/all-spark-android-automation/buildWithParameters'
+'android_automation_job_endpoint' : 'https://ci.electrode.walmart.com/job/All%20Spark/job/all-spark-android-automation/buildWithParameters',
+'ios_automation_job_endpoint' : 'https://ci.electrode.walmart.com/job/All%20Spark/job/all-spark-ios-automation/buildWithParameters'
}
| ios automation changes (#276) | ios automation changes (#276)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
bbf733d50be3229ba8751cea35c917f9a7e27acc | --- src/components/ClockedOutScreenGuard.tsx
@@ -35,7 +35,6 @@ export const ClockedOutScreen = () => {
const userIsInRoster = useUserIsInRoster();
const shouldShowViewTimeLink =
shouldShowViewTimeClock && isHourly && userIsInRoster;
- analytics('roster', {message: 'clocked out roster access'}, 10);
return (
<>
<Alert
--- src/containers/RosterFilters.tsx
@@ -11,6 +11,7 @@ import {
import {useTranslation} from 'react-i18next';
import {ROSTER_I18N_NAMESPACE} from '../translations';
import {useRbacConfigWithJobCode} from '../hooks';
+import {analytics} from '../logger/Analytics';
const styles = StyleSheet.create({
container: {
@@ -72,6 +73,10 @@ export const RosterFilters = (props: {
const filterValue = filterMap[filterId as keyof typeof filterMap];
selectedFilter.current = filterValue;
+ analytics('filter_press', {
+ filterName: filterValue,
+ });
+
if (filterValue === FilterValue.all) {
onFilter(associates, filterValue);
} else {
--- src/logger/Analytics.tsx
@@ -1,6 +1,6 @@
import WmTelemetry from 'react-native-wm-telemetry';
-const APP_NAME = 'Roster';
+const APP_NAME = 'roster';
/*
* eventName: event name
| adding filter event | adding filter event
|
edc3aadf3fa3a895f47aa537e660a6cacbeaffe5 | --- package.json
@@ -155,7 +155,7 @@
"@walmart/time-clock-mini-app-next": "2.812.1",
"@walmart/topstock-mini-app": "1.22.3",
"@walmart/translator-mini-app": "1.4.2",
- "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1%3A%3A__archiveUrl=https%253A%252F%252Fnpm.ci.artifacts.walmart.com%253A443%252Fartifactory%252Fapi%252Fnpm%252Fnpme-npm%252F%2540walmart%252Fui-components%252F-%252F%2540walmart%252Fui-components-1.23.1.tgz#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch",
+ "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch",
"@walmart/walmart-fiscal-week": "^0.3.6",
"@walmart/welcomeme-mini-app": "1.0.12",
"@walmart/wfm-ui": "2.4.0",
--- yarn.lock
@@ -8388,7 +8388,7 @@ __metadata:
"@walmart/time-clock-mini-app-next": "npm:2.812.1"
"@walmart/topstock-mini-app": "npm:1.22.3"
"@walmart/translator-mini-app": "npm:1.4.2"
- "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.21.3#~/.yarn/patches/@walmart-ui-components-npm-1.21.3-509a6d703d.patch"
+ "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.23.1#~/.yarn/patches/@walmart-ui-components-npm-1.23.1-247996ccb0.patch"
"@walmart/walmart-fiscal-week": "npm:^0.3.6"
"@walmart/welcomeme-mini-app": "npm:1.0.12"
"@walmart/wfm-ui": "npm:2.4.0"
| chore(update package): ALLSPARK-6091 remove archiveURL | chore(update package): ALLSPARK-6091 remove archiveURL
|
d2de0773419c403825a263656874b0616df59df5 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.15.14",
+ "version": "1.15.15",
"main": "dist/index.js",
"files": [
"dist"
@@ -99,7 +99,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "2.12.17",
+ "@walmart/roster-mini-app": "2.12.18",
"@walmart/ui-components": "1.15.1",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
--- yarn.lock
@@ -6473,7 +6473,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@walmart/react-native-sumo-sdk": "npm:2.6.0"
"@walmart/redux-store": "npm:3.7.0"
- "@walmart/roster-mini-app": "npm:2.12.17"
+ "@walmart/roster-mini-app": "npm:2.12.18"
"@walmart/ui-components": "npm:1.15.1"
babel-jest: "npm:^29.2.1"
chance: "npm:^1.1.11"
@@ -6654,9 +6654,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:2.12.17":
- version: 2.12.17
- resolution: "@walmart/roster-mini-app@npm:2.12.17"
+"@walmart/roster-mini-app@npm:2.12.18":
+ version: 2.12.18
+ resolution: "@walmart/roster-mini-app@npm:2.12.18"
peerDependencies:
"@react-native-async-storage/async-storage": ^1.21.0
"@react-native-community/netinfo": ^11.0.1
@@ -6698,7 +6698,7 @@ __metadata:
redux: ^4.2.1
redux-saga: ^1.2.3
wifi-store-locator: 1.4.1
- checksum: 10c0/fd012c0325ae292778956b1baa2d215879c690a4ec2d1bc3e159c98be5ec6e615e2151c1cea6e96b1d538a5041f463e57acdc254613459789827c4256d8fd10f
+ checksum: 10c0/56ce8bfa83701d1788bc3de06fa94e51f68dc1a6167760426979e064b48d92b936f96a8777ceb17df6e42fc596d923f5ed7247ddf54bcdf45de22d87b7583f31
languageName: node
linkType: hard
| Update the version for roster | Update the version for roster
|
04e9397816c210ea25eadf151195a11689166328 | --- package-lock.json
@@ -34,7 +34,7 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.45",
+ "@walmart/amp-mini-app": "1.1.46",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.12.2",
"@walmart/attendance-mini-app": "0.238.0",
@@ -4792,9 +4792,9 @@
}
},
"node_modules/@walmart/amp-mini-app": {
- "version": "1.1.45",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.45.tgz",
- "integrity": "sha512-n7CS+V7Gc/OVm0PmrirINnGevZt/if3WXsy4uO/hBOEXLX8i+lCtNZt4O+VYFY6KFFcbJffUYN2nIwSm9WTRwA==",
+ "version": "1.1.46",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.46.tgz",
+ "integrity": "sha512-OgCVvgb0vf4HRvERaAOluJZ7FtExvhF6p2/D3gomx+zINm9B02fJlNiWeNz1AZwvicGOVeOKq1HliB8AfSAI1Q==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
@@ -25119,9 +25119,9 @@
}
},
"@walmart/amp-mini-app": {
- "version": "1.1.45",
- "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.45.tgz",
- "integrity": "sha512-n7CS+V7Gc/OVm0PmrirINnGevZt/if3WXsy4uO/hBOEXLX8i+lCtNZt4O+VYFY6KFFcbJffUYN2nIwSm9WTRwA=="
+ "version": "1.1.46",
+ "resolved": "https://npme.walmart.com/@walmart/amp-mini-app/-/amp-mini-app-1.1.46.tgz",
+ "integrity": "sha512-OgCVvgb0vf4HRvERaAOluJZ7FtExvhF6p2/D3gomx+zINm9B02fJlNiWeNz1AZwvicGOVeOKq1HliB8AfSAI1Q=="
},
"@walmart/ask-sam-chat-components": {
"version": "0.2.13",
--- package.json
@@ -76,7 +76,7 @@
"@terrylinla/react-native-sketch-canvas": "0.8.0",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
- "@walmart/amp-mini-app": "1.1.45",
+ "@walmart/amp-mini-app": "1.1.46",
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.12.2",
"@walmart/attendance-mini-app": "0.238.0",
| AMP version update | AMP version update
|
507e5103267a03c4a1631e2a65e9bea4cd7dc2bc | --- package.json
@@ -101,7 +101,7 @@
"@walmart/react-native-sumo-sdk": "2.2.2-beta.2",
"@walmart/redux-store": "2.0.4",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
- "@walmart/schedule-mini-app": "0.17.0",
+ "@walmart/schedule-mini-app": "0.18.0",
"@walmart/settings-mini-app": "1.6.0",
"@walmart/shelfavailability-mini-app": "1.0.0",
"@walmart/taskit-mini-app": "0.32.0",
| Bump schedule-mini-app version to 0.18 | Bump schedule-mini-app version to 0.18
|
97112fd2a51eab2104743eccbc9be089ad9ed427 | --- package-lock.json
@@ -4483,9 +4483,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.18.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.18.0.tgz",
- "integrity": "sha512-DuO5koDaR5A8UHY070Dd/ldZYEHFiTPOq57Sg5izPv/ytRWaF8EdPkJtaEcOCgriQkHVpc2KXtA2Bt9fH8Xsow=="
+ "version": "0.19.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.19.0.tgz",
+ "integrity": "sha512-0iyAhb//FPU+b3M6gP/NYGPCFXLdLJVEFW7LKLqHHPnY+2M3E1DfNEq3hGdRchFxEjxURFdLaorHnfpbvDFGKw=="
},
"@walmart/time-clock-mini-app": {
"version": "0.5.1",
--- package.json
@@ -101,7 +101,7 @@
"@walmart/schedule-mini-app": "0.12.0",
"@walmart/settings-mini-app": "1.6.0",
"@walmart/shelfavailability-mini-app": "0.8.3",
- "@walmart/taskit-mini-app": "0.18.0",
+ "@walmart/taskit-mini-app": "0.19.0",
"@walmart/time-clock-mini-app": "0.5.1",
"@walmart/ui-components": "1.4.0-rc.0",
"@walmart/welcomeme-mini-app": "0.52.0",
| Updating tastIt version | Updating tastIt version
|
64ef7ff25896faa33544e98780d04bbba207f5fe | --- src/PinAccess/PinAccess.tsx
@@ -1,6 +1,6 @@
import React, {useState, FC, useEffect} from 'react';
import {useDispatch, useSelector} from 'react-redux';
-import {View, Modal} from 'react-native';
+import {View} from 'react-native';
import {StackScreenProps} from '@react-navigation/stack';
import {useTranslation} from 'react-i18next';
import EncryptedStorage from 'react-native-encrypted-storage';
@@ -43,10 +43,9 @@ type DialogContent = {
export const PinAccess: FC<StackScreenProps<any>> = (props) => {
const {navigation, route} = props;
- const {params: {flow = ENTRY} = {}, name} = route;
+ const {params: {flow = ENTRY} = {}} = route;
const isChangeFlow = flow === CHANGE;
const showBackArrow = flow !== ENTRY;
- const isModalScreen = name === 'PinAccessModal';
const dispatch = useDispatch();
const {top} = useSafeAreaInsets();
@@ -213,63 +212,51 @@ export const PinAccess: FC<StackScreenProps<any>> = (props) => {
}
};
- const PinModalContent = () => {
- return (
- <>
- <LockScreen
- headerTitle={headerTitle}
- passcodeLength={4}
- title={translate('pinAccess.createPin')}
- subtitle={translate('pinAccess.enter4Digit')}
- confirmTitle={translate('pinAccess.confirmPin')}
- confirmSubtitle={translate('pinAccess.reEnterPin')}
- enterPinText={translate('pinAccess.enterPin')}
- tryAgainText={translate('pinAccess.tryAgain')}
- forgotPinText={translate('pinAccess.forgotPin')}
- nextButtonText={translate('pinAccess.next')}
- confirmButtonText={translate('pinAccess.confirm')}
- signOutText={translate('pinAccess.signOut')}
- user={`${translate('pinAccess.salutation')} ${displayName}`}
- onRetry={onRetry}
- onPasscodeMatch={onPasscodeMatch}
- error={error}
- errorMsg={errorMsg}
- setErrorState={setError}
- totalAttemps={totalAttempts}
- forgotPinCallback={forgotPinCallback}
- onBackArrowClick={goBack}
- onSignOut={onSignOut}
- flow={flow}
- showBackArrow={showBackArrow}
- storedPin={storedPin}
- onPasscodeCreate={onPasscodeCreate}
- handlePinCreateError={handlePinCreateError}
- biometric={biometric}
- onBiometric={promptBiometric}
- />
- <Dialog
- visible={showDialog}
- onClose={handleBackdropClose}
- dailogContainerStyle={styles.dialogContainer}
- cardStyle={styles.cardStyle}
- headerContainerStyle={styles.dialogHeader}
- titleStyle={styles.dialogTitle}
- buttonContainerStyle={styles.buttonContainer}
- primaryButtonStyle={styles.primaryButton}
- primaryButtonPress={primaryDialogButtonPress}
- {...dialogContent}
- />
- </>
- );
- };
-
- return isModalScreen ? (
- <Modal style={[styles.container, {paddingTop: top}]}>
- <PinModalContent />
- </Modal>
- ) : (
+ return (
<View style={[styles.container, {paddingTop: top}]}>
- <PinModalContent />
+ <LockScreen
+ headerTitle={headerTitle}
+ passcodeLength={4}
+ title={translate('pinAccess.createPin')}
+ subtitle={translate('pinAccess.enter4Digit')}
+ confirmTitle={translate('pinAccess.confirmPin')}
+ confirmSubtitle={translate('pinAccess.reEnterPin')}
+ enterPinText={translate('pinAccess.enterPin')}
+ tryAgainText={translate('pinAccess.tryAgain')}
+ forgotPinText={translate('pinAccess.forgotPin')}
+ nextButtonText={translate('pinAccess.next')}
+ confirmButtonText={translate('pinAccess.confirm')}
+ signOutText={translate('pinAccess.signOut')}
+ user={`${translate('pinAccess.salutation')} ${displayName}`}
+ onRetry={onRetry}
+ onPasscodeMatch={onPasscodeMatch}
+ error={error}
+ errorMsg={errorMsg}
+ setErrorState={setError}
+ totalAttemps={totalAttempts}
+ forgotPinCallback={forgotPinCallback}
+ onBackArrowClick={goBack}
+ onSignOut={onSignOut}
+ flow={flow}
+ showBackArrow={showBackArrow}
+ storedPin={storedPin}
+ onPasscodeCreate={onPasscodeCreate}
+ handlePinCreateError={handlePinCreateError}
+ biometric={biometric}
+ onBiometric={promptBiometric}
+ />
+ <Dialog
+ visible={showDialog}
+ onClose={handleBackdropClose}
+ dailogContainerStyle={styles.dialogContainer}
+ cardStyle={styles.cardStyle}
+ headerContainerStyle={styles.dialogHeader}
+ titleStyle={styles.dialogTitle}
+ buttonContainerStyle={styles.buttonContainer}
+ primaryButtonStyle={styles.primaryButton}
+ primaryButtonPress={primaryDialogButtonPress}
+ {...dialogContent}
+ />
</View>
);
};
| Removing modal from pin access screen | Removing modal from pin access screen
|
f7c8ee4ef4754cbbaf32170e78dba0e9d84a51a6 | --- src/components/MessageList.tsx
@@ -61,6 +61,7 @@ export const MessageList = ({
return (
<FlatList
+ inverted={true}
ref={flatListRef}
data={messages}
renderItem={renderItem}
| feat(ui): update messages screen inversion | feat(ui): update messages screen inversion
|
89c004cb2c78db55621f6ae111eb64e2f134ff86 | --- package-lock.json
@@ -3600,9 +3600,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "0.4.23",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.23.tgz",
- "integrity": "sha512-zgNoI93X7Tz4Ct6bCIdTyIVRFKvZKiQBBDXlKk7VJqLkhrSZAxGuAHfull0/kiqxPcApZy0migtdXsLEJJ1Gmg==",
+ "version": "0.4.24",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.24.tgz",
+ "integrity": "sha512-2Pbm4dHUMjBz+TeS2k/zHHeTX7YNLoaMQdPDz5Axu3Kgx9UGe9UscZoNnZjaSqSyLdg0rbp6gN1B/EkvM1hU7w==",
"requires": {
"@react-native-community/datetimepicker": "3.0.9",
"@react-native-picker/picker": "^1.16.1",
@@ -13186,9 +13186,9 @@
"integrity": "sha512-PKaL0MFy+VjTT4wcx/v90BlvlRXgdWGUU8Sz/760A2Esj175A8w/vFQCtZhUer5FVxmpYVKk7nHzoewii4ygRw=="
},
"react-query": {
- "version": "3.34.7",
- "resolved": "https://npme.walmart.com/react-query/-/react-query-3.34.7.tgz",
- "integrity": "sha512-Q8+H2DgpoZdGUpwW2Z9WAbSrIE+yOdZiCUokHjlniOOmlcsfqNLgvHF5i7rtuCmlw3hv5OAhtpS7e97/DvgpWw==",
+ "version": "3.34.8",
+ "resolved": "https://npme.walmart.com/react-query/-/react-query-3.34.8.tgz",
+ "integrity": "sha512-pl9e2VmVbgKf29Qn/WpmFVtB2g17JPqLLyOQg3GfSs/S2WABvip5xlT464vfXtilLPcJVg9bEHHlqmC38/nvDw==",
"requires": {
"@babel/runtime": "^7.5.5",
"broadcast-channel": "^3.4.1",
--- package.json
@@ -97,7 +97,7 @@
"@walmart/schedule-mini-app": "0.4.4",
"@walmart/settings-mini-app": "1.3.8",
"@walmart/shelfavailability-mini-app": "0.5.0",
- "@walmart/time-clock-mini-app": "0.4.23",
+ "@walmart/time-clock-mini-app": "0.4.24",
"@walmart/ui-components": "1.1.68",
"@walmart/welcomeme-mini-app": "0.30.4",
"@walmart/wfm-ui": "^0.1.50",
| GTA-99150: Add WiFi locator to punch | GTA-99150: Add WiFi locator to punch |
8297e767ead2f54ae8b805abe44cce3c0ef63f76 | --- src/managerExperience/components/RosterDetailPageHeader/RosterDetailPageHeader.tsx
@@ -5,6 +5,8 @@ import {Heading, Link} from '@walmart/gtp-shared-components';
import {getRosterDetailPageHeaderStyles} from './style';
import {useAllsparkImage} from '@walmart/allspark-foundation/Components/context';
import {Images as teamImageIcon} from '@walmart/allspark-foundation-hub/HubFeature/Images/images';
+import {useSelector} from 'react-redux';
+import {displayViewOtherTeams} from '../../../redux/selectors';
export const RosterDetailPageHeader = ({
header,
@@ -15,15 +17,18 @@ export const RosterDetailPageHeader = ({
}: RosterDetailPageHeaderProps) => {
const TeamImage = useAllsparkImage();
const styles = getRosterDetailPageHeaderStyles(subText);
+ const showViewOtherTeams = useSelector(displayViewOtherTeams);
return (
<View style={styles.container}>
<View style={styles.contentWrapper}>
<Heading UNSAFE_style={styles.header}>{header}</Heading>
{subText && <Text style={styles.subText}>{subText}</Text>}
- <Link UNSAFE_style={styles.link} onPress={handleNavigation}>
- {linkText}
- </Link>
+ {showViewOtherTeams && (
+ <Link UNSAFE_style={styles.link} onPress={handleNavigation}>
+ {linkText}
+ </Link>
+ )}
</View>
<View>
<TeamImage
| feat: extract label link as prop of component - [SMDV-6508] | feat: extract label link as prop of component - [SMDV-6508]
|
9c11aea60e81f8220ab79450794978230dce5edf | --- __tests__/redux/selectors.test.ts
@@ -201,7 +201,7 @@ describe('Selectors', () => {
const searchText = selectors.getSearchText(
setNestedValue(
mockState,
- 'texting.searchText',
+ 'roster.searchText',
'testText',
) as SharedReduxState,
);
| Update roster tests | Update roster tests
|
459a1319fc7bf5796b23cbc3f90525f0df9f0e83 | --- packages/allspark-foundation/allspark.config.js
@@ -2,6 +2,7 @@ module.exports = {
link: {
react: {
dependencies: {
+ '@react-native-community/netinfo': {},
// @todo - Required by Scanner, can we remove?
'@react-native-firebase/analytics': {},
'@react-native-firebase/app': {},
--- packages/allspark-foundation/package.json
@@ -85,6 +85,7 @@
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.3.1",
"@react-navigation/drawer": "^6.3.1",
+ "@react-native-community/netinfo": "^9.3.10",
"@react-native-firebase/analytics": "~15.1.1",
"@react-native-firebase/app": "~15.1.1",
"@types/crypto-js": "^4.0.2",
@@ -108,6 +109,7 @@
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.3.1",
"@react-navigation/drawer": "^6.3.1",
+ "@react-native-community/netinfo": "^9.3.10",
"@react-native-firebase/analytics": "~15.1.1",
"@react-native-firebase/app": "~15.1.1",
"@walmart/react-native-scanner-3.0": "0.3.0",
--- packages/me-at-walmart-container/allspark.config.js
@@ -24,7 +24,6 @@ module.exports = {
react: {
dependencies: {
'@react-native-async-storage/async-storage': {},
- '@react-native-community/netinfo': {},
'@react-native-firebase/app': {},
'@react-native-firebase/analytics': {},
'@react-native-firebase/crashlytics': {},
--- packages/me-at-walmart-container/package.json
@@ -33,7 +33,6 @@
"devDependencies": {
"@types/seamless-immutable": "7.1.16",
"@react-native-async-storage/async-storage": "~1.18.1",
- "@react-native-community/netinfo": "^9.3.10",
"@react-native-firebase/analytics": "~15.1.1",
"@react-native-firebase/crashlytics": "~15.1.1",
"@react-native-firebase/database": "~15.1.1",
@@ -49,7 +48,6 @@
},
"peerDependencies": {
"@react-native-async-storage/async-storage": "~1.18.1",
- "@react-native-community/netinfo": "^9.3.10",
"@react-native-firebase/analytics": "~15.1.1",
"@react-native-firebase/crashlytics": "~15.1.1",
"@react-native-firebase/database": "~15.1.1",
| fix: move netinfo to foundation package and allspark config | fix: move netinfo to foundation package and allspark config
|
7b868144054533b953c4fb8fc99d7e1ac10dc396 | --- src/components/TeamList.tsx
@@ -29,7 +29,6 @@ import {
useUserIsInRoster,
useSiteTranslationContext,
useGetViewersPrimaryTeamId,
- useTotalSiteOrTotalStore,
useGetTeamById,
} from '../hooks';
import {NavigationProp, useNavigation} from '@react-navigation/native';
--- src/hooks/useFilterCounts.ts
@@ -1,62 +1,53 @@
-import {useMemo} from 'react';
// import {useOfflineIds} from '../presence/hooks';
-import {Associate} from '../types';
-import {
- associateIsAbsent,
- associateIsClockedIn,
- associateIsTardy,
-} from '../utils';
-import {FilterValue} from '../containers/RosterFilters';
-import {useSelector} from 'react-redux';
-import {getEncryptedUserId} from '../redux/selectors';
+// import {Associate} from '../types';
-export const useFilterCounts = (associates: Associate[]) => {
- // const offlineUserIds = useOfflineIds();
- const viewerId = useSelector(getEncryptedUserId);
-
- /**
- * Count of associates statuses we use as filters, recalculated
- * when the length of the list changes
- */
- const rosterCounts = useMemo(
- () =>
- associates.reduce(
- (accm, associate) => {
- if (associateIsClockedIn(associate)) {
- accm.clockedIn++;
- }
- if (associateIsAbsent(associate)) {
- accm.absent++;
- }
- if (associateIsTardy(associate)) {
- accm.tardy++;
- }
-
- return accm;
- },
- {
- [FilterValue.all]: associates.length,
- [FilterValue.absent]: 0,
- [FilterValue.tardy]: 0,
- [FilterValue.clockedIn]: 0,
- },
- ),
- [associates.length],
- );
-
- /**
- * The filter counts we pass to our filter component, includes available count which
- * is monitored through a firestore snapshot. Merging its values seperately from rosterCounts
- * so that presence changes don't trigger recalculation of other statuses
- */
- //TODO: Revise integration with presence. Do not use consumer providers for this applicati
- // on. Just attach a listener on the roster screen
- // return useMemo(
- // () => ({
- // ...rosterCounts,
- // [FilterValue.online]: offlineUserIds.filter((id) => id === viewerId)
- // .length,
- // }),
- // [rosterCounts, offlineUserIds],
- // );
-};
+export const useFilterCounts = () =>
+ // associates: Associate[]
+ {
+ // const offlineUserIds = useOfflineIds();
+ // const viewerId = useSelector(getEncryptedUserId);
+ /**
+ * Count of associates statuses we use as filters, recalculated
+ * when the length of the list changes
+ */
+ // const rosterCounts = useMemo(
+ // () =>
+ // associates.reduce(
+ // (accm, associate) => {
+ // if (associateIsClockedIn(associate)) {
+ // accm.clockedIn++;
+ // }
+ // if (associateIsAbsent(associate)) {
+ // accm.absent++;
+ // }
+ // if (associateIsTardy(associate)) {
+ // accm.tardy++;
+ // }
+ //
+ // return accm;
+ // },
+ // {
+ // [FilterValue.all]: associates.length,
+ // [FilterValue.absent]: 0,
+ // [FilterValue.tardy]: 0,
+ // [FilterValue.clockedIn]: 0,
+ // },
+ // ),
+ // [associates.length],
+ // );
+ /**
+ * The filter counts we pass to our filter component, includes available count which
+ * is monitored through a firestore snapshot. Merging its values seperately from rosterCounts
+ * so that presence changes don't trigger recalculation of other statuses
+ */
+ //TODO: Revise integration with presence. Do not use consumer providers for this applicati
+ // on. Just attach a listener on the roster screen
+ // return useMemo(
+ // () => ({
+ // ...rosterCounts,
+ // [FilterValue.online]: offlineUserIds.filter((id) => id === viewerId)
+ // .length,
+ // }),
+ // [rosterCounts, offlineUserIds],
+ // );
+ };
| fixing lint | fixing lint
|
251bd9e4de453b704b3bd3155daabbe9bd7319e0 | --- .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
| Update version | Update version
|
d8741cc90bd169ecfb0e0e3f2a27a6e93ba66b2d | --- packages/allspark-foundation/__tests__/Network/sagas.test.ts
@@ -0,0 +1,26 @@
+import { select, take } from 'redux-saga/effects';
+import { waitForNetworkFetch } from '../../src/Network/sagas';
+import { NetworkSelectors } from '../../src/Network/selectors';
+import { NetworkActionTypes } from '../../src/Network/redux';
+
+describe('waitForNetworkFetch Saga', () => {
+ it('should wait for network fetch to complete successfully', () => {
+ const gen = waitForNetworkFetch();
+ expect(gen.next().value).toEqual(select(NetworkSelectors.getLoading));
+ expect(gen.next(false).value).toEqual(select(NetworkSelectors.getLoaded));
+ expect(gen.next(false).value).toEqual(select(NetworkSelectors.getError));
+ expect(gen.next(false).value).toEqual(
+ take([NetworkActionTypes.FETCH_SUCCESS, NetworkActionTypes.FETCH_ERROR])
+ );
+ expect(gen.next().value).toEqual(select(NetworkSelectors.getData));
+ expect(gen.next().done).toBe(true);
+ });
+ it('should handle error state without waiting for take effect', () => {
+ const gen = waitForNetworkFetch();
+ expect(gen.next().value).toEqual(select(NetworkSelectors.getLoading));
+ expect(gen.next(false).value).toEqual(select(NetworkSelectors.getLoaded));
+ expect(gen.next(false).value).toEqual(select(NetworkSelectors.getError));
+ expect(gen.next(true).value).toEqual(select(NetworkSelectors.getData));
+ expect(gen.next().done).toBe(true);
+ });
+});
| network sagas test | network sagas test
|
a0fe8cf156618ff503f89ae8edf5a775a4499ca8 | --- targets/US/package.json
@@ -113,7 +113,7 @@
"@walmart/ims-print-services-ui": "2.16.4",
"@walmart/inbox-mini-app": "0.97.13",
"@walmart/invue-react-native-sdk": "0.1.26-beta.3-w2",
- "@walmart/iteminfo-mini-app": "8.1.1",
+ "@walmart/iteminfo-mini-app": "8.1.2",
"@walmart/learning-mini-app": "20.0.39",
"@walmart/manager-approvals-miniapp": "0.3.2",
"@walmart/me-at-walmart-athena-queries": "6.27.0",
--- yarn.lock
@@ -6857,9 +6857,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/iteminfo-mini-app@npm:8.1.1":
- version: 8.1.1
- resolution: "@walmart/iteminfo-mini-app@npm:8.1.1"
+"@walmart/iteminfo-mini-app@npm:8.1.2":
+ version: 8.1.2
+ resolution: "@walmart/iteminfo-mini-app@npm:8.1.2"
peerDependencies:
"@apollo/client": ">=3.7.3"
"@react-native-community/art": 1.2.0
@@ -6904,7 +6904,7 @@ __metadata:
reselect: ">=4.1.0"
uuid: ">=3.3.2"
victory-native: ">=36.5.0"
- checksum: 10c0/cfa926eaeac8800f6c713d0d9eda9d52b4eb7a36d38ca3a4f716b0b52654b3adfeab513c17862ec63e38cfcf9f58bae56c73498e838bf1ee5308b4f9765dd718
+ checksum: 10c0/48fb977c69ab3bde1e009ed2be00f0145f1f7a402bd14bba5405f3d23f52bc4102d460ef037cf33143e660123570d691f87d2ab9a5a48edf61f2fb8700a3fab9
languageName: node
linkType: hard
@@ -7350,7 +7350,7 @@ __metadata:
"@walmart/ims-print-services-ui": "npm:2.16.4"
"@walmart/inbox-mini-app": "npm:0.97.13"
"@walmart/invue-react-native-sdk": "npm:0.1.26-beta.3-w2"
- "@walmart/iteminfo-mini-app": "npm:8.1.1"
+ "@walmart/iteminfo-mini-app": "npm:8.1.2"
"@walmart/learning-mini-app": "npm:20.0.39"
"@walmart/manager-approvals-miniapp": "npm:0.3.2"
"@walmart/me-at-walmart-athena-queries": "npm:6.27.0"
| Fixed the compensable feature | Fixed the compensable feature
|
f136ea1f7ad67aa85582880b2c19ff3b2a081769 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/ShiftFilterList.tsx
@@ -30,7 +30,7 @@ export const ShiftFilterList: React.FC<ShiftFilterListProps> = ({
: t('shiftFilter.title')
}
subText={
- !isMandatoryShiftError && !filterListData
+ !isMandatoryShiftError && !filterListData.length
? getSubText(filterListData, isModal, t)
: undefined
}
| Updating mandatory alert logic | Updating mandatory alert logic
|
ab46064cb8af49f373c61cf324b680f4fa1dd786 | --- packages/components-library/components/GoalListItem/GoalListItem.tsx
@@ -208,8 +208,8 @@ const styles = StyleSheet.create({
},
icon: {
marginRight: -8,
- marginLeft: 4
- }
+ marginLeft: 4,
+ },
});
GoalListItem.displayName = 'GoalListItem';
| fix(ci): lint fix | fix(ci): lint fix
|
1896b3382e09df56dc03762c9b38f29fa5258509 | --- package-lock.json
@@ -1937,9 +1937,9 @@
"integrity": "sha512-jrHd8momPaFtq2uMCEuqbJTTsRBjwyRplTcNEWjS6gvrc+WVFI5vVD1zcsSNpLevc4UFRdUYkvw0AYvF9yhdPw=="
},
"@walmart/feedback-all-spark-miniapp": {
- "version": "0.0.28",
- "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.28.tgz",
- "integrity": "sha512-P97CAFPbgEjNiq9HIf2N10WB42lMebdaxPbdGikuzJUbvkOHaCzCN+zjye6VOi9ze6MH3eiz9bu4dn2oL5wIew=="
+ "version": "0.0.29",
+ "resolved": "https://npme.walmart.com/@walmart/feedback-all-spark-miniapp/-/feedback-all-spark-miniapp-0.0.29.tgz",
+ "integrity": "sha512-AhmCucaFw5mLIqZPF0766OpNutaLJa5SXyfPxDTX7J2x8MxYsd0G/lgKFL/41XKEmzvnYqILub3qTfJkBSTwAg=="
},
"@walmart/functional-components": {
"version": "1.0.22",
--- package.json
@@ -46,7 +46,7 @@
"@walmart/allspark-me-mini-app": "0.0.11",
"@walmart/ask-sam-mini-app": "0.6.23",
"@walmart/config-components": "1.0.7",
- "@walmart/feedback-all-spark-miniapp": "0.0.28",
+ "@walmart/feedback-all-spark-miniapp": "0.0.29",
"@walmart/functional-components": "^1.0.22",
"@walmart/gtp-shared-components": "^0.2.2",
"@walmart/moment-walmart": "1.0.4",
| Bumping mini app version (#169) | Bumping mini app version (#169)
Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> |
75c402b79574ed2f86274455613389984ac44f52 | --- __tests__/changeStore/ChangeStoreModalTest.tsx
@@ -2,7 +2,7 @@ import React, {useState} from 'react';
import {Platform} from 'react-native';
import {useSelector} from 'react-redux';
import {create} from 'react-test-renderer';
-import {Animated, InteractionManager, Keyboard} from 'react-native';
+import {Animated, Keyboard} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import {ChangeStoreModal} from '../../src/changeStore/ChangeStoreModal';
@@ -96,6 +96,8 @@ const mockState = ({
mockUseSelector.mockReturnValueOnce(false); //networkSiteMismatch
};
+jest.useFakeTimers();
+
describe('ChangeStoreModal', () => {
beforeEach(jest.clearAllMocks);
@@ -140,18 +142,12 @@ describe('ChangeStoreModal', () => {
});
component.update(<ChangeStoreModal {...baseProps} />);
- let interactionTask: any;
- const interactionSpy = jest
- .spyOn(InteractionManager, 'runAfterInteractions')
- //@ts-ignore
- .mockImplementation(jest.fn((task) => (interactionTask = task)));
-
const Header = component.root.findByType(BottomSheetHeader);
Header.props.onClose();
expect(navigation.goBack).toHaveBeenCalled();
- expect(interactionSpy).toHaveBeenCalled();
- interactionTask();
+ expect(setTimeout).toHaveBeenCalled();
+ jest.runTimersToTime(1000);
expect(navigation.navigate).toHaveBeenCalledWith('Core.Toast', {
message: 'changeStore.successMessage',
});
--- src/changeStore/ChangeStoreModal.tsx
@@ -3,7 +3,6 @@ import {useSelector} from 'react-redux';
import {useTranslation} from 'react-i18next';
import {
View,
- InteractionManager,
Platform,
LayoutChangeEvent,
Keyboard,
@@ -110,11 +109,11 @@ export const ChangeStoreModal = (props: StackScreenProps<any>) => {
if (!!currentSite && currentSite !== workingSite) {
userActions.updateUser({siteId: currentSite, workingSite: currentSite});
- InteractionManager.runAfterInteractions(() =>
+ setTimeout(() => {
navigation.navigate('Core.Toast', {
message: t('changeStore.successMessage'),
- }),
- );
+ });
+ }, 1000);
}
};
| Replacing interaction manager delay with timeout for consistency | Replacing interaction manager delay with timeout for consistency
|
932b3a2778d5b89ea50acd86b174351feec09885 | --- package.json
@@ -108,7 +108,7 @@
"@walmart/functional-components": "~6.3.28",
"@walmart/global-vpi-mini-app": "1.1.20",
"@walmart/gta-react-native-calendars": "0.7.0",
- "@walmart/gtp-shared-components": "2.2.7-rc.2",
+ "@walmart/gtp-shared-components": "2.2.7",
"@walmart/ims-print-services-ui": "2.20.0",
"@walmart/inbox-mini-app": "0.101.1",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.12",
--- yarn.lock
@@ -8216,9 +8216,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/gtp-shared-components@npm:2.2.7-rc.2":
- version: 2.2.7-rc.2
- resolution: "@walmart/gtp-shared-components@npm:2.2.7-rc.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fgtp-shared-components%2F-%2F%40walmart%2Fgtp-shared-components-2.2.7-rc.2.tgz"
+"@walmart/gtp-shared-components@npm:2.2.7":
+ version: 2.2.7
+ resolution: "@walmart/gtp-shared-components@npm:2.2.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fgtp-shared-components%2F-%2F%40walmart%2Fgtp-shared-components-2.2.7.tgz"
dependencies:
"@livingdesign/tokens": "npm:0.74.0"
"@walmart/gtp-shared-icons": "npm:1.0.10"
@@ -8236,7 +8236,7 @@ __metadata:
bin:
installFonts: ./scripts/installFonts
runCodemods: ./scripts/runCodemods
- checksum: 10c0/cbd875451901b107f1d7b3acad5b84553378866c804ba5e0aef22c016e9492bfc82f806162e0433da4dc7abb002030465d671e9aa0ba0576950b491b93ea4ba1
+ checksum: 10c0/3f2e30df24a2e7cfc82c52ebf06bd4f322dc30a724832e04cca067a7d289eeeadddf0a0dc32d6a6209b6d9b0a9f7eb610351a06eee6da0a258bbcda307bd49b0
languageName: node
linkType: hard
@@ -8646,7 +8646,7 @@ __metadata:
"@walmart/functional-components": "npm:~6.3.28"
"@walmart/global-vpi-mini-app": "npm:1.1.20"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
- "@walmart/gtp-shared-components": "npm:2.2.7-rc.2"
+ "@walmart/gtp-shared-components": "npm:2.2.7"
"@walmart/ims-print-services-ui": "npm:2.20.0"
"@walmart/inbox-mini-app": "npm:0.101.1"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.12"
| chore(gtp-version): Updated GTP version (#4359) | chore(gtp-version): Updated GTP version (#4359)
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com> |
3eff7998f640dac1191e87b9c35797b0883ee2ab | --- package.json
@@ -94,7 +94,7 @@
"@walmart/core-utils": "6.1.4",
"@walmart/functional-components": "6.1.4",
"@walmart/gtp-shared-components": "2.2.4",
- "@walmart/me-at-walmart-athena-queries": "6.30.3",
+ "@walmart/me-at-walmart-athena-queries": "6.30.4",
"@walmart/me-at-walmart-common": "6.25.1",
"@walmart/me-at-walmart-container": "latest",
"@walmart/react-native-encrypted-storage": "~1.1.3",
--- src/hooks/teams.ts
@@ -12,8 +12,7 @@ import {
} from '@walmart/allspark-foundation-hub';
import {useGetSupplyChainTeamByIdQuery} from '../queries/getSupplyChainTeamById';
import {useSupplyChainTeamsByBusinessUnitQuery} from '../queries/supplyChainTeamsByBusinessUnit';
-// import {getShiftLabel} from '../utils/rosterDetail';
-// import { translationClient } from '../common';
+import {translationClient} from '../common';
export const useSupplyChainTeamById = (teamId: string) => {
const storeNbr: string | undefined = useSelector(UserSelectors.getSiteId);
@@ -169,16 +168,14 @@ export const useGetViewersPrimaryTeamName = () => {
return viewerTeam && viewerTeam?.length > 0 ? viewerTeam[0].teamName : '';
};
-// export const useGetViewersShiftData = () => {
-// const {t} = translationClient.useTranslation();
-// const viewerTeam = useSelector(UserSelectors.getTeams);
-// return viewerTeam &&
-// viewerTeam?.length > 0 &&
-// viewerTeam[0]?.membership &&
-// viewerTeam[0]?.membership?.length > 0
-// ? getShiftLabel(viewerTeam[0]?.membership[0]?.shiftCode)
-// : t('shiftChip.allShifts', {
-// defaultValue: 'All shifts',
-// fallbackLng: 'en-US',
-// });
-// };
+export const useGetViewersShiftData = () => {
+ const {t} = translationClient.useTranslation();
+ const userData = useSelector(UserSelectors.getData);
+ return (
+ userData?.shift?.shiftName ||
+ t('shiftChip.allShifts', {
+ defaultValue: 'All shifts',
+ fallbackLng: 'en-US',
+ })
+ );
+};
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -26,6 +26,7 @@ import {
useSupplyChainTeamsByBusinessUnit,
useGetViewersPrimaryTeamId,
useGetViewersPrimaryTeamName,
+ useGetViewersShiftData,
} from '../../hooks';
import {useSelector} from 'react-redux';
import {
@@ -82,6 +83,7 @@ export const SupplyChainRosterDetailScreen = ({
}: RosterDetailScreenProps) => {
const loggedInUserTeamId = useGetViewersPrimaryTeamId();
const loggedInUserTeamName = useGetViewersPrimaryTeamName();
+ const loggedInUserShift = useGetViewersShiftData();
const initialTeamId = route.params?.teamId
? route.params?.teamId
: loggedInUserTeamId;
@@ -126,7 +128,7 @@ export const SupplyChainRosterDetailScreen = ({
teamLabel: string[];
teamIds: string[];
}>({
- shiftIds: [],
+ shiftIds: [loggedInUserShift],
teamLabel: [defaultTeamLabel as string],
teamIds: defaultTeamIds,
});
@@ -221,20 +223,9 @@ export const SupplyChainRosterDetailScreen = ({
const getCurrentTeamName = useCallback(() => {
if (isPrimaryTeam) {
- if (
- currentTeam &&
- currentTeam.membership &&
- currentTeam.membership[0]?.shiftCode
- ) {
- return t('rosterScreen.primaryTeamRosterName', {
- teamName: `${loggedInUserTeamName} | ${currentTeam.membership[0]?.shiftCode}`,
- });
- } else {
- return t('shiftChip.allShifts', {
- defaultValue: 'All shifts',
- fallbackLng: 'en-US',
- });
- }
+ return t('rosterScreen.primaryTeamRosterName', {
+ teamName: `${loggedInUserTeamName} | ${loggedInUserShift}`,
+ });
} else {
return t('rosterScreen.rosterName');
}
@@ -569,9 +560,9 @@ export const SupplyChainRosterDetailScreen = ({
shiftIds: string[],
) => {
setSwitcherTeamState({
- shiftIds: shiftIds,
- teamLabel: teamLabel,
- teamIds: teamIds,
+ shiftIds,
+ teamLabel,
+ teamIds,
});
}}
refreshing={state.refreshing}
--- yarn.lock
@@ -6208,12 +6208,12 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/me-at-walmart-athena-queries@npm:6.30.3":
- version: 6.30.3
- resolution: "@walmart/me-at-walmart-athena-queries@npm:6.30.3"
+"@walmart/me-at-walmart-athena-queries@npm:6.30.4":
+ version: 6.30.4
+ resolution: "@walmart/me-at-walmart-athena-queries@npm:6.30.4"
peerDependencies:
"@apollo/client": "*"
- checksum: 10c0/fea2e73f761248b398198b3649d7163134580f306c4f112e94e5fb4bb6d0ad0f801a57527b46353dbde87e934134e93c176f23a966574acd5ee3eb39f284948c
+ checksum: 10c0/862add85bca86dc76eb7034d15e38806a7d28e16d6c4edb4773279f842a5c67f212ccc962468688e6b4c5e1b242973e8bdec4e06b5d4db8e4bf387dff5c8a1ee
languageName: node
linkType: hard
@@ -6392,7 +6392,7 @@ __metadata:
"@walmart/core-utils": "npm:6.1.4"
"@walmart/functional-components": "npm:6.1.4"
"@walmart/gtp-shared-components": "npm:2.2.4"
- "@walmart/me-at-walmart-athena-queries": "npm:6.30.3"
+ "@walmart/me-at-walmart-athena-queries": "npm:6.30.4"
"@walmart/me-at-walmart-common": "npm:6.25.1"
"@walmart/me-at-walmart-container": "npm:latest"
"@walmart/react-native-encrypted-storage": "npm:~1.1.3"
| Update roster mini app version | Update roster mini app version
|
d9a3f9db64d8efc62e3909d2cf1b818ac20df7d9 | --- sonar-project.properties
@@ -5,7 +5,7 @@ sonar.host.url=http://sonar.looper.prod.walmartlabs.com
sonar.sources=packages/allspark-authentication/src, packages/allspark-foundation/src, packages/allspark-utils/src
sonar.tests=packages/allspark-authentication/__tests__, packages/allspark-foundation/__tests__, packages/allspark-utils/__tests__
-sonar.exclusions=packages/allspark-authentication/src/Authentication.ts, packages/allspark-foundation/src/cli, packages/allspark-foundation/src/Container, packages/allspark-foundation/src/Core, packages/allspark-foundation/src/Feature, packages/allspark-foundation/src/GraphQL, packages/allspark-foundation/src/HTTP, packages/allspark-foundation/src/Network, packages/allspark-foundation/src/Telemetry
+sonar.exclusions=packages/allspark-authentication/src/Authentication.ts, packages/allspark-foundation/src/cli/*, packages/allspark-foundation/src/Container/*, packages/allspark-foundation/src/Core/*, packages/allspark-foundation/src/Feature/*, packages/allspark-foundation/src/GraphQL/*, packages/allspark-foundation/src/HTTP/*, packages/allspark-foundation/src/Network/*, packages/allspark-foundation/src/Telemetry/*
sonar.sourceEncoding=UTF-8
sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.testExecutionReportPaths=test-report.xml
\ No newline at end of file
| chore: edit sonar project file | chore: edit sonar project file
|
4be78f2a4c9a075dc271a7a83c8bf76b0223574e | --- package.json
@@ -104,7 +104,7 @@
"@walmart/iteminfo-mini-app": "7.4.0",
"@walmart/manager-approvals-miniapp": "0.2.4",
"@walmart/me-field-mini-app": "13.0.3",
- "@walmart/metrics-mini-app": "0.15.1",
+ "@walmart/metrics-mini-app": "0.15.0",
"@walmart/mod-flex-mini-app": "1.10.4",
"@walmart/moment-walmart": "1.0.4",
"@walmart/onewalmart-miniapp": "1.0.16",
| metrics version change | metrics version change
|
d1beb6172ece48b345d7a8083bac8f8ce6a009ce | --- src/constants.ts
@@ -4,6 +4,7 @@ export const RNFBConfigiOS = '75AC25EB-432A-47D1-855A-84728D2AB60C';
export const ROOT_CONTAINER_SCREEN_NAME = 'myTeam';
export const APP_CONTAINER_SCREEN_NAME = 'myTeam.root';
export const MESSAGES_SCREEN_NAME = 'myTeam.messages';
+export const NEW_MESSAGES_SCREEN_NAME = 'myTeam.newMessage';
export const WHOLE_STORE = 'WHOLESTORE';
export const PUSHTOTALK_SCREEN_NAME = 'myTeam.pushToTalk';
// eslint-disable-next-line no-shadow
--- src/screens/ChannelsScreen.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import {FlatList, ListRenderItem, StyleSheet, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
-import {useFocusEffect} from '@react-navigation/native';
+import {useFocusEffect, useRoute} from '@react-navigation/native';
import {Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
import {TextingNavParamsMap} from '../navigation/types';
@@ -17,6 +17,12 @@ import {ErrorComponent} from '../components/ErrorComponent';
import {useUserIsInRoster} from '../hooks';
import {messageButtonEnabled} from '../redux/selectors';
import {TextingDisabledScreen} from '../channels/components/TextingDisabled';
+import {
+ ROOT_CONTAINER_SCREEN_NAME,
+ APP_CONTAINER_SCREEN_NAME,
+ NEW_MESSAGES_SCREEN_NAME,
+} from '../constants';
+import {navigate} from '@walmart/react-native-shared-navigation';
const styles = StyleSheet.create({
list: {margin: 16, marginTop: 0, paddingTop: 16},
@@ -53,10 +59,22 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isConnected = useSelector(getNetworkState)?.isConnected;
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
+ const route = useRoute();
const onNewMessage = () => {
- const data = navigation.getParent()?.getState().index;
- console.log('Data: ', data);
+ if (route.name === 'PTT.MessagesList.ButtonSheet.Screen') {
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: 'myTeam.tabs',
+ });
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: APP_CONTAINER_SCREEN_NAME,
+ params: {
+ screen: NEW_MESSAGES_SCREEN_NAME,
+ },
+ });
+ }
navigation.navigate('myTeam.newMessage');
};
--- src/constants.ts
@@ -4,6 +4,7 @@ export const RNFBConfigiOS = '75AC25EB-432A-47D1-855A-84728D2AB60C';
export const ROOT_CONTAINER_SCREEN_NAME = 'myTeam';
export const APP_CONTAINER_SCREEN_NAME = 'myTeam.root';
export const MESSAGES_SCREEN_NAME = 'myTeam.messages';
+export const NEW_MESSAGES_SCREEN_NAME = 'myTeam.newMessage';
export const WHOLE_STORE = 'WHOLESTORE';
export const PUSHTOTALK_SCREEN_NAME = 'myTeam.pushToTalk';
// eslint-disable-next-line no-shadow
--- src/screens/ChannelsScreen.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import {FlatList, ListRenderItem, StyleSheet, View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import {StackNavigationProp} from '@react-navigation/stack';
-import {useFocusEffect} from '@react-navigation/native';
+import {useFocusEffect, useRoute} from '@react-navigation/native';
import {Button, ChatBubbleIcon, Spinner} from '@walmart/gtp-shared-components';
import {TextingNavParamsMap} from '../navigation/types';
@@ -17,6 +17,12 @@ import {ErrorComponent} from '../components/ErrorComponent';
import {useUserIsInRoster} from '../hooks';
import {messageButtonEnabled} from '../redux/selectors';
import {TextingDisabledScreen} from '../channels/components/TextingDisabled';
+import {
+ ROOT_CONTAINER_SCREEN_NAME,
+ APP_CONTAINER_SCREEN_NAME,
+ NEW_MESSAGES_SCREEN_NAME,
+} from '../constants';
+import {navigate} from '@walmart/react-native-shared-navigation';
const styles = StyleSheet.create({
list: {margin: 16, marginTop: 0, paddingTop: 16},
@@ -53,10 +59,22 @@ export const ChannelsScreen: React.FC<ChannelScreenProps> = (
const isConnected = useSelector(getNetworkState)?.isConnected;
const userIsInRoster = useUserIsInRoster();
const isMessageButtonEnabled: boolean = useSelector(messageButtonEnabled);
+ const route = useRoute();
const onNewMessage = () => {
- const data = navigation.getParent()?.getState().index;
- console.log('Data: ', data);
+ if (route.name === 'PTT.MessagesList.ButtonSheet.Screen') {
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: 'myTeam.tabs',
+ });
+ navigate(ROOT_CONTAINER_SCREEN_NAME, {
+ // @ts-ignore
+ screen: APP_CONTAINER_SCREEN_NAME,
+ params: {
+ screen: NEW_MESSAGES_SCREEN_NAME,
+ },
+ });
+ }
navigation.navigate('myTeam.newMessage');
};
| update nested navigation | update nested navigation
|
df6016d1489943601b4e3aa751be05c42c606d05 | --- __tests__/core/appConfigInitTest.ts
@@ -10,7 +10,7 @@ import type {AppConfigFetchParams} from '@walmart/config-components';
import DeviceInfo from 'react-native-device-info';
import env from '../../env';
-import {createRestartableSagas} from '../../src/redux';
+import {createRestartableSagas, getOriginalSite} from '../../src/redux';
import {
onNetworkTypeChange,
appConfigSagas,
@@ -210,6 +210,7 @@ describe('getConfigScope', () => {
const appVersion = '1.0';
const appBuildNumber = '7';
const appId = 'com.walmart.test';
+ const originalSite = '100';
it('gets scope and params for app config', () => {
const iterator = getConfigScope();
@@ -217,7 +218,10 @@ describe('getConfigScope', () => {
expect(iterator.next().value).toEqual(select(isSiteLoaded));
expect(iterator.next(true).value).toEqual(select(getSite));
expect(iterator.next(site).value).toEqual(select(getUser));
- expect(iterator.next(user).value).toEqual(call(DeviceInfo.getVersion));
+ expect(iterator.next(user).value).toEqual(select(getOriginalSite));
+ expect(iterator.next(originalSite).value).toEqual(
+ call(DeviceInfo.getVersion),
+ );
expect(iterator.next(appVersion).value).toEqual(
call(DeviceInfo.getBuildNumber),
);
--- __tests__/core/storeConfigInitTest.ts
@@ -1,7 +1,7 @@
import {takeLatest, all, call, select} from 'redux-saga/effects';
import {onUserChanged, storeSagas} from '../../src/core/storeConfigInit';
-import {getUser, USER_CHANGED_ACTIONS} from '../../src/redux';
+import {getOriginalSite, USER_CHANGED_ACTIONS} from '../../src/redux';
jest.mock('@walmart/config-components', () => ({
StoreConfig: {
@@ -23,20 +23,11 @@ jest.mock('../../src/redux/CreateRestartableSagas', () => ({
createRestartableSagas: (sagas: any[]) => sagas,
}));
-import {User, Site, storeConfigActions} from '@walmart/redux-store';
+import {Site, storeConfigActions} from '@walmart/redux-store';
import {StoreConfig} from '@walmart/config-components';
describe('onUserChanged', () => {
- const user: User = {
- userId: 'test',
- domain: 'store',
- countryCode: 'us',
- employeeType: 'x',
- division: '1',
- fullTimePartTime: 'f',
- win: '123',
- siteId: 'junk',
- };
+ let originalSite = 'junk';
const storeConfig: Site = {
currency: {code: 'usd', description: 'dollahs'},
@@ -73,20 +64,20 @@ describe('onUserChanged', () => {
};
it('handles no site id', () => {
- user.siteId = 'junk';
+ originalSite = 'junk';
const iterator = onUserChanged();
- expect(iterator.next().value).toEqual(select(getUser));
- expect(iterator.next(user).done).toBe(true);
+ expect(iterator.next().value).toEqual(select(getOriginalSite));
+ expect(iterator.next(originalSite).done).toBe(true);
});
it('handles success', () => {
- user.siteId = '100';
+ originalSite = '100';
const iterator = onUserChanged();
- expect(iterator.next().value).toEqual(select(getUser));
- expect(iterator.next(user).value).toEqual(
+ expect(iterator.next().value).toEqual(select(getOriginalSite));
+ expect(iterator.next(originalSite).value).toEqual(
call(storeConfigActions.storeConfigProgress),
);
- expect(iterator.next().value).toEqual(call(StoreConfig.get, user.siteId));
+ expect(iterator.next().value).toEqual(call(StoreConfig.get, originalSite));
expect(iterator.next(storeConfig).value).toEqual(
call(storeConfigActions.storeConfigSuccess, storeConfig),
);
@@ -94,14 +85,13 @@ describe('onUserChanged', () => {
});
it('handles failure', () => {
- user.siteId = '4';
- user.siteId = '100';
+ originalSite = '100';
const iterator = onUserChanged();
- expect(iterator.next().value).toEqual(select(getUser));
- expect(iterator.next(user).value).toEqual(
+ expect(iterator.next().value).toEqual(select(getOriginalSite));
+ expect(iterator.next(originalSite).value).toEqual(
call(storeConfigActions.storeConfigProgress),
);
- expect(iterator.next().value).toEqual(call(StoreConfig.get, user.siteId));
+ expect(iterator.next().value).toEqual(call(StoreConfig.get, originalSite));
const err = new Error('ops');
expect(iterator.throw(err).value).toEqual(
call(storeConfigActions.storeConfigError, err),
--- ios/AllSpark.xcodeproj/project.pbxproj
@@ -536,7 +536,7 @@
SWIFT_OBJC_BRIDGING_HEADER = "AllSpark-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = 1;
+ TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
@@ -573,7 +573,7 @@
PRODUCT_NAME = "Me@Walmart";
PROVISIONING_PROFILE_SPECIFIER = MeAtWMBeta_InHouse_Provision;
SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = 1;
+ TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
--- src/core/appConfigInit.ts
@@ -12,7 +12,7 @@ import {WMNetworkReducerTypes} from 'react-native-wm-network';
import DeviceInfo from 'react-native-device-info';
import {DefaultLogger} from '@walmart/react-native-logger';
import env from '../../env';
-import {createRestartableSagas} from '../redux';
+import {createRestartableSagas, getOriginalSite} from '../redux';
export const APP_STORE_CONFIG_SUBSCRIPTION_KEY = 'APP_STORE_CONFIG_APP';
@@ -67,6 +67,7 @@ export function* getConfigScope() {
if (siteLoaded) {
const site: Site | null = yield select(getSite);
const user: User | null = yield select(getUser);
+ const originalSite = yield select(getOriginalSite);
const environment = env.deployment;
const appVersion = yield call(DeviceInfo.getVersion);
@@ -75,7 +76,7 @@ export function* getConfigScope() {
const country = site?.country || '';
const divisionNbr = site?.division.code || '';
const state = site?.location.address.state;
- const siteId = site?.siteId;
+ const siteId = originalSite; // use working site for 'dc' domain and site for others
const payType = user?.employeeType;
const scope = buildScope(environment, country, divisionNbr);
--- src/core/storeConfigInit.ts
@@ -2,7 +2,11 @@ import {takeLatest, all, call, select} from 'redux-saga/effects';
import {StoreConfig} from '@walmart/config-components';
import {addSagas, Site, storeConfigActions} from '@walmart/redux-store';
import env from '../../env';
-import {createRestartableSagas, getUser, USER_CHANGED_ACTIONS} from '../redux';
+import {
+ createRestartableSagas,
+ getOriginalSite,
+ USER_CHANGED_ACTIONS,
+} from '../redux';
StoreConfig.initialize({
baseURL: `${env.externalBffUrl}${env.bffService}`,
@@ -13,11 +17,11 @@ StoreConfig.initialize({
});
export function* onUserChanged() {
- const user = yield select(getUser);
- if (user && user.siteId && parseInt(user.siteId, 10)) {
+ const originalSite = yield select(getOriginalSite);
+ if (originalSite && parseInt(originalSite, 10)) {
yield call(storeConfigActions.storeConfigProgress);
try {
- const storeConfig: Site = yield call(StoreConfig.get, `${user.siteId}`);
+ const storeConfig: Site = yield call(StoreConfig.get, `${originalSite}`);
yield call(storeConfigActions.storeConfigSuccess, storeConfig);
} catch (err) {
yield call(storeConfigActions.storeConfigError, err);
| use working site for dc domain (#424) | use working site for dc domain (#424)
* use working site for dc domain
* site config check for DC and disable ipad support
* Added back iPad support.
* Adding iPad support (#429)
Co-authored-by: Hitesh Arora <>
Co-authored-by: Andrew Fulton - a0f00ev <Andrew.Fulton@walmart.com>
Co-authored-by: Hitesh Arora - h0a006n <Hitesh.Arora@walmart.com> |
b130615d0547f623b3fc029ee054ac5b13b7d79e | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Hub/SiteHubDashboard.tsx
@@ -85,6 +85,7 @@ export const SiteHubDashboard = ({ name, widgets }: HubDashboardProps) => {
const showHubTeamSwitcher = useSelector(teamSwitcherEnabled); // TODO: Create separate selector for supply chain team switcher
console.log('showHubTeamSwitcher,', showHubTeamSwitcher);
+ const showTeamSwitcher = 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
|
b0a9044808eb531751f77951a12fce3d5b8db8f5 | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.25.10](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.9...@walmart/allspark-foundation-hub@1.25.10) (2025-12-09)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.25.9](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.25.8...@walmart/allspark-foundation-hub@1.25.9) (2025-12-08)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.25.9",
+ "version": "1.25.10",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.16.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.7...@walmart/allspark-foundation@7.16.8) (2025-12-09)
+
+**Note:** Version bump only for package @walmart/allspark-foundation
+
## [7.16.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.16.6...@walmart/allspark-foundation@7.16.7) (2025-12-08)
**Note:** Version bump only for package @walmart/allspark-foundation
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.16.7",
+ "version": "7.16.8",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/my-walmart-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.6.8](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.7...@walmart/my-walmart-hub@1.6.8) (2025-12-09)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.6.7](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.6.6...@walmart/my-walmart-hub@1.6.7) (2025-12-08)
**Note:** Version bump only for package @walmart/my-walmart-hub
--- packages/my-walmart-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/my-walmart-hub",
- "version": "1.6.7",
+ "version": "1.6.8",
"description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.16.8
- @walmart/allspark-foundation-hub@1.25.10
- @walmart/my-walmart-hub@1.6.8
|
ea5a23aadc087a91f71ee851e3f77b5a525af928 | --- packages/celebration-mini-app-graphql/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.15.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.14.1...@walmart/celebration-mini-app-graphql@1.15.0) (2025-11-08)
+
+### Features
+
+- **ui:** update allspark component container ([4701028](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/47010287809e71decb66a48443d1f14f42b6c448))
+
## [1.14.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.14.0...@walmart/celebration-mini-app-graphql@1.14.1) (2025-11-08)
**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.14.1",
+ "version": "1.15.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-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.24.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.23.1...@walmart/celebration-mini-app@1.24.0) (2025-11-08)
+
+### Features
+
+- **ui:** update allspark component container ([4701028](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/47010287809e71decb66a48443d1f14f42b6c448))
+
## [1.23.1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.23.0...@walmart/celebration-mini-app@1.23.1) (2025-11-08)
**Note:** Version bump only for package @walmart/celebration-mini-app
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.23.1",
+ "version": "1.24.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.24.0
- @walmart/celebration-mini-app-graphql@1.15.0
|
b983d4eb32090f54648d6272396b290560ac424b | --- android/app/build.gradle
@@ -158,8 +158,8 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 905
- versionName "1.8.19"
+ versionCode 906
+ versionName "1.8.20"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
--- ios/AllSpark/Info.plist
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.8.19</string>
+ <string>1.8.20</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>905</string>
+ <string>906</string>
<key>FirebaseAutomaticScreenReportingEnabled</key>
<false />
<key>LSApplicationQueriesSchemes</key>
--- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "allspark-main",
- "version": "1.8.19",
+ "version": "1.8.20",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "allspark-main",
- "version": "1.8.19",
+ "version": "1.8.20",
"hasInstallScript": true,
"dependencies": {
"@react-native-community/art": "^1.2.0",
@@ -72,7 +72,7 @@
"@walmart/react-native-scanner-3.0": "0.1.27",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.5.0",
+ "@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.8.31",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
@@ -5702,9 +5702,9 @@
}
},
"node_modules/@walmart/react-native-sumo-sdk": {
- "version": "2.5.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.0.tgz",
- "integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ==",
+ "version": "2.5.1",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.1.tgz",
+ "integrity": "sha512-CxtyZsPMfyN6081C10uIPoP93aWLl4gHGRgiI8p7bwhIJLl8NiuOl/bqdvE3N7pAZYTeKG7lSxtc88++uvJKWA==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -25021,9 +25021,9 @@
"integrity": "sha512-gLzyGCqTlFmLPzD26zv/oKIk5I+6okN/+Z3mhyQzl/pO5UDr9zSe0VAXMlwJU3exn9ywuBEF5M/wn6G1WZLHkw=="
},
"@walmart/react-native-sumo-sdk": {
- "version": "2.5.0",
- "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.0.tgz",
- "integrity": "sha512-VkGT8BSZOsxR4FJjxeu6ursO3qzAVZea6jEwT6KJsXgBJ9MIHhkBo78guM6kEbqqQl3SlGS/+5tbOxKdWrvStQ=="
+ "version": "2.5.1",
+ "resolved": "https://npme.walmart.com/@walmart/react-native-sumo-sdk/-/react-native-sumo-sdk-2.5.1.tgz",
+ "integrity": "sha512-CxtyZsPMfyN6081C10uIPoP93aWLl4gHGRgiI8p7bwhIJLl8NiuOl/bqdvE3N7pAZYTeKG7lSxtc88++uvJKWA=="
},
"@walmart/receipt-check-miniapp": {
"version": "1.8.31",
--- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark-main",
- "version": "1.8.19",
+ "version": "1.8.20",
"private": true,
"scripts": {
"android": "react-native run-android",
@@ -114,7 +114,7 @@
"@walmart/react-native-scanner-3.0": "0.1.27",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.5.0",
+ "@walmart/react-native-sumo-sdk": "2.5.1",
"@walmart/receipt-check-miniapp": "1.8.31",
"@walmart/redux-store": "3.1.3",
"@walmart/refrigeration-alarms-mini-app": "1.35.0",
| Version bump to 1.8.20 and sumo sdk update. | Version bump to 1.8.20 and sumo sdk update.
|
9c1d7b0caf7eba5c9b5289266ee2debcd51c53fd | --- package.json
@@ -109,7 +109,7 @@
"@walmart/global-vpi-mini-app": "1.1.14",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.7-rc.0",
- "@walmart/ims-print-services-ui": "2.18.1",
+ "@walmart/ims-print-services-ui": "2.19.0",
"@walmart/inbox-mini-app": "0.98.4",
"@walmart/invue-react-native-sdk": "0.1.26-alpha.8-wt2",
"@walmart/iteminfo-mini-app": "8.1.2",
--- yarn.lock
@@ -7920,9 +7920,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ims-print-services-ui@npm:2.18.1":
- version: 2.18.1
- resolution: "@walmart/ims-print-services-ui@npm:2.18.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.18.1.tgz"
+"@walmart/ims-print-services-ui@npm:2.19.0":
+ version: 2.19.0
+ resolution: "@walmart/ims-print-services-ui@npm:2.19.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fims-print-services-ui%2F-%2F%40walmart%2Fims-print-services-ui-2.19.0.tgz"
peerDependencies:
"@react-native-firebase/analytics": ">=10.5.1"
"@react-native-firebase/app": ">=10.5.0"
@@ -7940,10 +7940,9 @@ __metadata:
react: "*"
react-i18next: ">=12.0.0"
react-native: "*"
- react-native-segmented-control-tab: ">=4.0.0"
react-native-wm-telemetry: ">=0.2.0"
uuid: ">=3.3.2"
- checksum: 10c0/24e538d3b384aacc3d54b751e3aace31bd690ed73565596331ce9ad6e646394907709d93d8bfeca7b9406a7eb812beafffada3ea744b2e6e4ca1218ad7a50370
+ checksum: 10c0/1eebd1da4ad12701ac240af8d8d3e4d5c86c8de8f7fc7335266e997183ee8c1ee3634d835a30181a0acc3c8ea96d3d3463a14e0819480a8927f4cd667c070025
languageName: node
linkType: hard
@@ -8344,7 +8343,7 @@ __metadata:
"@walmart/global-vpi-mini-app": "npm:1.1.14"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.7-rc.0"
- "@walmart/ims-print-services-ui": "npm:2.18.1"
+ "@walmart/ims-print-services-ui": "npm:2.19.0"
"@walmart/inbox-mini-app": "npm:0.98.4"
"@walmart/invue-react-native-sdk": "npm:0.1.26-alpha.8-wt2"
"@walmart/iteminfo-mini-app": "npm:8.1.2"
| feat: SSLS-10490 Drop 30 Print UI (#4120) | feat: SSLS-10490 Drop 30 Print UI (#4120)
Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com> |
d86ef61b4d61546c143e0518d8de2330c797889c | --- .looper.multibranch.yml
@@ -140,8 +140,6 @@ envs:
beta:
variables:
env: "beta"
- slackIcon: ':alpha-check:'
- slackChannel: 'allspark-build-test'
dev:
variables:
env: "dev"
@@ -367,29 +365,21 @@ flows:
cocoapods-install:
- dir(ios):
- - var (podsInstalled):
- sh ../scripts/checkIfPodsExist.sh
- - echo "arePodsInstalled-- ${podsInstalled}"
- - if: |
- %{podsInstalled != '0'}
- then:
- - echo "Pods folder not found; proceeding with pod install"
- - |
- (name delete index file)
- #!/bin/sh -x
- ls -l ~/.cocoapods/repos/cocoapods/.git/index.lock
- rc=$?
- if [ $rc -eq 0 ]
- then
- echo "removing file"
- rm -f ~/.cocoapods/repos/cocoapods/.git/index.lock
- fi
- exit 0
- - (name cocoapods setup) ./BuildSupport/install-cocoapods.sh
- - (name prepare xcode) sudo /usr/local/bin/xcversion select $TARGET_XCODE
- else:
- - echo "pods already installed"
-
+ - echo "Proceeding with pod install"
+ - |
+ (name delete index file)
+ #!/bin/sh -x
+ ls -l ~/.cocoapods/repos/cocoapods/.git/index.lock
+ rc=$?
+ if [ $rc -eq 0 ]
+ then
+ echo "removing file"
+ rm -f ~/.cocoapods/repos/cocoapods/.git/index.lock
+ fi
+ exit 0
+ - (name cocoapods setup) ./BuildSupport/install-cocoapods.sh
+ - (name prepare xcode) sudo /usr/local/bin/xcversion select $TARGET_XCODE
+
# performs the ios build for the given env
#
# @param env - dev, beta, prod
@@ -507,7 +497,7 @@ flows:
echo ":x: ${osIcon} ${releaseType} BUILD FAILED"
- slack.postMessage:
message: $MESSAGE_TITLE
- channelId: "allspark-build-test"
+ channelId: ${slackChannel}
iconEmoji: ":catowo:"
username: "Build Cat"
attachments:
| Chore/looper multibranch (#534) | Chore/looper multibranch (#534)
* updating looper multibranch file
* removing builds-test slack channel and checking if pods exist logic
Co-authored-by: Hitesh Arora <> |
647daa693c2288fcaca723e37cd67e48bc581975 | --- package-lock.json
@@ -4253,9 +4253,9 @@
"integrity": "sha512-0M7ySb3F2lKlIfwBosm+Slx3kJvdoEHm5haaZ05WKCJ1hctu0F0CzTGDSbZciXWX92HJBmxvsvr8yi2H435R8g=="
},
"@walmart/ims-print-services-ui": {
- "version": "0.1.19",
- "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.19.tgz",
- "integrity": "sha512-C3HNm372mNtvwuHcDL+4nK75Idsk54+1s0CdPJDKewzBbxFkQMNIuoN3Kk3y46cMkf8bkXidf7oV9gJVArsKwQ=="
+ "version": "0.1.21",
+ "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-0.1.21.tgz",
+ "integrity": "sha512-OO0iolml1PHF9cIYRQLV1BJJ6Vz/2wzToVUzE+XbNFPTTgb69RUVRs9OC4PAKLUfQ/DyCdF8pcEoatTwUDtq+w=="
},
"@walmart/inbox-mini-app": {
"version": "0.33.0",
@@ -4263,9 +4263,9 @@
"integrity": "sha512-3EZg12hAGhSB9dlFizagfVTITjRo6Z+GphKpjP2RHlYoP3Ado1v/JSnvk0v2yI+75dll43BunIaTiuoB5G0s0A=="
},
"@walmart/iteminfo-mini-app": {
- "version": "4.1.1",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.1.1.tgz",
- "integrity": "sha512-cva0cuqfmGI3ix5t0RdnQDqMUd5htYUJn7Pgp739TA2HTYDDCnkn/l0cq0Mgg/jd4VAdjafX5KTeSvcIAfOebw=="
+ "version": "4.1.2",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-4.1.2.tgz",
+ "integrity": "sha512-x7R0fZX60o9YrngJPAFQyefIVezwF5GOyRsNZSIkRKd5P7+COhpIJWShhhbSiXX1i4EprqezFavfZpDug/ppug=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.0.59",
--- package.json
@@ -83,9 +83,9 @@
"@walmart/gta-react-native-calendars": "0.0.15",
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.27",
- "@walmart/ims-print-services-ui": "0.1.19",
+ "@walmart/ims-print-services-ui": "0.1.21",
"@walmart/inbox-mini-app": "0.33.0",
- "@walmart/iteminfo-mini-app": "4.1.1",
+ "@walmart/iteminfo-mini-app": "4.1.2",
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.57",
"@walmart/moment-walmart": "1.0.4",
| Item info drop 6.5 changes part 2 | Item info drop 6.5 changes part 2
|
dc0d9fe5c0a9de8e7e2831e208a342e729cfdeea | --- src/components/FilterChipGroup/FilterChipGroup.tsx
@@ -1,4 +1,4 @@
-import React, {useEffect, useState} from 'react';
+import React, {useState, useCallback, useMemo} from 'react';
import {FilterChipGroupProps, ShiftType} from './types';
import {filterChipGroupStyles as styles} from './styles';
import {FilterChip} from '../FilterChip/FilterChip';
@@ -33,33 +33,41 @@ export const FilterChipGroup = ({
undefined,
);
- const handleFilterPress = (filterId: FilterValue) => {
- if (externalSelectedFilter === filterId) {
- handleFilter(FilterValue.all, selectedShift?.shiftId);
- } else {
+ const handleFilterPress = useCallback(
+ (filterId: FilterValue) => {
handleFilter(filterId, selectedShift?.shiftId);
- }
- };
-
- useEffect(() => {
- handleFilter(externalSelectedFilter!, selectedShift?.shiftId);
- }, [selectedShift]);
+ },
+ [handleFilter, selectedShift?.shiftId],
+ );
const filteredFilterChips = isSalariedOrLead
? [...filterChips]
: filterChips.filter((chip) => chip.id === FilterValue.clockedIn);
- const renderFilterChips = () =>
- filteredFilterChips.map((chip: FilterChipProps) => (
+ const createFilterPressHandler = useCallback(
+ (id: FilterValue) => {
+ return () => handleFilterPress(id);
+ },
+ [handleFilterPress],
+ );
+
+ const renderedFilterChips = useMemo(() => {
+ return filteredFilterChips.map((chip: FilterChipProps) => (
<FilterChip
key={chip.id}
id={chip.id}
label={showFilterChipCount ? `${chip.count} ${chip.label}` : chip.label}
isApplied={externalSelectedFilter === chip.id}
count={chip.count}
- onPress={() => handleFilterPress(chip.id)}
+ onPress={createFilterPressHandler(chip.id)}
/>
));
+ }, [
+ filteredFilterChips,
+ showFilterChipCount,
+ externalSelectedFilter,
+ createFilterPressHandler,
+ ]);
const setShift = (shift: ShiftType) => {
setSelectedShift(() => shift);
@@ -76,6 +84,20 @@ export const FilterChipGroup = ({
});
};
+ const getShiftLabel = useMemo(() => {
+ if (!selectedShift) {
+ return `${t('rosterScreen.shiftChip.shift')} |`;
+ }
+
+ if (selectedShift.shiftName) {
+ return `${t('rosterScreen.shiftChip.shiftName')}${
+ selectedShift.shiftName
+ } |`;
+ }
+
+ return `${t('rosterScreen.shiftChip.allShifts')} |`;
+ }, [selectedShift, t]);
+
return (
<View style={styles.filterChipGroupContainer}>
{isShiftSwitcherEnabled && showShiftSwitcher && (
@@ -93,20 +115,13 @@ export const FilterChipGroup = ({
style={
selectedShift ? styles.shiftTextApplied : styles.shiftText
}>
- {selectedShift
- ? selectedShift.shiftName
- ? `${t('rosterScreen.shiftChip.shiftName')}${
- selectedShift.shiftName
- }`
- : t('rosterScreen.shiftChip.allShifts')
- : t('rosterScreen.shiftChip.shift')}
- {' |'}
+ {getShiftLabel}
</Text>
</Chip>
</>
)}
<ScrollView horizontal style={styles.ScrollViewContainer}>
- {renderFilterChips()}
+ {renderedFilterChips}
</ScrollView>
</View>
);
--- src/screens/RosterDetailScreen/StoreRosterDetailScreen.tsx
@@ -257,9 +257,26 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
FilterValue.all,
);
+ const handleFilterPress = useCallback(
+ (filterId: FilterValue) => {
+ // Create a new filter value based on whether it's already selected
+ const newFilter =
+ filterId === selectedFilter ? FilterValue.all : filterId;
+
+ analytics('filter_press', {
+ message: 'Filter associates',
+ filterName: newFilter,
+ });
+
+ // Set the correct toggled state
+ setSelectedFilter(newFilter);
+ },
+ [selectedFilter],
+ );
+
useEffect(() => {
const unsubscribe = navigation.addListener('focus', () => {
- //Reset text when the screen is focused
+ // Reset text when the screen is focused
setSearchInput('');
});
return unsubscribe;
@@ -297,6 +314,7 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
onRefresh();
}
}, [storeId]);
+
const filterChipsBasedOnRBAC = useMemo(
() =>
showStatusChipAndViewSchedule
@@ -507,14 +525,7 @@ export const StoreRosterDetailScreen = ({route}: RosterDetailScreenProps) => {
}
loading={dataLoading}
teamName={currentTeamName}
- handleFilter={(filterId: FilterValue) => {
- analytics('filter_press', {
- message: 'Filter associates',
- filterName:
- filterId === selectedFilter ? FilterValue.all : filterId,
- });
- setSelectedFilter(filterId);
- }}
+ handleFilter={handleFilterPress}
/>
{showSearchInput && (
<TeamSearchInput
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen.tsx
@@ -572,6 +572,25 @@ export const SupplyChainRosterDetailScreen = ({
];
}, [isSalariedOrLead, selectedFilter, filterCount, t]);
+ // Memoized filter handler
+ const handleFilterPress = useCallback(
+ (filterId: FilterValue, selectedShift: string | undefined) => {
+ // Calculate the new filter value - toggle between filter and "all"
+ const newFilter =
+ filterId === selectedFilter ? FilterValue.all : filterId;
+
+ analytics('filter_press', {
+ message: 'Filter associates',
+ filterName: newFilter,
+ });
+
+ // Set the correct toggled state
+ setSelectedFilter(newFilter);
+ setSelectedShift(selectedShift);
+ },
+ [selectedFilter], // Only depends on selectedFilter
+ );
+
const filterLabels = {
all: t('rosterScreen.filters.all'),
absent: t('rosterScreen.filters.absent'),
@@ -824,18 +843,7 @@ export const SupplyChainRosterDetailScreen = ({
}
loading={dataLoading}
teamName={currentTeamName as string}
- handleFilter={(
- filterId: FilterValue,
- selectedShift: string | undefined,
- ) => {
- analytics('filter_press', {
- message: 'Filter associates',
- filterName:
- filterId === selectedFilter ? FilterValue.all : filterId,
- });
- setSelectedFilter(filterId);
- setSelectedShift(selectedShift);
- }}
+ handleFilter={handleFilterPress}
/>
{showSearchInput && (
<TeamSearchInput
| fix(bug): fix issue where chip was only updating after second click | fix(bug): fix issue where chip was only updating after second click
|
1446e689e8aeaab60f25070323c1d6afa9495dd5 | --- package-lock.json
@@ -3471,9 +3471,9 @@
}
},
"@walmart/push-to-talk-mini-app": {
- "version": "0.5.37",
- "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.37.tgz",
- "integrity": "sha512-A67/TLeREAlUGETQzPBib7lc6zp4GSiHvFFI+vymAmDfWe+eguSXhQextY0kbWQz3YI1ijQ1nw7AoHzuf+kw4w=="
+ "version": "0.5.38",
+ "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.38.tgz",
+ "integrity": "sha512-Q/R8pex3bgBXhU+NH0DN/vV7m4+RDcjqt8LEfTXOm9GfmjOXsPfmTLpjxj2p6OkD4+6s7cpEAn4j3r59CWHJ9A=="
},
"@walmart/react-native-collapsible": {
"version": "1.5.3",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/manager-approvals-miniapp": "0.0.51",
"@walmart/metrics-mini-app": "0.4.12",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/push-to-talk-mini-app": "0.5.37",
+ "@walmart/push-to-talk-mini-app": "0.5.38",
"@walmart/react-native-env": "^0.2.0",
"@walmart/react-native-logger": "^1.27.0",
"@walmart/react-native-shared-navigation": "^0.4.0",
| myTeam search populate | myTeam search populate
|
528772ee6d9d423bc3c92f19efce2edb2b618def | --- package.json
@@ -136,7 +136,7 @@
"@walmart/react-native-shared-navigation": "6.1.4",
"@walmart/react-native-store-map": "0.3.7",
"@walmart/react-native-sumo-sdk": "2.7.0",
- "@walmart/react-native-webex-sdk": "0.3.3",
+ "@walmart/react-native-webex-sdk": "0.3.4",
"@walmart/receipt-check-miniapp": "1.23.4",
"@walmart/redux-store": "6.1.4",
"@walmart/returns-mini-app": "4.13.0",
--- yarn.lock
@@ -6947,14 +6947,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-webex-sdk@npm:0.3.3":
- version: 0.3.3
- resolution: "@walmart/react-native-webex-sdk@npm:0.3.3"
+"@walmart/react-native-webex-sdk@npm:0.3.4":
+ version: 0.3.4
+ resolution: "@walmart/react-native-webex-sdk@npm:0.3.4"
peerDependencies:
react: "*"
react-native: "*"
react-native-logger: "*"
- checksum: 10c0/1259f337b46622effedc49f7016189b572103ee86d36eb5de34a85ac3736f6c729f9e4a2e734da3ec877c8124cc90243b78e57dc51abb39b41c0b386a2bf5c37
+ checksum: 10c0/6217d5404ef78ce180682036c5661e4558b3019c5defdd3758ecd626f2b6caac420603d1f80f7389078e1d927f7efdab754d6a0c62034b06da9ed8de45216550
languageName: node
linkType: hard
@@ -7933,7 +7933,7 @@ __metadata:
"@walmart/react-native-shared-navigation": "npm:6.1.4"
"@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.3"
+ "@walmart/react-native-webex-sdk": "npm:0.3.4"
"@walmart/receipt-check-miniapp": "npm:1.23.4"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/returns-mini-app": "npm:4.13.0"
| Fixing calling Android 11 crash issue on incoming and outbound calls | Fixing calling Android 11 crash issue on incoming and outbound calls
|
c7779adb6ee7d8b69f4c8cdecb38d887427f2bcc | --- src/components/RosterHeader.tsx
@@ -58,7 +58,7 @@ export const RosterHeader = (props: RosterHeaderProps) => {
onPress={viewWeeklySchedule}
disabled={!associateWINs.length}
UNSAFE_style={styles.weeklyScheduleButton}
- testID='viewWeeklySchedule'>
+ testID='viewWeeklyScheduleButton'>
{t('rosterScreen.weeklySchedule')}
</Button>
)}
--- src/containers/RosterFilters.tsx
@@ -179,22 +179,22 @@ export const RosterFilters = (props: {
return (
<View style={styles.container}>
<ChipGroup onPress={onFilterPress}>
- <Chip id={FilterValue.all} testID='rosterScreenAll'>
+ <Chip id={FilterValue.all} testID='rosterScreenAllChip'>
{t('rosterScreen.filters.all')}
</Chip>
{isSalariedOrTeamLead && (
- <Chip id={FilterValue.absent} testID='availableCount'>
+ <Chip id={FilterValue.absent} testID='rosterScreenAvailableChip'>
{counts.absent ? counts.absent + ' ' : ''}
{t('rosterScreen.filters.absent')}
</Chip>
)}
{isSalariedOrTeamLead && (
- <Chip id={FilterValue.tardy} testID='rosterScreenTardy'>
+ <Chip id={FilterValue.tardy} testID='rosterScreenTardyChip'>
{counts.tardy ? counts.tardy + ' ' : ''}
{t('rosterScreen.filters.tardy')}
</Chip>
)}
- <Chip id={FilterValue.clockedIn} testID='clockedIn'>
+ <Chip id={FilterValue.clockedIn} testID='rosterScreenClockedInChip'>
{counts.clockedIn ? counts.clockedIn + ' ' : ''}
{t('rosterScreen.filters.clockedIn')}
</Chip>
--- src/screens/NewMessageScreen.tsx
@@ -100,7 +100,7 @@ export const NewMessageScreen: FC<NewMessageScreenProps> = () => {
value={search}
style={styles.input}
autoFocus={true}
- testID='newMessageScreen'
+ testID='newMessageScreenTextInput'
/>
</View>
--- src/screens/SearchScreen.tsx
@@ -99,7 +99,9 @@ const SearchHeaderBase = (props: StackHeaderProps) => {
<View style={[styles.header, {paddingTop: top}, options.headerStyle]}>
{navigation.canGoBack() && (
<Animated.View style={[options.headerLeftContainerStyle]}>
- <TouchableOpacity onPress={navigation.goBack} testID='backButton'>
+ <TouchableOpacity
+ onPress={navigation.goBack}
+ testID='searchBackButton'>
<ChevronLeftIcon color='white' size={24} />
</TouchableOpacity>
</Animated.View>
--- src/components/RosterHeader.tsx
@@ -58,7 +58,7 @@ export const RosterHeader = (props: RosterHeaderProps) => {
onPress={viewWeeklySchedule}
disabled={!associateWINs.length}
UNSAFE_style={styles.weeklyScheduleButton}
- testID='viewWeeklySchedule'>
+ testID='viewWeeklyScheduleButton'>
{t('rosterScreen.weeklySchedule')}
</Button>
)}
--- src/containers/RosterFilters.tsx
@@ -179,22 +179,22 @@ export const RosterFilters = (props: {
return (
<View style={styles.container}>
<ChipGroup onPress={onFilterPress}>
- <Chip id={FilterValue.all} testID='rosterScreenAll'>
+ <Chip id={FilterValue.all} testID='rosterScreenAllChip'>
{t('rosterScreen.filters.all')}
</Chip>
{isSalariedOrTeamLead && (
- <Chip id={FilterValue.absent} testID='availableCount'>
+ <Chip id={FilterValue.absent} testID='rosterScreenAvailableChip'>
{counts.absent ? counts.absent + ' ' : ''}
{t('rosterScreen.filters.absent')}
</Chip>
)}
{isSalariedOrTeamLead && (
- <Chip id={FilterValue.tardy} testID='rosterScreenTardy'>
+ <Chip id={FilterValue.tardy} testID='rosterScreenTardyChip'>
{counts.tardy ? counts.tardy + ' ' : ''}
{t('rosterScreen.filters.tardy')}
</Chip>
)}
- <Chip id={FilterValue.clockedIn} testID='clockedIn'>
+ <Chip id={FilterValue.clockedIn} testID='rosterScreenClockedInChip'>
{counts.clockedIn ? counts.clockedIn + ' ' : ''}
{t('rosterScreen.filters.clockedIn')}
</Chip>
--- src/screens/NewMessageScreen.tsx
@@ -100,7 +100,7 @@ export const NewMessageScreen: FC<NewMessageScreenProps> = () => {
value={search}
style={styles.input}
autoFocus={true}
- testID='newMessageScreen'
+ testID='newMessageScreenTextInput'
/>
</View>
--- src/screens/SearchScreen.tsx
@@ -99,7 +99,9 @@ const SearchHeaderBase = (props: StackHeaderProps) => {
<View style={[styles.header, {paddingTop: top}, options.headerStyle]}>
{navigation.canGoBack() && (
<Animated.View style={[options.headerLeftContainerStyle]}>
- <TouchableOpacity onPress={navigation.goBack} testID='backButton'>
+ <TouchableOpacity
+ onPress={navigation.goBack}
+ testID='searchBackButton'>
<ChevronLeftIcon color='white' size={24} />
</TouchableOpacity>
</Animated.View>
| Updated test IDs as per reviewers comments | Updated test IDs as per reviewers comments
|
c7f27afe942dff961baccf31e92edc619c7f092d | --- package-lock.json
@@ -3601,9 +3601,9 @@
}
},
"@walmart/time-clock-mini-app": {
- "version": "0.4.21",
- "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.21.tgz",
- "integrity": "sha512-nxchtjmd0QDeCp+XE2GP1319/wwi53Cd2NhcCkL9WvDIcmyqkZTUb5dmAaF3yTC0QBew3Ydjz4g/+j04hRXWOg==",
+ "version": "0.4.23",
+ "resolved": "https://npme.walmart.com/@walmart/time-clock-mini-app/-/time-clock-mini-app-0.4.23.tgz",
+ "integrity": "sha512-zgNoI93X7Tz4Ct6bCIdTyIVRFKvZKiQBBDXlKk7VJqLkhrSZAxGuAHfull0/kiqxPcApZy0migtdXsLEJJ1Gmg==",
"requires": {
"@react-native-community/datetimepicker": "3.0.9",
"@react-native-picker/picker": "^1.16.1",
@@ -13187,9 +13187,9 @@
"integrity": "sha512-PKaL0MFy+VjTT4wcx/v90BlvlRXgdWGUU8Sz/760A2Esj175A8w/vFQCtZhUer5FVxmpYVKk7nHzoewii4ygRw=="
},
"react-query": {
- "version": "3.29.1",
- "resolved": "https://npme.walmart.com/react-query/-/react-query-3.29.1.tgz",
- "integrity": "sha512-EKhI4YokmB1Ccnv1vu8w5L9VpKUnznzLLpaMgaJx1xEnBvGTdUrpNFFxuGiDuiQOg3hi6TvSHVTfo/Nws3kTpg==",
+ "version": "3.34.7",
+ "resolved": "https://npme.walmart.com/react-query/-/react-query-3.34.7.tgz",
+ "integrity": "sha512-Q8+H2DgpoZdGUpwW2Z9WAbSrIE+yOdZiCUokHjlniOOmlcsfqNLgvHF5i7rtuCmlw3hv5OAhtpS7e97/DvgpWw==",
"requires": {
"@babel/runtime": "^7.5.5",
"broadcast-channel": "^3.4.1",
--- package.json
@@ -97,7 +97,7 @@
"@walmart/schedule-mini-app": "0.4.4",
"@walmart/settings-mini-app": "1.3.8",
"@walmart/shelfavailability-mini-app": "0.3.99",
- "@walmart/time-clock-mini-app": "0.4.21",
+ "@walmart/time-clock-mini-app": "0.4.23",
"@walmart/ui-components": "1.1.62",
"@walmart/welcomeme-mini-app": "0.30.4",
"@walmart/wfm-ui": "^0.1.50",
| Updated Time-Clock-Mini-App version | Updated Time-Clock-Mini-App version
|
ee4ced4e482de8a21dc9c3766538a203dde988c8 | --- ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision
Binary files a/ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision and b/ios/BuildSupport/MeAtWMBeta_InHouse_Provision.mobileprovision differ
| update provision profile | update provision profile
|
b2a944fce15942de27f2099a6f9254ef84f7a676 | --- src/navigation/AssociateHallwayNav/SideMenuContent.tsx
@@ -101,7 +101,7 @@ export const SideMenuContent: React.FC<DrawerContentComponentProps> = (
setImmediate(() =>
// Look to rename mapping for new route name, if none found, use route name
- navigation.navigate(SCREEN_RENAME_MAP[route] || route, {...params}),
+ navigation.navigate(SCREEN_RENAME_MAP[route] || route, {(...params || {})}),
);
};
| Update src/navigation/AssociateHallwayNav/SideMenuContent.tsx | Update src/navigation/AssociateHallwayNav/SideMenuContent.tsx
Co-authored-by: Dylan Lane - rlane1 <Russell.Lane@walmart.com> |
866841045b78a5cc0a9ab9367030824f7bf6a37b | --- app.config.US.ts
@@ -97,6 +97,7 @@ const CONFIG: ExpoConfig = {
},
entitlements: {
'com.apple.security.application-groups': AppVariant.select({
+ // Should match infoPlist.GroupIdentifier for prod & default
prod: ['group.com.walmart.sumo.appstore'],
default: ['group.com.walmart'],
}),
@@ -116,6 +117,7 @@ const CONFIG: ExpoConfig = {
infoPlist: {
FirebaseAutomaticScreenReportingEnabled: false,
GroupIdentifier: AppVariant.select({
+ // Should match entitlements.[com.apple.security.application-groups] for prod & default
prod: 'group.com.walmart.sumo.appstore',
default: 'group.com.walmart',
}),
| docs(appconfig): add comment as a part of review meeting | docs(appconfig): add comment as a part of review meeting |
ab13c891b6688b8b620ba34dfe27006a91ae5296 | --- app.config.US.ts
@@ -229,7 +229,7 @@ const CONFIG: ExpoConfig = {
},
],
"./plugins/withAbiFilters",
- // "./plugins/withActiveArchFix",
+ "./plugins/withActiveArchFix",
"./plugins/withAppAuth",
"./plugins/withBoringSSLFix",
"./plugins/withBuildSupport",
@@ -256,11 +256,6 @@ const CONFIG: ExpoConfig = {
"./plugins/withReactNativePermissions",
["Camera", "LocationWhenInUse", "Notifications"],
],
- // ["./plugins/withProductFlavors", ["dev", "teflon", "beta", "prod"]],
- // [
- // "./plugins/withReactNativeArchitectures",
- // ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"],
- // ],
"./plugins/withRealm",
"./plugins/withSsmpAndroidSigning",
"./plugins/withSsmpPlatformApplication",
| fix: enabling active architecture fix plugin | fix: enabling active architecture fix plugin
|
ac6a431469f373e1d84f197e2d91afa5f382afb6 | --- package.json
@@ -143,7 +143,7 @@
"react-native-snap-carousel": "^3.9.1",
"react-native-sound-player": "0.10.9",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "^1.2.3",
+ "react-native-ssmp-sso-allspark": "1.2.3",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
"react-native-table-component": "^1.2.1",
| Correcting version | Correcting version
|
7b10c8745b06574a6e64de99e6b2f94f3a0fe488 | --- ios/Podfile
@@ -28,3 +28,10 @@ target 'AllSpark' do
# flipper_post_install(installer)
# end
end
+
+#This will suppress the double quotes header error for cocoapods version less than 1.10.0.. This can be removed once we upgrade cocoapods
+post_install do |installer|
+ installer.pods_project.build_configurations.each do |config|
+ config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = "NO"
+ end
+end
| Fix/ios build (#109) | Fix/ios build (#109)
* updated podfile.lock
* updated Podfile to suppress double quote error |
ccb3c2f649f35bfc27fb909aab43f30b3acdf532 | --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/HomeStackNavTest.tsx.snap
@@ -39,23 +39,6 @@ exports[`HomeStackNav matches snapshot 1`] = `
}
}
/>
- <Screen
- component={
- Object {
- "AttendanceModalScreen": "AttendanceModalScreen",
- "NewTorScreen": "NewTorScreen",
- "TorInboxScreen": "TorInboxScreen",
- "TorReviewScreen": "TorReviewScreen",
- "TorSubmissionScreen": "TorSubmissionScreen",
- }
- }
- name="Attendance"
- options={
- Object {
- "headerShown": false,
- }
- }
- />
<Screen
component="CelebrationListScreen"
name="AnniversaryListScreen"
@@ -195,23 +178,6 @@ exports[`HomeStackNav matches snapshot when user is not present 1`] = `
}
}
/>
- <Screen
- component={
- Object {
- "AttendanceModalScreen": "AttendanceModalScreen",
- "NewTorScreen": "NewTorScreen",
- "TorInboxScreen": "TorInboxScreen",
- "TorReviewScreen": "TorReviewScreen",
- "TorSubmissionScreen": "TorSubmissionScreen",
- }
- }
- name="Attendance"
- options={
- Object {
- "headerShown": false,
- }
- }
- />
<Screen
component="CelebrationListScreen"
name="AnniversaryListScreen"
--- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/MyTeamStackNavTest.tsx.snap
@@ -21,23 +21,6 @@ exports[`MyTeamStackNav matches snapshot - attendanceminiapp false 1`] = `
}
}
/>
- <Screen
- component={
- Object {
- "AttendanceModalScreen": "AttendanceModalScreen",
- "NewTorScreen": "NewTorScreen",
- "TorInboxScreen": "TorInboxScreen",
- "TorReviewScreen": "TorReviewScreen",
- "TorSubmissionScreen": "TorSubmissionScreen",
- }
- }
- name="Attendance"
- options={
- Object {
- "headerShown": false,
- }
- }
- />
<Screen
name="PttSearchScreen"
/>
@@ -78,23 +61,6 @@ exports[`MyTeamStackNav matches snapshot 1`] = `
}
}
/>
- <Screen
- component={
- Object {
- "AttendanceModalScreen": "AttendanceModalScreen",
- "NewTorScreen": "NewTorScreen",
- "TorInboxScreen": "TorInboxScreen",
- "TorReviewScreen": "TorReviewScreen",
- "TorSubmissionScreen": "TorSubmissionScreen",
- }
- }
- name="Attendance"
- options={
- Object {
- "headerShown": false,
- }
- }
- />
<Screen
name="PttSearchScreen"
/>
| Update snapshots | Update snapshots
|
ace6ca1e078a5631451e4445a3428ba0efbae15c | --- __tests__/hooks/teams.test.ts
@@ -253,7 +253,7 @@ describe('hooks/teams', () => {
}));
renderHook(() => useGetTeamById('team1'));
expect(useGetTeamByIdQuery).toHaveBeenCalled();
- expect(logger.error).toHaveBeenCalledWith('useGetTeamByIdQuery error',
+ expect(logger.error).toHaveBeenCalledWith('useGetTeamByIdQuery error',
expect.objectContaining({
message: expect.stringContaining('failed'),
})
--- src/screens/MyWalmartV2/Hoc/AssociateRosterDetailHoc.tsx
@@ -1,31 +1,31 @@
-import React, { useMemo, useEffect, useCallback, useState } from 'react';
-import { View } from 'react-native';
-import { useNavigation, useRoute, RouteProp } from '@react-navigation/native';
-import { useSelector } from 'react-redux';
+import React, {useMemo, useEffect, useCallback, useState} from 'react';
+import {View} from 'react-native';
+import {useNavigation, useRoute, RouteProp} from '@react-navigation/native';
+import {useSelector} from 'react-redux';
-import { useUserCanSeeHub } from '@walmart/allspark-foundation-hub';
+import {useUserCanSeeHub} from '@walmart/allspark-foundation-hub';
import {
translationClient,
rosterTelemetry,
TOTAL_STORE_TEAM_ID_LEGACY,
logger,
} from '../../../common';
-import { UserSelectors } from '@walmart/allspark-foundation/User';
-import { WorkSelectors } from '@walmart/allspark-foundation/Work';
-import { SiteSelectors } from '@walmart/allspark-foundation/Site';
-import { AssociateRosterDetailScreen } from '../AssociateRosterDetailScreen/AssociateRosterDetailScreen';
-import { useTotalSiteRoster } from '../../../hooks/totalSiteRoster';
-import { useTotalSiteDCRoster } from '../../../hooks/useTotalSiteDCRoster';
-import { useTeamBasedRoster } from '../../../hooks/useTeamBasedRoster';
-import { useTeamBasedDCRoster } from '../../../hooks/useTeamBasedDCRoster';
-import { ChipProps } from '@walmart/gtp-shared-components-3/dist';
-import { RosterDetailConfig } from '../AssociateRosterDetailScreen/types';
-import type { FilterValue } from '../../../components/MyWalmartv2/Common/RosterFilterChips/RosterFilterChips';
-import { TOTAL_SITE_TEAM_ID } from '@walmart/my-walmart-hub';
-import { handleViewAssociateSchedule } from '../../../utils/rosterDetail';
-import { goToWeeklySchedule } from '../../../navigation/utils';
-import { associateIsScheduled } from '../../../utils/user';
-import { useUserIsInRoster, useIsImpersonatedOnDev } from '../../../hooks/user';
+import {UserSelectors} from '@walmart/allspark-foundation/User';
+import {WorkSelectors} from '@walmart/allspark-foundation/Work';
+import {SiteSelectors} from '@walmart/allspark-foundation/Site';
+import {AssociateRosterDetailScreen} from '../AssociateRosterDetailScreen/AssociateRosterDetailScreen';
+import {useTotalSiteRoster} from '../../../hooks/totalSiteRoster';
+import {useTotalSiteDCRoster} from '../../../hooks/useTotalSiteDCRoster';
+import {useTeamBasedRoster} from '../../../hooks/useTeamBasedRoster';
+import {useTeamBasedDCRoster} from '../../../hooks/useTeamBasedDCRoster';
+import {ChipProps} from '@walmart/gtp-shared-components-3/dist';
+import {RosterDetailConfig} from '../AssociateRosterDetailScreen/types';
+import type {FilterValue} from '../../../components/MyWalmartv2/Common/RosterFilterChips/RosterFilterChips';
+import {TOTAL_SITE_TEAM_ID} from '@walmart/my-walmart-hub';
+import {handleViewAssociateSchedule} from '../../../utils/rosterDetail';
+import {goToWeeklySchedule} from '../../../navigation/utils';
+import {associateIsScheduled} from '../../../utils/user';
+import {useUserIsInRoster, useIsImpersonatedOnDev} from '../../../hooks/user';
import {
useRbacConfigWithJobCode,
useSalariedOrTeamLeadOrHomeOffice,
| feat(ui): update failing lints | feat(ui): update failing lints
|
a37412899255dd80c27bc4da200ef4a3a613f727 | --- package-lock.json
@@ -5420,9 +5420,9 @@
}
},
"@walmart/price-changes-mini-app": {
- "version": "1.4.11",
- "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.4.11.tgz",
- "integrity": "sha512-uCC2Hk4fRcAC49c4uuIpLpD3geWjG7uAQByH8ygekhQKPrijc5/F1/z+Tkt3zFQ88BlsE+ihQ6z3AWFzAyuNGw=="
+ "version": "1.5.3",
+ "resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.5.3.tgz",
+ "integrity": "sha512-+qRUaM9tMKyqvLtXFm59meijj2mxG3+/6Ql39p6zkecyDi83ke+hu4qqFb59sZXHd/Y9S5gF0O/lotNn74uglQ=="
},
"@walmart/profile-feature-app": {
"version": "0.0.50",
--- package.json
@@ -102,7 +102,7 @@
"@walmart/mod-flex-mini-app": "1.1.5",
"@walmart/moment-walmart": "1.0.4",
"@walmart/payrollsolution_miniapp": "0.126.61",
- "@walmart/price-changes-mini-app": "1.4.11",
+ "@walmart/price-changes-mini-app": "1.5.3",
"@walmart/profile-feature-app": "0.0.50",
"@walmart/push-to-talk-mini-app": "1.8.9",
"@walmart/react-native-encrypted-storage": "1.1.3",
| Bump Price changes to 1.5.3 | Bump Price changes to 1.5.3
|
a4e2e7418641bf383193ca683bb018a03be70b54 | --- package-lock.json
@@ -46,7 +46,7 @@
"@walmart/counts-component-miniapp": "0.1.4",
"@walmart/emergency-mini-app": "1.24.1",
"@walmart/exception-mini-app": "1.2.30",
- "@walmart/facilities-management-miniapp": "0.6.28",
+ "@walmart/facilities-management-miniapp": "0.6.30",
"@walmart/feedback-all-spark-miniapp": "0.9.32",
"@walmart/financial-wellbeing-feature-app": "1.6.3",
"@walmart/functional-components": "~4.0.3",
@@ -5096,9 +5096,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.6.28",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.28.tgz",
- "integrity": "sha512-B+aYG08SbGAwWolIjie32hPmhjcYtrWEgUJNdFctg7gXy1BIasOYng8AMC5n0H5NPoghQkP7sYfZbhOprhNNEA==",
+ "version": "0.6.30",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.30.tgz",
+ "integrity": "sha512-b1EhbGSqRzP/RHE/IoRpbg8io7CWrPIKrjyiuSjhHJsl2qd54wlGcm+zoK/19ohGSjPCnXTKjfbc5qI0MZZk6A==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -25242,9 +25242,9 @@
"version": "1.2.30"
},
"@walmart/facilities-management-miniapp": {
- "version": "0.6.28",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.28.tgz",
- "integrity": "sha512-B+aYG08SbGAwWolIjie32hPmhjcYtrWEgUJNdFctg7gXy1BIasOYng8AMC5n0H5NPoghQkP7sYfZbhOprhNNEA=="
+ "version": "0.6.30",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.30.tgz",
+ "integrity": "sha512-b1EhbGSqRzP/RHE/IoRpbg8io7CWrPIKrjyiuSjhHJsl2qd54wlGcm+zoK/19ohGSjPCnXTKjfbc5qI0MZZk6A=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.32",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/counts-component-miniapp": "0.1.4",
"@walmart/emergency-mini-app": "1.24.1",
"@walmart/exception-mini-app": "1.2.30",
- "@walmart/facilities-management-miniapp": "0.6.28",
+ "@walmart/facilities-management-miniapp": "0.6.30",
"@walmart/feedback-all-spark-miniapp": "0.9.32",
"@walmart/financial-wellbeing-feature-app": "1.6.3",
"@walmart/functional-components": "~4.0.3",
| FixIT: Drop 11 changes with version 0.6.30 | FixIT: Drop 11 changes with version 0.6.30
|
282b74cd231a9bda7b46794b5cff5555516c46ef | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.17-alpha-6",
+ "version": "1.0.17-alpha-7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/roster-mini-app",
- "version": "1.0.17-alpha-6",
+ "version": "1.0.17-alpha-7",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -67,7 +67,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16-alpha-7",
+ "@walmart/wmconnect-mini-app": "1.0.16-alpha-8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11836,9 +11836,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.16-alpha-7",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-7.tgz",
- "integrity": "sha512-+3Kjc6mvzbpxdWAT732DF/u2IvgWagV15oL3AjdTTGs7f+FBa/y6xvj/yCExfO3sNdRb2b7wX3AA5pT5BW4bLQ==",
+ "version": "1.0.16-alpha-8",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-8.tgz",
+ "integrity": "sha512-VU/B9nQVSeeqJphA5mdGTZpE1ZsDGV+AlWeotFRLXDZtZ/SUHV+FbDgcsmgHsA+m55BwRVazPjhU8Fp9+/kK8w==",
"dev": true,
"hasInstallScript": true
},
@@ -41047,9 +41047,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.16-alpha-7",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-7.tgz",
- "integrity": "sha512-+3Kjc6mvzbpxdWAT732DF/u2IvgWagV15oL3AjdTTGs7f+FBa/y6xvj/yCExfO3sNdRb2b7wX3AA5pT5BW4bLQ==",
+ "version": "1.0.16-alpha-8",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-8.tgz",
+ "integrity": "sha512-VU/B9nQVSeeqJphA5mdGTZpE1ZsDGV+AlWeotFRLXDZtZ/SUHV+FbDgcsmgHsA+m55BwRVazPjhU8Fp9+/kK8w==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "1.0.17-alpha-6",
+ "version": "1.0.17-alpha-7",
"private": false,
"main": "dist/index.js",
"files": [
@@ -90,7 +90,7 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16-alpha-7",
+ "@walmart/wmconnect-mini-app": "1.0.16-alpha-8",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
| Update version | Update version
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.