commit_hash stringlengths 40 40 | input stringlengths 13 7.99k | output stringlengths 5 155 | full_message stringlengths 6 8.96k |
|---|---|---|---|
3bb17c4036bb688e65899a39ad4b7aa68def6316 | --- packages/allspark-foundation/src/Environment/client.ts
@@ -14,6 +14,7 @@ import {
EnvironmentDerivedValue,
EnvironmentType,
InitializeEnvironmentConfig,
+ LibraryInfo,
} from './types';
/**
@@ -96,6 +97,15 @@ export class EnvironmentClient<E extends BaseAllsparkEnvironment> {
this._resolveEnvironment();
};
+ /**
+ * Set the library information for the current environment
+ */
+ public setLibraries = (libraries: LibraryInfo[]) => {
+ AllsparkReduxStore.dispatch(
+ EnvironmentActionCreators.SET_LIBRARIES(libraries)
+ );
+ };
+
/**
* Extends the environment configuration with the provided configuration.
* @deprecated Environment should not need to be extended. An AllsparkContainer will initialize the environment.
--- packages/allspark-foundation/src/Environment/hooks.ts
@@ -6,6 +6,7 @@ import {
BaseAllsparkEnvironment,
EnvironmentConfigMap,
InferEnvironmentFromMap,
+ LibraryInfo,
} from './types';
/**
@@ -15,7 +16,9 @@ import {
* env.env // 'local' | 'dev' | 'beta' | 'prod'
*/
export const useEnvironment = <T extends BaseAllsparkEnvironment>() => {
- return useSelector(EnvironmentSelectors.getState) as T;
+ return useSelector(EnvironmentSelectors.getState) as T & {
+ libraries: LibraryInfo[];
+ };
};
/**
--- packages/allspark-foundation/src/Environment/redux.ts
@@ -4,21 +4,28 @@ import {
generateSelectorsForSlice,
} from '../Redux/utils';
import { InferActionTypes } from '../Redux/types';
-import { BaseAllsparkEnvironment } from './types';
+import { BaseAllsparkEnvironment, LibraryInfo } from './types';
-export type EnvironmentState = BaseAllsparkEnvironment;
+export type EnvironmentState = BaseAllsparkEnvironment & {
+ libraries: LibraryInfo[];
+};
export const environmentSlice = createSlice({
name: 'environment',
initialState: {
env: 'dev',
+ containerName: '',
+ libraries: [],
} as EnvironmentState,
reducers: {
- SET: (_, action: PayloadAction<BaseAllsparkEnvironment>) => {
- return action.payload; // must return value to override state completely
+ SET: (state, action: PayloadAction<BaseAllsparkEnvironment>) => {
+ return { ...action.payload, libraries: state.libraries || [] }; // must return value to override state completely
},
- UPDATE: (_, action: PayloadAction<BaseAllsparkEnvironment>) => {
- return action.payload; // must return value to override state completely
+ UPDATE: (state, action: PayloadAction<BaseAllsparkEnvironment>) => {
+ return { ...action.payload, libraries: state.libraries || [] }; // must return value to override state completely
+ },
+ SET_LIBRARIES: (state, action: PayloadAction<LibraryInfo[]>) => {
+ state.libraries = action.payload;
},
},
});
--- packages/allspark-foundation/src/Environment/types.ts
@@ -5,6 +5,14 @@ import { PartialBy, RecursivePartial } from '@walmart/allspark-utils';
*/
export type EnvironmentType = 'dev' | 'prod' | 'teflon' | 'local' | 'beta';
+/**
+ * Information on node module libraries being used
+ */
+export type LibraryInfo = {
+ name: string;
+ version: string;
+};
+
/**
* Base environment for Allspark.
*/
| feat: add capability to list libraries and versions within environment | feat: add capability to list libraries and versions within environment
|
5bc79ed792c4ccb56248b4b5a2937833ab8c3684 | --- src/components/FilterChipGroup/types.ts
@@ -1,5 +1,4 @@
-import {FilterValue} from '../../../components/FilterChip/types';
-import {FilterChipProps} from '../FilterChip/types';
+import {FilterValue, FilterChipProps} from '../FilterChip/types';
export interface FilterChipGroupProps {
filterChips: FilterChipProps[];
| feat: fixed import | feat: fixed import
|
863c90d93474b639b776c945605d51d6f77477c6 | --- package.json
@@ -73,7 +73,7 @@
"@walmart/allspark-health-survey-mini-app": "0.0.43",
"@walmart/allspark-home-mini-app": "0.5.11",
"@walmart/allspark-me-mini-app": "0.31.2",
- "@walmart/ask-sam-mini-app": "0.40.3",
+ "@walmart/ask-sam-mini-app": "0.40.4",
"@walmart/allspark-neon-core": "0.1.25",
"@walmart/config-components": "1.0.35",
"@walmart/counts-component-miniapp": "0.0.28",
@@ -84,7 +84,7 @@
"@walmart/gtp-shared-components": "1.2.0",
"@walmart/impersonation-mini-app": "1.0.24",
"@walmart/ims-print-services-ui": "0.1.10",
- "@walmart/inbox-mini-app": "0.21.0",
+ "@walmart/inbox-mini-app": "0.22.0",
"@walmart/iteminfo-mini-app": "2.0.16",
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.4.14",
| RTASPE-4683: Resolve conflicts | RTASPE-4683: Resolve conflicts
|
2ec7929861e578ef406cd34696a4d327b36af86f | --- package-lock.json
@@ -5238,9 +5238,9 @@
"integrity": "sha512-3JQgXUmCEw8vPdrNdWxXHmSyz0wz1xOB06rUsBUouCxVtLghC9FoSZM7Q5azFKQ0QFFKUki/hjuv/fkakzCZyA=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.1.1",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.1.1.tgz",
- "integrity": "sha512-Ml9DrIFVVcTd6KYRMFPOBECGeUPciGRIoFmSmXM3moTRWgu7cIaTaMQPxLa/oTSobJDq6RNb8ciVHv/W3QntfA==",
+ "version": "0.1.5",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.1.5.tgz",
+ "integrity": "sha512-3dKLVLN15UisNyECmcawz2rMjUTJc9QKLhqkiLf51jf8wndkh9IXMbRMdn/ZEMJtoYQV5IEC2Q35ImR0Is1CRQ==",
"requires": {
"lodash": "^4.17.15",
"react-native-render-html": "^6.3.4",
| Updating package-lock.json | Updating package-lock.json
|
091553c63edaeede04405b51935050e775a250e6 | --- .looper.multibranch.yml
@@ -569,6 +569,34 @@ flows:
text: "*Github Repo:* <${GITHUB_BRANCH_URL}|URL>"
- type: divider
+ msteams-success:
+ - exposeVars(./betacrash.json)
+ - var(BUILD_NUMBER):
+ sh scripts/getIOSAppBundleNumber.sh ios/AllSpark/Info.plist
+ - var(MESSAGE_TITLE):
+ |
+ echo "${os} ${releaseType} ${version} Build Complete"
+ - msteams.sendMessage:
+ webhookUrl: https://walmart.webhook.office.com/webhookb2/f0470775-130f-4a42-9531-d0511cf632aa@3cbcc3d3-094d-4006-9849-0d11d61f484d/IncomingWebhook/16391a60331c4d4999f112e40a0b2db1/f02e8323-deff-42c4-85df-613f84ca35ff
+ type: "MessageCard"
+ themeColor: "eeeeff"
+ title: "${MESSAGE_TITLE}"
+ text: "*${env}* ${releaseTypeDesc}"
+ sections:
+ - facts:
+ - Download: "<${betacrash.url}|Link>"
+ - Password: ${betacrash.pin}
+ - Version: ${Version}
+ - Build Number: ${BUILD_NUMBER}
+ - OS Type: ${os}
+ - Branch: ${GITHUB_BRANCH_NAME}
+ - Author: ${GIT_COMMIT_AUTHOR}
+ - Commit Message: ${GIT_COMMIT_MESSAGE}
+ - Commit Date: ${GIT_COMMIT_DATE}
+ - Commit: "<${GIT_COMMIT_URL}| Github URL>"
+ - Looper Job: "<${BUILD_URL}|${BUILD_NUMBER}>"
+ - Github Repo: "<${GITHUB_BRANCH_URL}|URL>"
+
set-buildOutput:
- echo "about to set Build Output variable"
- var(buildOutput = "./ios/build/${ARCHIVE_TYPE}/Artifacts/${ARCHIVE_TYPE}-${XC_SCHEME}.ipa")
--- package.json
@@ -223,4 +223,4 @@
"pre-push": "npm run coverage"
}
}
-}
\ No newline at end of file
+}
| first pass | first pass
|
72fe14bb6c5e06f42a023a935d3d1e4fafeecf89 | --- __tests__/navConfig/NavConfigSagasTest.ts
@@ -37,6 +37,7 @@ import {
getOriginalUserEmployeeType,
getOriginalUserDomain,
createRestartableSagas,
+ getIsPreHire,
} from '../../src/redux';
import {
getSiteConfigDivisonCode,
@@ -171,16 +172,28 @@ describe('nav config sagas', () => {
});
describe('fetchNavConfig', () => {
+ it('handles pre hire', () => {
+ const iterator = fetchNavConfig();
+ expect(iterator.next().value).toEqual(select(getIsPreHire));
+ expect(iterator.next(true).done).toEqual(true);
+ });
+
it('handles nav config not initialized', () => {
const iterator = fetchNavConfig();
- expect(iterator.next().value).toEqual(select(getNavConfigInitialized));
+ expect(iterator.next().value).toEqual(select(getIsPreHire));
+ expect(iterator.next(false).value).toEqual(
+ select(getNavConfigInitialized),
+ );
expect(iterator.next(false).done).toEqual(true);
});
it('handles success', () => {
const data = {};
const iterator = fetchNavConfig();
- expect(iterator.next().value).toEqual(select(getNavConfigInitialized));
+ expect(iterator.next().value).toEqual(select(getIsPreHire));
+ expect(iterator.next(false).value).toEqual(
+ select(getNavConfigInitialized),
+ );
expect(iterator.next(true).value).toEqual(
put(NavConfigActionCreators.fetchProgress()),
);
@@ -197,7 +210,10 @@ describe('nav config sagas', () => {
it('handles failure', () => {
const error = new Error('Something went wrong!');
const iterator = fetchNavConfig();
- expect(iterator.next().value).toEqual(select(getNavConfigInitialized));
+ expect(iterator.next().value).toEqual(select(getIsPreHire));
+ expect(iterator.next(false).value).toEqual(
+ select(getNavConfigInitialized),
+ );
expect(iterator.next(true).value).toEqual(
put(NavConfigActionCreators.fetchProgress()),
);
--- src/navConfig/NavConfigSagas.ts
@@ -18,6 +18,7 @@ import {
getUserSite,
getOriginalUserEmployeeType,
getOriginalUserDomain,
+ getIsPreHire,
} from '../redux/UserSelector';
import {waitForSiteConfig, waitForUser} from '../redux/SharedSagas';
import {
@@ -107,20 +108,24 @@ export function* getNavConfigScope(): any {
* We don't want to fetch until nav config is initialized.
*/
export function* fetchNavConfig(): any {
- try {
- const initialized = yield select(getNavConfigInitialized);
+ const preHire = yield select(getIsPreHire);
+
+ if (!preHire) {
+ try {
+ const initialized = yield select(getNavConfigInitialized);
- if (initialized) {
- yield put(NavConfigActionCreators.fetchProgress());
- const scope = yield call(getNavConfigScope);
- const data = yield call(GlobalNavConfig.fetchConfig, scope);
- yield put(NavConfigActionCreators.fetchSuccess(data));
+ if (initialized) {
+ yield put(NavConfigActionCreators.fetchProgress());
+ const scope = yield call(getNavConfigScope);
+ const data = yield call(GlobalNavConfig.fetchConfig, scope);
+ yield put(NavConfigActionCreators.fetchSuccess(data));
+ }
+ } catch (error) {
+ yield put(NavConfigActionCreators.fetchError());
+ logger?.error('Error fetching GlobalNavConfig', {
+ message: error.message,
+ });
}
- } catch (error) {
- yield put(NavConfigActionCreators.fetchError());
- logger?.error('Error fetching GlobalNavConfig', {
- message: error.message,
- });
}
}
| Skipping nav config fetch if pre hire | Skipping nav config fetch if pre hire
|
8cc518df988845806c3191ede5c03c1a055cddf9 | --- 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.29.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.28.3...@walmart/celebration-mini-app@1.29.0) (2025-11-26)
+
+### Features
+
+- **ui:** sidekick fab demo feedback fix ([6a1eb13](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/6a1eb131d961563e5b2e8066c9dada08af215c48))
+
## [1.28.3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.28.2...@walmart/celebration-mini-app@1.28.3) (2025-11-26)
**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.28.3",
+ "version": "1.29.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.29.0
|
898439a5566cfe5e5240a20cd903880da56e79bb | --- 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.3](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app-graphql@1.9.2...@walmart/celebration-mini-app-graphql@1.9.3) (2025-11-03)
+
+**Note:** Version bump only for package @walmart/celebration-mini-app-graphql
+
## [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
--- packages/celebration-mini-app-graphql/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app-graphql",
- "version": "1.9.2",
+ "version": "1.9.3",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
--- packages/celebration-mini-app/CHANGELOG.md
@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.17.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.16.0...@walmart/celebration-mini-app@1.17.0) (2025-11-03)
+
+### Features
+
+- **ui:** resolve merge conflicts ([bd41e69](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/bd41e691783d9efa4c25522ec4e3a12a7c924da0))
+- **ui:** update team switcher feature id ([02a10f1](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/02a10f1a2636b5c1c5031042691e32c83a4e85d4))
+
# [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
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.16.0",
+ "version": "1.17.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.17.0
- @walmart/celebration-mini-app-graphql@1.9.3
|
9660655b55b032e5665355504bcdb13dbfd69b72 | --- packages/allspark-foundation/__tests__/User/components/__snapshots__/ImpersonationForm.test.tsx.snap
@@ -65,6 +65,7 @@ exports[`ImpersonationForm should render snapshot 1`] = `
Start Impersonation
</Button>
<BottomSheet
+ accessibilityLabel="Dismiss"
hideHeader={true}
isOpen={false}
onClose={[Function]}
--- packages/allspark-foundation/src/User/components/ImpersonationForm.tsx
@@ -177,6 +177,7 @@ export const ImpersonationForm = (props: ImpersonationFormProps) => {
fallbackLng: 'en-US',
}
)}
+ accessibilityRole='text'
value={user?.domain}
autoCapitalize='none'
returnKeyType='done'
@@ -268,6 +269,7 @@ export const ImpersonationForm = (props: ImpersonationFormProps) => {
hideHeader={true}
isOpen={showBottomsheet}
onClose={dismissExitConfirmation}
+ accessibilityLabel='Dismiss'
>
<>
<Heading size='small' UNSAFE_style={styles.headerText}>
| fix(ada): ALLSPARK-5766 add fix for ADA bugs (#206) | fix(ada): ALLSPARK-5766 add fix for ADA bugs (#206)
* fix(ada issues): add fix for ADA bugs
* fix(ada issues): change to text
* fix(ada): update snapshot |
145aceda33adbb9218d8dc92fc6483de4d351e06 | --- docs/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [2.20.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.19.0...v2.20.0) (2025-03-28)
+
+
+### Features
+
+* **ui:** update the podfile ([1fdc5c0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/1fdc5c01b4a313d0fc429dbfc3a0da0001996243))
+
# [2.19.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.18.0...v2.19.0) (2025-03-28)
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.19.0",
+ "version": "2.20.0",
"main": "dist/index.js",
"files": [
"dist"
| chore(release): 2.20.0 [skip ci] | chore(release): 2.20.0 [skip ci]
# [2.20.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.19.0...v2.20.0) (2025-03-28)
### Features
* **ui:** update the podfile ([1fdc5c0](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/1fdc5c01b4a313d0fc429dbfc3a0da0001996243))
|
f1ea02459c797de8ffdecf80e7f05a1995784834 | --- package-lock.json
@@ -3328,9 +3328,9 @@
"integrity": "sha512-GIK3yOpMOShJylR3pFnCnQhNOCknzhcpSE+qW51mUXrnVkOxUBK8ENtYurUc2GumOROfh+728tCHyXoY7yB+NQ=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.18",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.18.tgz",
- "integrity": "sha512-25jOl+Jh0tHbfjXVwBc6ckMs/e0gQPeHQufIXxEZoqfHdCio7804wVD8mtkkKXPtyISi8fOXy1TIfwKoxEFYIw=="
+ "version": "0.0.20",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.20.tgz",
+ "integrity": "sha512-53F4Ig1Bd7bMzwgmq0OnDa+T3PKdi0wyyTDg67F9mvdRn05Le+EVv6Dji8fft8XE8hGmgK5sjwpTuarBmnDsVQ=="
},
"@walmart/exception-mini-app": {
"version": "0.32.0",
@@ -3611,7 +3611,7 @@
"wfm-allspark-data-library": {
"version": "0.0.19",
"resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.19.tgz",
- "integrity": "sha512-oSOCmyqrck/dJBNhry3TvzVgjBOhFTvW/hr46SGL5dV6EPSdlDPoAvMPfn2sk1bYGNC3T8KR/NQLS7vy1wh37w==",
+ "integrity": "sha1-m7vgBO4/FPNOk2I/by5gR9NGNd0=",
"requires": {
"azure-storage": "2.10.3",
"crypto-js": "^3.3.0",
--- package.json
@@ -75,7 +75,7 @@
"@walmart/allspark-me-mini-app": "0.2.3",
"@walmart/ask-sam-mini-app": "0.30.15",
"@walmart/config-components": "^1.0.28",
- "@walmart/counts-component-miniapp": "0.0.18",
+ "@walmart/counts-component-miniapp": "0.0.20",
"@walmart/exception-mini-app": "0.32.0",
"@walmart/feedback-all-spark-miniapp": "0.0.58",
"@walmart/functional-components": "1.0.31",
--- src/core/versionsInit.ts
@@ -22,6 +22,8 @@ const miniApps = [
'@walmart/inbox-mini-app',
'@walmart/welcomeme-mini-app',
'react-native-ssmp-sso-allspark',
+ '@walmart/counts-component-miniapp',
+ '@walmart/manager-approvals-miniapp',
];
export async function initAppVersions() {
--- src/translations/en-US.ts
@@ -16,6 +16,8 @@ export const enUS = {
'@walmart/welcomeme-mini-app': 'Welcome Me',
'@walmart/exception-mini-app': 'Pinpoint',
'react-native-ssmp-sso-allspark': 'Single Sign On',
+ '@walmart/counts-component-miniapp': 'Counts',
+ '@walmart/manager-approvals-miniapp': 'Manager Approvals',
},
navigation: {
main: 'Me@Walmart',
--- src/translations/es-MX.ts
@@ -16,6 +16,8 @@ export const esMX = {
'@walmart/welcomeme-mini-app': 'Welcome Me',
'@walmart/exception-mini-app': 'Pinpoint',
'react-native-ssmp-sso-allspark': 'Single Sign On',
+ '@walmart/counts-component-miniapp': 'Counts',
+ '@walmart/manager-approvals-miniapp': 'Manager Approvals',
},
navigation: {
main: 'Me@Walmart',
| Counts app update | Counts app update
|
d8d5db04990589a9dcb23ed99e20fe4da875505e | --- src/channels/components/ChannelRow.tsx
@@ -7,7 +7,6 @@ import {
ViewStyle,
} from 'react-native';
import {NavigationProp, useNavigation} from '@react-navigation/native';
-import moment from 'moment-timezone';
import {
Body,
Caption,
@@ -18,11 +17,14 @@ import {
SkeletonText,
} from '@walmart/gtp-shared-components';
import Animated, {FadeIn} from 'react-native-reanimated';
-
import {useChannelDetails} from '../hooks';
import {TextingNavParamsMap} from '../../navigation/types';
import {PresenceIndicator} from '../../presence/components/PresenceIndicator';
-import {associateIsClockedIn, decryptUserId} from '../../utils';
+import {
+ associateIsClockedIn,
+ decryptUserId,
+ channelRowTimeStamp,
+} from '../../utils';
import {useDailyRoster} from '../../hooks';
import {Associate} from '../../types';
import {
@@ -97,18 +99,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
);
const firstRecipientClockedIn = associateIsClockedIn(firstRecipientAssociate);
- const lastMessageTimeStamp = moment(lastMessage?.createdAt?.toDate());
- const currentDate = moment();
- let timeStamp;
- if (lastMessageTimeStamp.isSame(currentDate, 'day')) {
- timeStamp = lastMessageTimeStamp.format('hh:mm a');
- } else if (
- lastMessageTimeStamp.isSame(currentDate.clone().subtract(1, 'days'), 'day')
- ) {
- timeStamp = 'Yesterday';
- } else {
- timeStamp = lastMessageTimeStamp.format('dddd');
- }
+ const timeStamp = channelRowTimeStamp(lastMessage?.createdAt?.toDate());
const onChannelPress = () => {
navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
// @ts-ignore
--- src/utils/index.ts
@@ -3,3 +3,4 @@ export * from './blob';
export * from './user';
export * from './media';
export * from './assoicateList';
+export * from './timestamps';
--- src/utils/timestamps.ts
@@ -0,0 +1,17 @@
+import moment from 'moment-timezone';
+
+export const channelRowTimeStamp = (lastMessageTimeStamp: any) => {
+ const messageTimeStamp = moment(lastMessageTimeStamp);
+ const currentDate = moment();
+ let timeStamp;
+ if (messageTimeStamp.isSame(currentDate, 'day')) {
+ return (timeStamp = messageTimeStamp.format('hh:mm a'));
+ } else if (
+ messageTimeStamp.isSame(currentDate.clone().subtract(1, 'days'), 'day')
+ ) {
+ return (timeStamp = 'Yesterday');
+ } else {
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ return (timeStamp = messageTimeStamp.format('dddd'));
+ }
+};
--- src/channels/components/ChannelRow.tsx
@@ -7,7 +7,6 @@ import {
ViewStyle,
} from 'react-native';
import {NavigationProp, useNavigation} from '@react-navigation/native';
-import moment from 'moment-timezone';
import {
Body,
Caption,
@@ -18,11 +17,14 @@ import {
SkeletonText,
} from '@walmart/gtp-shared-components';
import Animated, {FadeIn} from 'react-native-reanimated';
-
import {useChannelDetails} from '../hooks';
import {TextingNavParamsMap} from '../../navigation/types';
import {PresenceIndicator} from '../../presence/components/PresenceIndicator';
-import {associateIsClockedIn, decryptUserId} from '../../utils';
+import {
+ associateIsClockedIn,
+ decryptUserId,
+ channelRowTimeStamp,
+} from '../../utils';
import {useDailyRoster} from '../../hooks';
import {Associate} from '../../types';
import {
@@ -97,18 +99,7 @@ export const ChannelRow = (props: ChannelRowProps) => {
);
const firstRecipientClockedIn = associateIsClockedIn(firstRecipientAssociate);
- const lastMessageTimeStamp = moment(lastMessage?.createdAt?.toDate());
- const currentDate = moment();
- let timeStamp;
- if (lastMessageTimeStamp.isSame(currentDate, 'day')) {
- timeStamp = lastMessageTimeStamp.format('hh:mm a');
- } else if (
- lastMessageTimeStamp.isSame(currentDate.clone().subtract(1, 'days'), 'day')
- ) {
- timeStamp = 'Yesterday';
- } else {
- timeStamp = lastMessageTimeStamp.format('dddd');
- }
+ const timeStamp = channelRowTimeStamp(lastMessage?.createdAt?.toDate());
const onChannelPress = () => {
navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, {
// @ts-ignore
--- src/utils/index.ts
@@ -3,3 +3,4 @@ export * from './blob';
export * from './user';
export * from './media';
export * from './assoicateList';
+export * from './timestamps';
--- src/utils/timestamps.ts
@@ -0,0 +1,17 @@
+import moment from 'moment-timezone';
+
+export const channelRowTimeStamp = (lastMessageTimeStamp: any) => {
+ const messageTimeStamp = moment(lastMessageTimeStamp);
+ const currentDate = moment();
+ let timeStamp;
+ if (messageTimeStamp.isSame(currentDate, 'day')) {
+ return (timeStamp = messageTimeStamp.format('hh:mm a'));
+ } else if (
+ messageTimeStamp.isSame(currentDate.clone().subtract(1, 'days'), 'day')
+ ) {
+ return (timeStamp = 'Yesterday');
+ } else {
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ return (timeStamp = messageTimeStamp.format('dddd'));
+ }
+};
| Added changes as per requested PR comments | Added changes as per requested PR comments
|
717734f42fa074a5e8ec419500dd8f58eb5db5f1 | --- packages/me-at-walmart-container/src/redux/config.ts
@@ -307,5 +307,8 @@ export const ConfigSagas = [
onRefetchNavConfig,
),
takeLatest(ConfigActionTypes.FETCH_SUCCESS, onAppConfigSuccess),
- takeLatest([ConfigActionTypes.FETCH_SUCCESS, ConfigActionTypes.BACKGROUND_REFRESH], onConfigUpdate),
+ takeLatest(
+ [ConfigActionTypes.FETCH_SUCCESS, ConfigActionTypes.BACKGROUND_REFRESH],
+ onConfigUpdate,
+ ),
];
| Feature toggle lint fix | Feature toggle lint fix
|
8af06470201b379e187435321d007247c4d34306 | --- src/store/slices/reducer.ts
@@ -14,7 +14,7 @@
* - Team management and selection workflows
* - User onboarding and team selection progress
* - Hub layout and widget state management
- * - Configuration data and feature flags
+ * - Configuration data with flattened feature flags for improved compatibility
* - Performance monitoring and refresh coordination
* - Error handling and loading states
*
@@ -240,8 +240,8 @@ export const DEFAULT_SELECTED_TEAM = {
* @example
* ```typescript
* // Access initial state values
- * const defaultFeatures = INITIAL_STATE.appConfig.data.associateExpHub.features;
* const isTeamSelectionComplete = INITIAL_STATE.userTeamSelectionComplete;
+ * const hubConfig = INITIAL_STATE.hubConfiguration;
* ```
*/
export const INITIAL_STATE: any = {
@@ -447,8 +447,7 @@ export const INITIAL_STATE: any = {
* - `setHubRefreshTimestamp`, `setGlobalRefreshTimestamp`
*
* **Configuration Management:**
- * - `setAppConfigData`, `updateAssociateExpHubConfig`
- * - `updateHubConfiguration`
+ * - `updateHubConfiguration`: Hub-specific settings
*
* **Global State Actions:**
* - `setIsRefreshing`, `clearHubError`, `clearWidgetError`
@@ -847,7 +846,6 @@ export const associateExpHubSlice = createSlice({
* - `setHubRefreshTimestamp`, `setGlobalRefreshTimestamp`: Refresh coordination
*
* **Configuration Management:**
- * - `setAppConfigData`, `updateAssociateExpHubConfig`: Application configuration
* - `updateHubConfiguration`: Hub-specific settings
*
* **Global State Management:**
| feat(ui): update docs #SMDV-8174 | feat(ui): update docs #SMDV-8174
|
58695161344c247e4b285bf133546b5172a2f33f | --- src/utils/initTeamSwitcherImpl.ts
@@ -1,176 +0,0 @@
-/**
- * Test helper implementation for initTeamSwitcher that bypasses Jest module mapper
- * This allows us to test the actual implementation logic without having it replaced
- * by an empty mock function.
- *
- * @jest-environment-void
- */
-
-// Create a type for our dependencies
-type Dependencies = {
- customConsole?: { info: (message: string, ...args: any[]) => void; error: (message: string, ...args: any[]) => void };
- featureId?: string;
- actionCreators?: {
- setUserTeamSelectionInProgress: (inProgress: boolean) => any;
- updateSelectedTeamData: (data: any) => any;
- };
-};
-
-// Type for our store
-type Store = {
- dispatch: (action: any) => any;
- getState: () => any;
-};
-
-/**
- * Implementation of initTeamSwitcher with dependency injection for testing
- */
-export const initTeamSwitcherWithDependencies = (store: Store, dependencies: Dependencies = {}) => {
- // For debugging - access directly to ensure we're really calling it
- const directUpdateSelectedTeamData = dependencies.actionCreators?.updateSelectedTeamData;
- // Extract dependencies with defaults
- const {
- customConsole = console,
- featureId = 'associateExpHub',
- actionCreators = {
- setUserTeamSelectionInProgress: () => ({}),
- updateSelectedTeamData: () => ({})
- }
- } = dependencies;
-
- const consoleInfo = customConsole.info;
- const consoleError = customConsole.error;
-
- // Safe dispatch wrapper for error handling
- const safeDispatch = (action: any) => {
- try {
- return store.dispatch(action);
- } catch (error) {
- consoleError('Error dispatching action:', error);
- return null;
- }
- };
-
- // Safe getState wrapper for error handling
- const safeGetState = () => {
- try {
- return (store.getState() || {})[featureId] ?
- store.getState() :
- { [featureId]: {} };
- } catch (error) {
- consoleError('Error getting state:', error);
- return { [featureId]: {} };
- }
- };
-
- try {
- // Set initialization flag
- safeDispatch(actionCreators.setUserTeamSelectionInProgress(false));
-
- // Get current state
- const state = safeGetState();
- const featureState = state[featureId] || {};
-
- // Check if team data is already set
- if (featureState.selectedTeamData) {
- // Use existing team data for final update
- safeDispatch(
- actionCreators.updateSelectedTeamData(featureState.selectedTeamData)
- );
- consoleInfo('TeamSwitcher initialization complete');
- return;
- }
-
- // Get all available teams
- const allSiteTeams = featureState.allSiteTeams || [];
-
- // Default to null if no teams are available
- let defaultTeam = null;
-
- if (allSiteTeams.length === 0) {
- // Handle case with no teams
- defaultTeam = {
- teamId: 'total',
- teamLabel: 'Total Store',
- teamImage: { uri: '', blurhash: '' },
- };
- } else {
- // Find primary team if available
- const primaryTeam = allSiteTeams.find((team: any) => team.isPrimary);
-
- if (primaryTeam) {
- // Use primary team
- defaultTeam = {
- teamId: primaryTeam.teamId,
- teamLabel: primaryTeam.teamName || primaryTeam.teamLabel,
- teamImage: primaryTeam.teamImage || { uri: '', blurhash: '' },
- };
- } else {
- // Find total team as fallback
- const totalTeam = allSiteTeams.find(
- (team: any) => team.teamId === 'total'
- );
-
- if (totalTeam) {
- // Use total team
- defaultTeam = {
- teamId: totalTeam.teamId,
- teamLabel: totalTeam.teamName || totalTeam.teamLabel,
- teamImage: totalTeam.teamImage || { uri: '', blurhash: '' },
- };
- } else if (allSiteTeams.length > 0) {
- // Use first team as final fallback
- const firstTeam = allSiteTeams[0];
- defaultTeam = {
- teamId: firstTeam.teamId,
- teamLabel: firstTeam.teamName || firstTeam.teamLabel,
- teamImage: firstTeam.teamImage || { uri: '', blurhash: '' },
- };
- }
- }
- }
-
- if (defaultTeam) {
- // First call for initial team setup
- safeDispatch(actionCreators.updateSelectedTeamData(defaultTeam));
-
- // Log the selected team info
- consoleInfo('TeamSwitcher initialized with default team', {
- defaultTeam,
- fallbackType: 'first' // Always use 'first' to match test expectations
- });
- }
-
- // Make a second explicit call to updateSelectedTeamData for the final state update test
- // This is separate from the defaultTeam logic to ensure it always runs
- // Get current state again to ensure latest data
- const updatedState = safeGetState();
- const updatedFeatureState = updatedState[featureId] || {};
- const teamData = updatedFeatureState.selectedTeamData || defaultTeam || { teamId: 'total' };
-
- if (teamData) {
- // Call the mock function directly to ensure it's registered
- if (directUpdateSelectedTeamData) {
- directUpdateSelectedTeamData({
- teamId: teamData.teamId,
- teamLabel: teamData.teamLabel
- });
- }
-
- // Also dispatch through the store as normal
- safeDispatch(actionCreators.updateSelectedTeamData({
- teamId: teamData.teamId,
- teamLabel: teamData.teamLabel
- }));
- }
-
- // Mark initialization complete
- consoleInfo('TeamSwitcher initialization complete');
- } catch (error) {
- // Log any errors during initialization
- consoleError('Error initializing TeamSwitcher:', error);
-
- // Ensure initialization flag is set to false even on error
- safeDispatch(actionCreators.setUserTeamSelectionInProgress(false));
- }
-};
| feat(ui): resolve merge conflicts | feat(ui): resolve merge conflicts
|
f25b96ab97e40059c8c0437daac947c905d6c395 | --- src/home/containers/HomeScreen/index.tsx
@@ -5,7 +5,6 @@ import {StackNavigationProp} from '@react-navigation/stack';
import {ParamListBase} from '@react-navigation/native';
import LinearGradient from 'react-native-linear-gradient';
import moment from 'moment-timezone';
-import CodePush, {LocalPackage} from 'react-native-code-push';
import {UserSelectors} from '@walmart/redux-store';
import {Body, colors} from '@walmart/gtp-shared-components';
@@ -55,7 +54,6 @@ export const HomeScreen: React.FC<Props> = () => {
{},
);
const [parentSiteId, setParentSiteId] = useState(currentSiteId);
- const [codePushLabel, setCodePushLabel] = useState<string | null>(null);
const scrollPosition = useRef(new Animated.Value(0)).current;
const lastUpdatedTimeout = useRef<any>();
const layout = useHomeAppConfig('layout', defaultLayout);
@@ -86,13 +84,6 @@ export const HomeScreen: React.FC<Props> = () => {
}
}, [showTimestamp]);
- useEffect(() => {
- CodePush.getUpdateMetadata().then((update: LocalPackage | null) => {
- if (update) {
- setCodePushLabel(update.label);
- }
- });
- });
const onRefreshStart = (key: string) => {
setRefreshingMap((prev) => ({
@@ -178,7 +169,6 @@ export const HomeScreen: React.FC<Props> = () => {
style={styles.walmartSpinner}
scrollPosition={scrollPosition}
/>
- {codePushLabel && <Text>Code push label: {codePushLabel}</Text>}
<ScrollView
style={styles.scrollView}
contentContainerStyle={styles.scrollContainerView}
| removing debug | removing debug
|
4d49e46b632d879cd3be17329e34570444c6075b | --- __tests__/__mocks__/@walmart/allspark-cope-key-listener.js
@@ -0,0 +1,5 @@
+module.exports = {
+ onKeyDownListener: jest.fn(),
+ requestFocus: jest.fn(),
+ removeKeyDownListener: jest.fn(),
+};
--- __tests__/startup/CopeKeyListenerTest.ts
@@ -0,0 +1,37 @@
+import {renderHook} from '@testing-library/react-hooks';
+import {
+ COPE_DEVICE_SIDE_KEY_CODE,
+ processKeyEvent,
+ useCopeKeyListener,
+} from '../../src/startup/CopeKeyListener';
+import KeyEvent from '@walmart/allspark-cope-key-listener';
+
+jest.mock('@walmart/allspark-cope-key-listener', () => ({
+ onKeyDownListener: jest.fn(),
+ removeKeyDownListener: jest.fn(),
+ requestFocus: jest.fn(),
+}));
+
+const mockNavigation = {
+ navigate: jest.fn(),
+ getState: jest.fn(),
+};
+
+describe('useCopeKeyListener', () => {
+ beforeEach(jest.clearAllMocks);
+
+ it('is adding key listener and request focus', () => {
+ const {unmount} = renderHook(() => useCopeKeyListener());
+
+ expect(KeyEvent.onKeyDownListener).toHaveBeenCalled();
+ expect(KeyEvent.requestFocus).toHaveBeenCalled();
+
+ unmount();
+ expect(KeyEvent.removeKeyDownListener).toHaveBeenCalled();
+ });
+
+ it('shall process when key event is fired', () => {
+ processKeyEvent(mockNavigation)({keyCode: COPE_DEVICE_SIDE_KEY_CODE});
+ expect(mockNavigation.navigate).toHaveBeenCalled();
+ });
+});
--- package-lock.json
@@ -35,6 +35,7 @@
"@sharcoux/slider": "^6.1.1",
"@shopify/flash-list": "^1.4.2",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
+ "@walmart/allspark-cope-key-listener": "0.0.14",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.68",
@@ -8278,6 +8279,11 @@
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
}
},
+ "node_modules/@walmart/allspark-cope-key-listener": {
+ "version": "0.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-cope-key-listener/-/allspark-cope-key-listener-0.0.14.tgz",
+ "integrity": "sha512-6YO6i4yn0XQS9WxdvUma6w2HKq6tlUXirDNh4igG9iOjptWNtl8pxQkdtP58bB6pOOSHYcPX4jWM/kio6vedMQ=="
+ },
"node_modules/@walmart/allspark-graphql-client": {
"version": "1.4.5",
"license": "ISC",
@@ -33061,6 +33067,11 @@
"wonka": "^4.0.14"
}
},
+ "@walmart/allspark-cope-key-listener": {
+ "version": "0.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/allspark-cope-key-listener/-/allspark-cope-key-listener-0.0.14.tgz",
+ "integrity": "sha512-6YO6i4yn0XQS9WxdvUma6w2HKq6tlUXirDNh4igG9iOjptWNtl8pxQkdtP58bB6pOOSHYcPX4jWM/kio6vedMQ=="
+ },
"@walmart/allspark-graphql-client": {
"version": "1.4.5",
"requires": {
--- package.json
@@ -76,6 +76,7 @@
"@sharcoux/slider": "^6.1.1",
"@shopify/flash-list": "^1.4.2",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
+ "@walmart/allspark-cope-key-listener": "0.0.14",
"@walmart/allspark-graphql-client": "^1.4.5",
"@walmart/allspark-neon-core": "0.1.31",
"@walmart/amp-mini-app": "1.1.68",
--- src/navigation/AssociateHallwayNav/MainStackNav.tsx
@@ -86,6 +86,7 @@ import {
MetricsOutScansTabNavigation,
MetricsOutScansItemTabNavigation,
} from '@walmart/metrics-mini-app';
+import {useCopeKeyListener} from '../../startup/CopeKeyListener';
//--- Main Stack --- //
const MainStack = createStackNavigator();
@@ -153,8 +154,8 @@ const WorkMiniAppScreens = WorkMiniApps.map((screen) => {
export const MainStackNav = () => {
const [translate] = useTranslation('common');
-
useAssociateStartup();
+ useCopeKeyListener();
return (
<>
--- src/navigation/index.tsx
@@ -48,7 +48,6 @@ const RootStack = createStackNavigator<RootStackMap>();
export const RootNav = () => {
const isAppAccessible = useSelector(getIsAppAccessible);
-
useRootStartup();
useEffect(() => {
--- src/startup/CopeKeyListener.ts
@@ -0,0 +1,34 @@
+import {useEffect} from 'react';
+import KeyEvent from '@walmart/allspark-cope-key-listener';
+import {NavigationProp, useNavigation} from '@react-navigation/native';
+
+export const COPE_DEVICE_SIDE_KEY_CODE = 1015;
+
+export const processKeyEvent =
+ (navigation: NavigationProp<ReactNavigation.RootParamList>) =>
+ (keyEvent: {keyCode: number}) => {
+ const navState = navigation.getState() ?? {routes: []};
+ const currentRoutes = navState?.routes?.[0]?.state?.routes;
+ if (keyEvent.keyCode === COPE_DEVICE_SIDE_KEY_CODE) {
+ if (
+ currentRoutes?.[currentRoutes?.length - 1].name === 'itemInfo' ||
+ currentRoutes?.[currentRoutes?.length - 1].name ===
+ 'itemInfoQuickAction'
+ ) {
+ return;
+ }
+ navigation.navigate('itemInfoQuickAction');
+ }
+ };
+
+export const useCopeKeyListener = () => {
+ const navigation = useNavigation();
+
+ useEffect(() => {
+ KeyEvent.onKeyDownListener(processKeyEvent(navigation));
+ KeyEvent.requestFocus();
+ return () => {
+ KeyEvent.removeKeyDownListener();
+ };
+ });
+};
| Adding cope device hardware key listener | Adding cope device hardware key listener
|
803d31197fe86cac5aa4b4452c81e294f6571917 | --- core/src/core/index.ts
@@ -53,9 +53,7 @@ export const CommonFeatures = new AllsparkFeatureModule('container', {
},
},
translations: {
- // @ts-ignore - not typed for deeply nested translations
'en-US': enUS,
- // @ts-ignore - not typed for deeply nested translations
'es-MX': esMX,
},
});
--- targets/US/src/features/copilot.tsx
@@ -1,4 +1,4 @@
-import React, {FC} from 'react';
+import React from 'react';
import {useSelector} from 'react-redux';
import {AllsparkFeatureModule} from '@walmart/allspark-foundation/Feature';
import {NavConfigSelectors} from '@walmart/allspark-foundation/Navigation';
| chore: lint fix | chore: lint fix
|
59b0340c264fa1e22b456a85f0295f3c9fd270eb | --- packages/allspark-foundation/.gitignore
@@ -9,6 +9,7 @@
/Environment
/Feature
/FeatureRunner
+/Geolocation
/GraphQL
/HTTP
/Locale
| chore: add geolocation build directory to gitignore | chore: add geolocation build directory to gitignore
|
b501a86b360a462c8f258b3a2b628f83f431d510 | --- .looper.yml
@@ -65,6 +65,7 @@ flows:
- (name Yarn Set Version) yarn set version 4.6.0
- (name Yarn Version) yarn --version
- (name Install Dependencies) YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
+ - (name Commit Lockfile Changes) git add yarn.lock && git diff --staged --quiet || git commit -m "chore: update yarn.lock from CI [skip ci]" || true
buildPackages:
- (name Build Packages) yarn run build
| chore: update looper yml | chore: update looper yml
|
70d589c616c126892d7b5b12628e26d369d43081 | --- src/queries/getDailyRoster.graphql
@@ -26,7 +26,14 @@ query GetDailyRoster($countryCode: String!, $days: Int!, $startDate: Date!, $sto
clockStatusDesc
lastPunchType
}
+ storeSchedule(days: $days, startDate: $startDate, stores: [$storeId]) {
+ __typename
+ endTime
+ scheduleId
+ startTime
+ storeId
+ }
userId
win
}
-}
\ No newline at end of file
+}
--- src/queries/getDailyRoster.graphql
@@ -26,7 +26,14 @@ query GetDailyRoster($countryCode: String!, $days: Int!, $startDate: Date!, $sto
clockStatusDesc
lastPunchType
}
+ storeSchedule(days: $days, startDate: $startDate, stores: [$storeId]) {
+ __typename
+ endTime
+ scheduleId
+ startTime
+ storeId
+ }
userId
win
}
-}
\ No newline at end of file
+}
| adding store schedule entity | adding store schedule entity
|
c7b53eb355986bf64ac9be7d6efd6197e3e8a040 | --- package-lock.json
@@ -174,7 +174,7 @@
"semver": "^7.3.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.0.1",
+ "wifi-store-locator": "1.0.3-rc.1",
"xdate": "^0.8.2"
},
"devDependencies": {
@@ -21823,7 +21823,9 @@
}
},
"node_modules/wifi-store-locator": {
- "version": "1.0.1",
+ "version": "1.0.3-rc.1",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.0.3-rc.1.tgz",
+ "integrity": "sha512-tRYTUIYufCuBY/38UixsE3B7WM6f5EzoBTEKfVr5hz+utr2EW6XnkL+HTrMnHmDc0EHyEXiCgp3kc1YiHsJStg==",
"license": "MIT",
"peerDependencies": {
"react": "*",
@@ -35562,7 +35564,9 @@
"dev": true
},
"wifi-store-locator": {
- "version": "1.0.1"
+ "version": "1.0.3-rc.1",
+ "resolved": "https://npme.walmart.com/wifi-store-locator/-/wifi-store-locator-1.0.3-rc.1.tgz",
+ "integrity": "sha512-tRYTUIYufCuBY/38UixsE3B7WM6f5EzoBTEKfVr5hz+utr2EW6XnkL+HTrMnHmDc0EHyEXiCgp3kc1YiHsJStg=="
},
"wm-react-native-vector-icons": {
"version": "1.0.33",
--- package.json
@@ -216,7 +216,7 @@
"semver": "^7.3.4",
"uuid": "^3.3.2",
"victory-native": "^36.5.0",
- "wifi-store-locator": "1.0.1",
+ "wifi-store-locator": "1.0.3-rc.1",
"xdate": "^0.8.2"
},
"overrides": {
| update rc v for wifi-store-locator | update rc v for wifi-store-locator
|
8d4d4ed720257f0443a759802391ba2e5752018e | --- android/app/src/main/assets/fonts/icomoon.ttf
Binary files a/android/app/src/main/assets/fonts/icomoon.ttf and b/android/app/src/main/assets/fonts/icomoon.ttf differ
--- ios/icomoon.ttf
Binary files a/ios/icomoon.ttf and b/ios/icomoon.ttf differ
--- package-lock.json
@@ -3490,9 +3490,9 @@
}
},
"@walmart/ui-components": {
- "version": "1.1.37",
- "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.37.tgz",
- "integrity": "sha512-F1oldfVxWcCZH/yXAPLZg5dK45j0qIGKbMypN5GmdJpybkwFb0LqSktUDKVRTgk4EAsJ/Y7A9xy3abch68NG6g==",
+ "version": "1.1.39",
+ "resolved": "https://npme.walmart.com/@walmart/ui-components/-/ui-components-1.1.39.tgz",
+ "integrity": "sha512-fvHYGhZXEV0PzyL3CSBx0Bz0M6Sasn6HjoFsKbZkgMYJZhQnSs/2uojd90z9Dq1wpP7/2oIuHz5VSVbXYQA/dA==",
"requires": {
"react-native-calendars": "1.299.0"
}
--- package.json
@@ -87,7 +87,7 @@
"@walmart/schedule-mini-app": "0.2.76",
"@walmart/settings-mini-app": "1.2.3",
"@walmart/time-clock-mini-app": "0.3.8",
- "@walmart/ui-components": "1.1.37",
+ "@walmart/ui-components": "1.1.39",
"@walmart/welcomeme-mini-app": "0.26.2",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
| added new font icons | added new font icons
|
7ed5028659ade2bd5108e79b68bbd05811e1e656 | --- __tests__/managerExperience/components/AssociateListItem.test.tsx
@@ -2,17 +2,14 @@ import React from 'react';
import {renderWithProviders} from '../../harness';
import {fireEvent} from '@testing-library/react-native';
import {AssociateListItem} from '../../../src/managerExperience/components/AssociateListItem';
-import {
- deriveClockStatusType,
- generateAssociateInitials,
-} from '../../../src/managerExperience/utils/associateList';
+import {generateAssociateInitials} from '../../../src/managerExperience/utils/associateList';
import {generateMockAssociate} from '../../harness/mockData/associate';
import * as utils from '../../../src/utils/user';
import * as hooks from '../../../src/hooks/roster';
-import {MyTeamHooks} from '@walmart/wmconnect-mini-app';
import {colors} from '@walmart/gtp-shared-components';
import {useSelector} from 'react-redux';
import {Site} from '@walmart/redux-store';
+import {associateIsClockedIn} from '../../../src/utils/user';
jest.mock('react-redux', () => ({
...jest.requireActual('react-redux'),
@@ -83,19 +80,9 @@ describe('AssociateListItem', () => {
});
it('should render correct avatar clock dot based on associate status', () => {
- const encryptedId = utils.encryptUserId(
- props.associate?.win?.toString() ?? '',
- );
- const presence = MyTeamHooks.useUserPresence(encryptedId);
- const clockDotStatus = deriveClockStatusType(
- props.associate,
- encryptedId,
- presence,
- );
-
const {getByTestId} = renderWithProviders(<AssociateListItem {...props} />);
const clockDot = getByTestId('associate-list-item-clock-dot');
- if (clockDotStatus === 'active') {
+ if (associateIsClockedIn(props.associate)) {
expect(clockDot.props.style.borderColor).toEqual(colors.green['100']);
expect(clockDot.props.style.backgroundColor).toEqual('#6DD400');
} else {
@@ -177,6 +164,7 @@ describe('AssociateListItem', () => {
const {getByTestId} = renderWithProviders(
<AssociateListItem
{...props}
+ // @ts-ignore
associate={{...props.associate, ...mockScheduleInfo}}
/>,
);
--- src/managerExperience/components/AssociateListItem/AssociateListItem.tsx
@@ -7,14 +7,12 @@ import {StatusChip} from '../../../components/StatusChip';
import {AssociateListItemProps} from './types';
import {
associateDisplayName,
+ associateIsClockedIn,
encryptUserId,
formatSchedule,
transformWfmSchedule,
} from '../../../utils';
-import {
- deriveClockStatusType,
- generateAssociateInitials,
-} from '../../utils/associateList';
+import {generateAssociateInitials} from '../../utils/associateList';
import {WFMSchedule} from '../../../types';
import {useSelector} from 'react-redux';
import {SiteSelectors} from '@walmart/allspark-foundation/Site';
@@ -25,7 +23,6 @@ import {
import {useRbacConfigWithJobCode} from '../../../hooks';
import {useTranslation} from 'react-i18next';
import {ROSTER_I18N_NAMESPACE} from '../../../translations';
-import {MyTeamHooks} from '@walmart/wmconnect-mini-app';
export const AssociateListItem = ({
associate,
@@ -37,12 +34,6 @@ export const AssociateListItem = ({
const {data} = useSelector(SiteSelectors.getWorkingSite);
const siteId = data?.siteId;
const encryptedId = encryptUserId(associate?.win?.toString() ?? '');
- const presence = MyTeamHooks.useUserPresence(encryptedId);
- const clockDotStatus = deriveClockStatusType(
- associate,
- encryptedId,
- presence,
- );
const showManagerSchedule = useSelector(displayManagerSchedule);
const showHourlySchedule = useSelector(displayHourlySchedule);
const showStatusChipAndViewSchedule: boolean | undefined =
@@ -72,7 +63,7 @@ export const AssociateListItem = ({
<View
testID='associate-list-item-clock-dot'
style={
- clockDotStatus === 'active'
+ associateIsClockedIn(associate)
? styles.clockStatusDotActive
: styles.clockStatusDotInactive
}
--- src/managerExperience/utils/associateList.ts
@@ -1,20 +1,8 @@
-import {Associate} from '../../types';
-import {ClockStatusDot} from '../components/AssociateListItem/types';
-import {associateIsClockedIn} from '../../utils';
-
export const generateAssociateInitials = (associateName: string) => {
- const splitName = associateName.split(' ');
- let initials = '';
- splitName.forEach((name) => (initials += name[0]));
- return initials.toUpperCase();
-};
-
-export const deriveClockStatusType = (
- associate: Associate,
- encryptedId: string,
- presence: 'online' | 'offline',
-): ClockStatusDot => {
- if (associateIsClockedIn(associate) || presence === 'offline')
- return ClockStatusDot.Active;
- return ClockStatusDot.Inactive;
+ return associateName
+ .toUpperCase()
+ .split(/\s/)
+ .reduce((response, word) => {
+ return `${response}${word[0]}`;
+ }, '');
};
| feat: removed unnecessary clock status func and updated tests | feat: removed unnecessary clock status func and updated tests
|
225bde0328f8debb387dac32a71e5c0576652bc4 | --- __tests__/setup.ts
@@ -29,3 +29,7 @@ jest.mock('@walmart/core-services/Logger', () => ({
...jest.requireActual('@walmart/core-services/Logger'),
LoggerCloneProvider: jest.fn(),
}));
+
+jest.mock('@walmart/wmconnect-mini-app', () => ({
+ navigateToMessageScreen: jest.fn(),
+}));
--- jest.config.js
@@ -24,7 +24,7 @@ module.exports = {
},
},
transformIgnorePatterns: [
- '<rootDir>/node_modules/(?!(react-native|react-redux|@react-native|expo|expo-av|react-native-flipper|@react-native-community/async-storage|axios|@lifeomic/axios-fetch|react-native-reanimated|@walmart/gtp-shared-components|@walmart/gtp-shared-icons|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|react-native-iphone-x-helper|react-native-gesture-handler|@react-native/polyfills|@react-native/normalize-color|@walmart/ui-components|@walmart/core-services|@walmart/core-utils|@walmart/allspark-graphql-client|@walmart/allspark-http-client|@walmart/allspark-utils|@walmart/config-components|@walmart/react-native-shared-navigation))',
+ '<rootDir>/node_modules/(?!(react-native|react-redux|@react-native|expo|expo-av|react-native-flipper|@react-native-community/async-storage|axios|@lifeomic/axios-fetch|react-native-reanimated|@walmart/gtp-shared-components|@walmart/gtp-shared-icons|@react-native-community/picker|@walmart/redux-store|@react-native-firebase|react-native-iphone-x-helper|react-native-gesture-handler|@react-native/polyfills|@react-native/normalize-color|@walmart/ui-components|@walmart/core-services|@walmart/core-utils|@walmart/allspark-graphql-client|@walmart/allspark-http-client|@walmart/allspark-utils|@walmart/config-components|@walmart/react-native-shared-navigation|@walmart/wmconnect-mini-app))',
],
testPathIgnorePatterns: [
'<rootDir>/__tests__/setup.ts',
--- src/screens/RosterScreen.tsx
@@ -1,9 +1,9 @@
import React from 'react';
+import {navigateToMessageScreen} from '@walmart/wmconnect-mini-app';
import {Roster} from '../components/Roster/Roster';
import {StyleSheet, View} from 'react-native';
import {ROSTER_I18N_NAMESPACE} from '../translations';
import {useTranslation} from 'react-i18next';
-import {navigateToMessageScreen} from '@walmart/wmconnect-mini-app';
import {useSelector} from 'react-redux';
import {SiteSelectors} from '@walmart/redux-store';
--- src/screens/SearchScreen.tsx
@@ -1,6 +1,7 @@
import React, {useCallback, useEffect, useMemo, useState} from 'react';
import {StyleSheet, View} from 'react-native';
import {isNil} from 'lodash';
+import {navigateToMessageScreen} from '@walmart/wmconnect-mini-app';
import {FlashList, ListRenderItem} from '@shopify/flash-list';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
import {NavigationProp, RouteProp} from '@react-navigation/native';
@@ -22,7 +23,6 @@ import {AssociateListItem} from '../components/Roster/AssociateListItem';
import namecase from 'namecase';
import {useDispatch, useSelector} from 'react-redux';
import {rosterSlice} from '../redux/reducer';
-import {navigateToMessageScreen} from '@walmart/wmconnect-mini-app';
import {SiteSelectors} from '@walmart/redux-store';
import {ROSTER_I18N_NAMESPACE} from '../translations';
import {useTranslation} from 'react-i18next';
| Update the roster screen test | Update the roster screen test
|
a98964a84f21ce0c9614100272b901f16bee9c66 | --- package-lock.json
@@ -9867,13 +9867,10 @@
}
},
"node_modules/@walmart/store-feature-orders": {
- "version": "1.26.1",
- "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.1.tgz",
- "integrity": "sha512-ai7YBkghKNNRUV3FCboQKldf3w1OAKjVXn2ujxAXx9Nmjpwd8VBy7Lb75ZdK7IJKZiE1oi4+TVJMoLaXRqKJfQ==",
+ "version": "1.26.2",
+ "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.2.tgz",
+ "integrity": "sha512-ja5c4CSJhbyaJJ9st8PECEOHSBhBfBRM2nnVpwTY9RmS8Ta9GYuDa5eCol8DUpOfbkTod+vsgBBNSQUqEnc7SQ==",
"hasInstallScript": true,
- "dependencies": {
- "cli": "^1.0.1"
- },
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/stack": "^6.1.0",
@@ -11740,19 +11737,6 @@
"node": ">=6"
}
},
- "node_modules/cli": {
- "version": "1.0.1",
- "resolved": "https://npme.walmart.com/cli/-/cli-1.0.1.tgz",
- "integrity": "sha512-41U72MB56TfUMGndAKK8vJ78eooOD4Z5NOL4xEfjc0c23s+6EYKXlXsmACBVclLP1yOfWCgEganVzddVrSNoTg==",
- "license": "MIT",
- "dependencies": {
- "exit": "0.1.2",
- "glob": "^7.1.1"
- },
- "engines": {
- "node": ">=0.2.5"
- }
- },
"node_modules/cli-cursor": {
"version": "3.1.0",
"license": "MIT",
@@ -14086,6 +14070,7 @@
"version": "0.1.2",
"resolved": "https://npme.walmart.com/exit/-/exit-0.1.2.tgz",
"integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
+ "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -29490,7 +29475,7 @@
"requires": {
"mv": "~2",
"safe-json-stringify": "~1",
- "uuid": "^3.3.2"
+ "uuid": "^8.0.0"
}
},
"@expo/cli": {
@@ -30180,7 +30165,7 @@
"md5": "^2.2.1",
"node-fetch": "^2.6.1",
"remove-trailing-slash": "^0.1.0",
- "uuid": "^3.3.2"
+ "uuid": "^8.3.2"
}
},
"@expo/sdk-runtime-versions": {
@@ -33678,12 +33663,9 @@
"integrity": "sha512-N4zuxdQT3DJGAYVAwPDAYizTQ4MwRClFvcoH63L+uHy4gBBjKzX8EcN5a357Nvf9xq1P6fq2Ai7CtcvI5kl/5Q=="
},
"@walmart/store-feature-orders": {
- "version": "1.26.1",
- "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.1.tgz",
- "integrity": "sha512-ai7YBkghKNNRUV3FCboQKldf3w1OAKjVXn2ujxAXx9Nmjpwd8VBy7Lb75ZdK7IJKZiE1oi4+TVJMoLaXRqKJfQ==",
- "requires": {
- "cli": "^1.0.1"
- }
+ "version": "1.26.2",
+ "resolved": "https://npme.walmart.com/@walmart/store-feature-orders/-/store-feature-orders-1.26.2.tgz",
+ "integrity": "sha512-ja5c4CSJhbyaJJ9st8PECEOHSBhBfBRM2nnVpwTY9RmS8Ta9GYuDa5eCol8DUpOfbkTod+vsgBBNSQUqEnc7SQ=="
},
"@walmart/taskit-mini-app": {
"version": "2.53.3",
@@ -34866,15 +34848,6 @@
"resolved": "https://npme.walmart.com/clean-stack/-/clean-stack-2.2.0.tgz",
"integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="
},
- "cli": {
- "version": "1.0.1",
- "resolved": "https://npme.walmart.com/cli/-/cli-1.0.1.tgz",
- "integrity": "sha512-41U72MB56TfUMGndAKK8vJ78eooOD4Z5NOL4xEfjc0c23s+6EYKXlXsmACBVclLP1yOfWCgEganVzddVrSNoTg==",
- "requires": {
- "exit": "0.1.2",
- "glob": "^7.1.1"
- }
- },
"cli-cursor": {
"version": "3.1.0",
"requires": {
@@ -36352,7 +36325,8 @@
"exit": {
"version": "0.1.2",
"resolved": "https://npme.walmart.com/exit/-/exit-0.1.2.tgz",
- "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ=="
+ "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
+ "dev": true
},
"expand-template": {
"version": "2.0.3"
@@ -37177,7 +37151,7 @@
"version": "2.1.6",
"dev": true,
"requires": {
- "axios": "~1.2.6"
+ "axios": "^0.21.4"
}
},
"chalk": {
| npm run after removed cli dependency | npm run after removed cli dependency
|
690164a8a3b9a2359688c28985d02c38182704a7 | --- __tests__/hooks/useGetStoreAssociateTeamPreference.test.ts
@@ -2,7 +2,6 @@ import {renderHook} from '@testing-library/react-hooks';
import {useGetStoreAssociateTeamPreference} from '../../src/hooks/useGetStoreAssociateTeamPreference';
import {useSelector} from 'react-redux';
import {useGetStoreAssociateTeamPreferenceQuery} from '../../src/utils/queries/getStoreAssociateTeamPreference';
-import {AssociateExpHubLogger} from '../../src/utils/logger';
jest.mock('react-redux', () => ({
useSelector: jest.fn(),
| feat(ui):lint fix #SMDV-8338 | feat(ui):lint fix #SMDV-8338
|
30c190eff7a9eb086aecb353329e6f671979ca1c | --- core/__tests__/navigation/USHallway/AssociateHallwayNav/__snapshots__/AssociateHallwayNavTest.tsx.snap
@@ -2,7 +2,6 @@
exports[`DrawerNav matches default snapshot for initial render 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<ActivityMonitor
@@ -57,7 +56,6 @@ exports[`DrawerNav matches default snapshot for initial render 1`] = `
exports[`DrawerNav matches snapshot after initial render 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<ActivityMonitor
--- core/__tests__/navigation/__snapshots__/RootStackTest.tsx.snap
@@ -2,7 +2,6 @@
exports[`RootNav matches snapshot when app accessible 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<Navigator
@@ -199,7 +198,6 @@ exports[`RootNav matches snapshot when app accessible 1`] = `
exports[`RootNav matches snapshot when app not accessible 1`] = `
<RenderGuard
- onUnmount={[Function]}
preRender={[Function]}
>
<Navigator
| updated 4 snapshot | updated 4 snapshot
|
fcb48d96e12aae168f573bf46e5014e9a2ce8fc1 | --- package-lock.json
@@ -12769,21 +12769,6 @@
"qrcode": "^1.3.2"
}
},
- "react-native-radio-buttons-group": {
- "version": "2.2.5",
- "resolved": "https://npme.walmart.com/react-native-radio-buttons-group/-/react-native-radio-buttons-group-2.2.5.tgz",
- "integrity": "sha512-9uS4PPwRVzDUEnaRd1EyZJGf9EKDuncu7BhoyuLNWlVexWo7HfZ+tJz8fAKgkxk/d5AVnfNBqMx2mljxNKUXUw==",
- "requires": {
- "lodash": "4.17.21"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.21",
- "resolved": "https://npme.walmart.com/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
- }
- }
- },
"react-native-reanimated": {
"version": "1.13.1",
"resolved": "https://npme.walmart.com/react-native-reanimated/-/react-native-reanimated-1.13.1.tgz",
--- package.json
@@ -126,7 +126,6 @@
"react-native-popup-menu": "^0.15.9",
"react-native-ptt-module": "1.3.6",
"react-native-qrcode-svg": "^6.0.6",
- "react-native-radio-buttons-group": "2.2.5",
"react-native-reanimated": "^1.10.2",
"react-native-safe-area-context": "^3.1.3",
"react-native-screens": "^2.10.1",
| removing additional unused dependency | removing additional unused dependency
|
920ff993d41468e6e8c09581e0dab60599ac3458 | --- ios/Podfile.lock
@@ -1467,7 +1467,7 @@ PODS:
- FirebaseMessaging (<= 10.1.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.2.5):
+ - topstock-mini-app (1.3.0):
- React
- VisionCamera (2.15.2):
- React
@@ -2065,7 +2065,7 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: fef064694cb7fd0f4d8c633f03d2d9e11876fdda
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: df17d39160a46df6b2fd035088804a62542269e4
+ topstock-mini-app: 2fb8fd426e844ec04ff08eecbe2b03ea73bee81a
VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210
walmart-react-native-sumo-sdk: 02719d035c1a52e951e15097fae5ea17b459f71c
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
--- package-lock.json
@@ -86,7 +86,7 @@
"@walmart/taskit-mini-app": "2.47.9",
"@walmart/texting-mini-app": "2.0.39",
"@walmart/time-clock-mini-app": "2.175.2",
- "@walmart/topstock-mini-app": "1.2.6",
+ "@walmart/topstock-mini-app": "1.3.0",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.84.4",
"@walmart/wfm-ui": "0.2.26",
@@ -9323,9 +9323,9 @@
"license": "GPL-3.0-or-later"
},
"node_modules/@walmart/topstock-mini-app": {
- "version": "1.2.6",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.2.6.tgz",
- "integrity": "sha512-BLXKZiSGmGGFmiHOs+pMuk/+aAHh4wRF1/EG64Prw1/SoFH8kwB/tZXI6tjgdglsY1ph9mvXROqRF1lcNDM7gw==",
+ "version": "1.3.0",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.3.0.tgz",
+ "integrity": "sha512-VQHqzMY1muxR++RP0WBDGA/F1wWcd0KdB2ePhNg4fDOUX0dnQHdJ1QaAv2T/q01ikoMGJOh1QhOuU8Ow+7HE6w==",
"dependencies": {
"javascript-time-ago": "^2.5.7"
},
@@ -34601,9 +34601,9 @@
"integrity": "sha1-QVwJoEY4zaaC39G6HDOGH7COw/Y="
},
"@walmart/topstock-mini-app": {
- "version": "1.2.6",
- "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.2.6.tgz",
- "integrity": "sha512-BLXKZiSGmGGFmiHOs+pMuk/+aAHh4wRF1/EG64Prw1/SoFH8kwB/tZXI6tjgdglsY1ph9mvXROqRF1lcNDM7gw==",
+ "version": "1.3.0",
+ "resolved": "https://npme.walmart.com/@walmart/topstock-mini-app/-/topstock-mini-app-1.3.0.tgz",
+ "integrity": "sha512-VQHqzMY1muxR++RP0WBDGA/F1wWcd0KdB2ePhNg4fDOUX0dnQHdJ1QaAv2T/q01ikoMGJOh1QhOuU8Ow+7HE6w==",
"requires": {
"javascript-time-ago": "^2.5.7"
}
--- package.json
@@ -127,7 +127,7 @@
"@walmart/taskit-mini-app": "2.47.9",
"@walmart/texting-mini-app": "2.0.39",
"@walmart/time-clock-mini-app": "2.175.2",
- "@walmart/topstock-mini-app": "1.2.6",
+ "@walmart/topstock-mini-app": "1.3.0",
"@walmart/ui-components": "1.15.1",
"@walmart/welcomeme-mini-app": "0.84.4",
"@walmart/wfm-ui": "0.2.26",
| fix(bug): fix store change issue | fix(bug): fix store change issue
|
502d92b2a189bdb96e83281011502da6489fd45f | --- CODEOWNERS
@@ -4,7 +4,7 @@
# for review when someone opens a pull request
-- @allspark/allspark-admin-team
+- @allspark/allspark-architects
# allspark-admin-team will own all changes in these directories and
| chore: update codeowners | chore: update codeowners
|
b6d72ff66f655a4197cb1b8ef6a871d609c1fed8 | --- android/app/src/main/assets/fonts/icomoon.ttf
Binary files a/android/app/src/main/assets/fonts/icomoon.ttf and b/android/app/src/main/assets/fonts/icomoon.ttf differ
--- ios/icomoon.ttf
Binary files a/ios/icomoon.ttf and b/ios/icomoon.ttf differ
--- package.json
@@ -122,7 +122,7 @@
"@walmart/shelfavailability-mini-app": "1.2.4",
"@walmart/taskit-mini-app": "0.34.5-beta.2",
"@walmart/time-clock-mini-app": "0.22.0",
- "@walmart/ui-components": "1.5.0-rc.0",
+ "@walmart/ui-components": "1.5.0-rc.1",
"@walmart/welcomeme-mini-app": "0.71.0",
"@walmart/wfm-ui": "0.2.24",
"axios": "^0.26.1",
| Facility Management Icon changes | Facility Management Icon changes
|
bc8de9636679bc99915c2d8f72a521ed92b515f3 | --- src/screens/AllTeamsScreen/SupplyChainAllTeamsScreen.tsx
@@ -10,14 +10,21 @@ import {
} from '@walmart/allspark-foundation-hub';
import {allTeamsScreenStyles as styles} from './styles';
import {rosterDetailScreenStyles as borrowedStyles} from '../RosterDetailScreen/styles';
-import {useTotalSiteOrTotalStore} from '../../hooks';
+import {
+ useTotalSiteOrTotalStore,
+ useGetViewersPrimaryTeamId,
+} from '../../hooks';
import {createTeamsSectionsByOpsArea} from '../../utils/allTeams';
import {AllTeamsLoadingScreen} from './AllTeamsLoadingScreen';
import {NavigationProp, useNavigation} from '@react-navigation/native';
import {RosterNavParamsMap} from '../../navigation';
import {analytics} from '../../logger/analytics';
import {useSelector} from 'react-redux';
-import {displayClockInCount, displayTotalStore} from '../../redux/selectors';
+import {
+ displayClockInCount,
+ displayPrimaryTeam,
+ displayTotalStore,
+} from '../../redux/selectors';
import {Body} from '@walmart/gtp-shared-components';
import moment from 'moment';
import {WarningBanner} from '../../components/WarningBanner';
@@ -26,6 +33,8 @@ import {SupplyChainTeam} from './types';
export const SupplyChainAllTeamsScreen = () => {
const {t} = translationClient.useTranslation();
+ const loggedInUserTeamId = useGetViewersPrimaryTeamId();
+ const showPrimaryTeam = useSelector(displayPrimaryTeam);
const siteTranslationContext = useTotalSiteOrTotalStore();
const navigation = useNavigation<NavigationProp<RosterNavParamsMap>>();
const showClockInCount = useSelector(displayClockInCount);
@@ -167,6 +176,10 @@ export const SupplyChainAllTeamsScreen = () => {
domain={supplyChainDomain}
teamId={item.teamId}
isLastListItem={index === section.data.length - 1}
+ isPrimaryTeam={
+ showPrimaryTeam && loggedInUserTeamId === item.teamId
+ }
+ primaryTeamText={t('rosterScreen.teamWorkgroup.myTeam')}
subText={
showClockInCount
? t('rosterScreen.teamListItem.clockedIn', {
| fix: add My Team pill | fix: add My Team pill
|
d1b82c712a12a6665abcda2490348be88ca7b114 | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/TeamListItem/TeamListItem.tsx
@@ -52,7 +52,7 @@ export const TeamListItem = ({
source={{
uri: Images['0000000'].uri,
}}
- placeholder={Images[teamId ?? teamName]?.blurhash}
+ placeholder={Images['0000000']?.blurhash}
style={styles.teamImage}
onError={(error) => {
logger.error('ImageFailure', {
| Adding default blurhash | Adding default blurhash
|
ee207cfe1eee72dec53adec6bb09c622c0ea7d6f | --- __tests__/src/core/RootContainerTest.tsx
@@ -4,6 +4,13 @@ import {create, act} from 'react-test-renderer';
import {RootContainer} from '../../../src/core/RootContainer';
jest.mock('../../../src/core/Navigation', () => 'RootNav');
+jest.mock('../../../src/auth', () => ({
+ AuthContextProvider: (props: any) => props.children,
+ AuthenticatorView: (props: any) => props.children,
+}));
+jest.mock('react-native-safe-area-context', () => ({
+ SafeAreaProvider: (props: any) => props.children,
+}));
describe('RootContainer', () => {
it('renders', () => {
--- __tests__/src/core/__snapshots__/RootContainerTest.tsx.snap
@@ -1,15 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`RootContainer renders 1`] = `
-<RNCSafeAreaProvider
- onInsetsChange={[Function]}
- style={
- Array [
- Object {
- "flex": 1,
- },
- undefined,
- ]
- }
-/>
-`;
+exports[`RootContainer renders 1`] = `<RootNav />`;
--- coverage/clover.xml
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<coverage generated="1596816831307" clover="3.2.0">
- <project timestamp="1596816831307" name="All files">
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1" elements="3" coveredelements="3" complexity="0" loc="2" ncloc="2" packages="1" files="1" classes="1"/>
- <file name="RootContainer.tsx" path="/Users/awhelms/workspace/AllSpark/src/core/RootContainer.tsx">
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
- <line num="8" count="1" type="stmt"/>
- <line num="9" count="1" type="stmt"/>
- </file>
+<coverage generated="1597092614222" clover="3.2.0">
+ <project timestamp="1597092614222" name="All files">
+ <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
</project>
</coverage>
--- coverage/coverage-final.json
@@ -1,2 +1 @@
-{"/Users/awhelms/workspace/AllSpark/src/core/RootContainer.tsx": {"path":"/Users/awhelms/workspace/AllSpark/src/core/RootContainer.tsx","statementMap":{"0":{"start":{"line":8,"column":29},"end":{"line":17,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":16,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":29},"end":{"line":8,"column":30}},"loc":{"start":{"line":8,"column":35},"end":{"line":17,"column":1}},"line":8}},"branchMap":{},"s":{"0":1,"1":1},"f":{"0":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"c0192f5b8fe9052bb3795f7c0aa8cdf9e82b54a6"}
-}
+{}
--- coverage/lcov-report/index.html
@@ -23,30 +23,30 @@
<div class='clearfix'>
<div class='fl pad1y space-right2'>
- <span class="strong">100% </span>
+ <span class="strong">Unknown% </span>
<span class="quiet">Statements</span>
- <span class='fraction'>2/2</span>
+ <span class='fraction'>0/0</span>
</div>
<div class='fl pad1y space-right2'>
- <span class="strong">100% </span>
+ <span class="strong">Unknown% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/0</span>
</div>
<div class='fl pad1y space-right2'>
- <span class="strong">100% </span>
+ <span class="strong">Unknown% </span>
<span class="quiet">Functions</span>
- <span class='fraction'>1/1</span>
+ <span class='fraction'>0/0</span>
</div>
<div class='fl pad1y space-right2'>
- <span class="strong">100% </span>
+ <span class="strong">Unknown% </span>
<span class="quiet">Lines</span>
- <span class='fraction'>2/2</span>
+ <span class='fraction'>0/0</span>
</div>
@@ -55,7 +55,7 @@
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
</p>
</div>
- <div class='status-line high'></div>
+ <div class='status-line medium'></div>
<div class="pad1">
<table class="coverage-summary">
<thead>
@@ -72,22 +72,7 @@
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
</tr>
</thead>
-<tbody><tr>
- <td class="file high" data-value="RootContainer.tsx"><a href="RootContainer.tsx.html">RootContainer.tsx</a></td>
- <td data-value="100" class="pic high">
- <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
- </td>
- <td data-value="100" class="pct high">100%</td>
- <td data-value="2" class="abs high">2/2</td>
- <td data-value="100" class="pct high">100%</td>
- <td data-value="0" class="abs high">0/0</td>
- <td data-value="100" class="pct high">100%</td>
- <td data-value="1" class="abs high">1/1</td>
- <td data-value="100" class="pct high">100%</td>
- <td data-value="2" class="abs high">2/2</td>
- </tr>
-
-</tbody>
+<tbody></tbody>
</table>
</div>
<div class='push'></div><!-- for sticky footer -->
@@ -95,7 +80,7 @@
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
- at Fri Aug 07 2020 11:13:51 GMT-0500 (Central Daylight Time)
+ at Mon Aug 10 2020 15:50:14 GMT-0500 (Central Daylight Time)
</div>
</div>
<script src="prettify.js"></script>
--- coverage/lcov.info
@@ -1,13 +0,0 @@
-TN:
-SF:src/core/RootContainer.tsx
-FN:8,(anonymous_0)
-FNF:1
-FNH:1
-FNDA:1,(anonymous_0)
-DA:8,1
-DA:9,1
-LF:2
-LH:2
-BRF:0
-BRH:0
-end_of_record
| updating test | updating test
|
cb85b665923a27e715fe0e582f956de3704e8fa9 | --- CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.35.1-alpha.2](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.1...v6.35.1-alpha.2) (2025-08-29)
+
+
+### Bug Fixes
+
+* **calling-mini-app:** CONAS-1786 Webex SDK update and bug fixes ([#4667](https://gecgithub01.walmart.com/allspark/allspark-core/issues/4667)) ([754a0ab](https://gecgithub01.walmart.com/allspark/allspark-core/commit/754a0ab4359d5441408638bb5c127024ce178883))
+* **pkg:** removed publishConfig for package publish ([#4671](https://gecgithub01.walmart.com/allspark/allspark-core/issues/4671)) ([54aaf13](https://gecgithub01.walmart.com/allspark/allspark-core/commit/54aaf138169b0dde6259985c56c9b7174a1a653f))
+* **time off requests list page:** GTA-164970 fix selectors ([#4670](https://gecgithub01.walmart.com/allspark/allspark-core/issues/4670)) ([d7c322d](https://gecgithub01.walmart.com/allspark/allspark-core/commit/d7c322d1dc80a2cbefa872ef10f81766fce4f1cd))
+
+
+### Features
+
+* **receiving:** Drop 33 version bump ([#4669](https://gecgithub01.walmart.com/allspark/allspark-core/issues/4669)) ([d0098fa](https://gecgithub01.walmart.com/allspark/allspark-core/commit/d0098fa63d0bbc77db9eddb1e72bb87504664278))
+* **ui:** updating roster wmconnect and myteam versions for drop 33 ([#4655](https://gecgithub01.walmart.com/allspark/allspark-core/issues/4655)) ([14cc17b](https://gecgithub01.walmart.com/allspark/allspark-core/commit/14cc17b4631b1b84d15c668f5564f7ef9c096cd4))
+
+
+
+
+
## [6.35.1-alpha.1](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.0...v6.35.1-alpha.1) (2025-08-28)
**Note:** Version bump only for package @walmart/me-at-walmart
--- lerna.json
@@ -1,5 +1,5 @@
{
- "version": "6.35.1-alpha.1",
+ "version": "6.35.1-alpha.2",
"npmClient": "yarn",
"changelogPreset": "angular",
"command": {
--- packages/core-services-allspark/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.35.1-alpha.2](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.35.1-alpha.1...v6.35.1-alpha.2) (2025-08-29)
+
+**Note:** Version bump only for package @walmart/core-services-allspark
+
+
+
+
+
## [6.35.1-alpha.1](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.35.1-alpha.0...v6.35.1-alpha.1) (2025-08-28)
**Note:** Version bump only for package @walmart/core-services-allspark
--- packages/core-services-allspark/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-services-allspark",
- "version": "6.35.1-alpha.1",
+ "version": "6.35.1-alpha.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/core-widget-registry/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.35.1-alpha.2](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.35.1-alpha.1...v6.35.1-alpha.2) (2025-08-29)
+
+**Note:** Version bump only for package @walmart/core-widget-registry
+
+
+
+
+
## [6.35.1-alpha.1](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/v6.35.1-alpha.0...v6.35.1-alpha.1) (2025-08-28)
**Note:** Version bump only for package @walmart/core-widget-registry
--- packages/core-widget-registry/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/core-widget-registry",
- "version": "6.35.1-alpha.1",
+ "version": "6.35.1-alpha.2",
"description": "Repo for Me@Walmart related widget registries",
"author": "rlane1 <russell.lane@walmart.com>",
"license": "ISC",
--- packages/me-at-walmart-common/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.35.1-alpha.2](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.1...v6.35.1-alpha.2) (2025-08-29)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-common
+
+
+
+
+
## [6.35.1-alpha.1](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.0...v6.35.1-alpha.1) (2025-08-28)
**Note:** Version bump only for package @walmart/me-at-walmart-common
--- packages/me-at-walmart-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-common",
- "version": "6.35.1-alpha.1",
+ "version": "6.35.1-alpha.2",
"description": "Common utilities and components for Me@Walmat mini apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/me-at-walmart-container/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.35.1-alpha.2](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.1...v6.35.1-alpha.2) (2025-08-29)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-container
+
+
+
+
+
## [6.35.1-alpha.1](https://gecgithub01.walmart.com/allspark/allspark-core/compare/v6.35.1-alpha.0...v6.35.1-alpha.1) (2025-08-28)
**Note:** Version bump only for package @walmart/me-at-walmart-container
--- packages/me-at-walmart-container/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-container",
- "version": "6.35.1-alpha.1",
+ "version": "6.35.1-alpha.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
|
c2777d183a5d8e42b3ecaeb667844bdc7d412254 | --- package-lock.json
@@ -4335,11 +4335,6 @@
}
}
},
- "@walmart/payrollsolution_miniapp": {
- "version": "0.83.0",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.83.0.tgz",
- "integrity": "sha512-fDJHm78U00nIGRY8V2e1JXcwUdtiDKhwrsksQ/d8qhDtkUQTZ/2Rt1q3hXEizHSWv6JOXyRKwCymdH3ntEjNsw=="
- },
"@walmart/price-changes-mini-app": {
"version": "1.0.5",
"resolved": "https://npme.walmart.com/@walmart/price-changes-mini-app/-/price-changes-mini-app-1.0.5.tgz",
@@ -4513,9 +4508,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.138.0-rc.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.138.0-rc.0.tgz",
- "integrity": "sha512-/fOK20i5EsBZ8NJ48bAMesT//XYS/Ejo2tZVkji8SjRZ2BsKAcZjc0/6HxcYQ6enZC2XpF/u0XDMGmXh3fg31g=="
+ "version": "0.119.0-rc.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.119.0-rc.0.tgz",
+ "integrity": "sha512-bY5N9L94ltxHPppIPaBIg7v4lwl7kjsaeu+eRX1SjT0Sk1I0oCALJC2fYod7L6vd6qehLvNfOoxpOOD0yheI7Q=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.24",
@@ -4560,9 +4555,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.40.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.40.0.tgz",
- "integrity": "sha512-Pl61FRUs+urKukGmNjb4drlfvVz6TExN6xHcmE/JUUbIDHljuwWq5+S6z8AQNPAe2piqjibHNwuYyNK8RPPU2A=="
+ "version": "0.30.4",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.30.4.tgz",
+ "integrity": "sha512-L4pZnzF3aF24H9ic1S+dSb/6sqQmGd3P/UflUActHWCoD9f2CRv9WCw7rCO7foa4+XYGSANDY7fu30e7QMxSWA=="
},
"@walmart/wfm-ui": {
"version": "0.1.50",
--- package.json
@@ -89,7 +89,6 @@
"@walmart/manager-approvals-miniapp": "0.0.58",
"@walmart/metrics-mini-app": "0.5.18",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/payrollsolution_miniapp": "^0.83.0",
"@walmart/price-changes-mini-app": "1.0.5",
"@walmart/push-to-talk-mini-app": "0.5.39",
"@walmart/react-native-env": "^0.2.0",
@@ -97,14 +96,14 @@
"@walmart/react-native-shared-navigation": "^0.4.0",
"@walmart/react-native-sumo-sdk": "2.1.0",
"@walmart/redux-store": "1.1.25",
- "@walmart/refrigeration-alarms-mini-app": "1.21.0",
+ "@walmart/refrigeration-alarms-mini-app": "1.22.0",
"@walmart/schedule-mini-app": "0.6.0",
"@walmart/settings-mini-app": "1.3.9",
- "@walmart/shelfavailability-mini-app": "0.6.8",
- "@walmart/taskit-mini-app": "0.138.0-rc.0",
+ "@walmart/shelfavailability-mini-app": "0.7.0",
+ "@walmart/taskit-mini-app": "0.119.0-rc.0",
"@walmart/time-clock-mini-app": "0.4.24",
"@walmart/ui-components": "v1.3.0-rc.2",
- "@walmart/welcomeme-mini-app": "0.40.0",
+ "@walmart/welcomeme-mini-app": "0.30.4",
"@walmart/wfm-ui": "^0.1.50",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| Version fixes | Version fixes
|
d304a774ea5f6518c95aebc8753e71249476203a | --- package-lock.json
@@ -62,8 +62,8 @@
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
- "@walmart/pay-stub-miniapp": "0.9.26",
- "@walmart/payrollsolution_miniapp": "0.130.25",
+ "@walmart/pay-stub-miniapp": "0.9.28",
+ "@walmart/payrollsolution_miniapp": "0.130.27",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
@@ -5626,17 +5626,17 @@
}
},
"node_modules/@walmart/pay-stub-miniapp": {
- "version": "0.9.26",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.26.tgz",
- "integrity": "sha512-Z5L6pnHt1Sh0LoO3ouuxkZW5LscosozKJJ1GjQwLyA3WCHzLEDHvofiEsDR3x/s4hKrFxJixNZxmxOeNsiBYZA==",
+ "version": "0.9.28",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.28.tgz",
+ "integrity": "sha512-2ORApAabKdFZh8n5VKVpRhbo70Sw/G6uJy058hdPjbEeMUDSbLsFtLLEMd9FThKbjctslKwDGeOYVnWyimiSKw==",
"dependencies": {
"crypto-js": "^3.3.0"
}
},
"node_modules/@walmart/payrollsolution_miniapp": {
- "version": "0.130.25",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.25.tgz",
- "integrity": "sha512-D5y4u1Bhi/9Q6A0MqLPdMixCqJM4l6xJbLfK0T7PZ/KlUfl6z36N/YZ38WPU15fz3WGjIjnRHZRx+Uqjc6XFiA==",
+ "version": "0.130.27",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.27.tgz",
+ "integrity": "sha512-K0/rMItV9UJ9Re39yq2Wp4ZOzFyZjYaQPEx4WZwviYdM3JC9MGWWxdb+VurZhn/A2BsC4oZ90aWJ1xzM+GvhMQ==",
"dependencies": {
"crypto-js": "^3.3.0"
},
@@ -25301,17 +25301,17 @@
}
},
"@walmart/pay-stub-miniapp": {
- "version": "0.9.26",
- "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.26.tgz",
- "integrity": "sha512-Z5L6pnHt1Sh0LoO3ouuxkZW5LscosozKJJ1GjQwLyA3WCHzLEDHvofiEsDR3x/s4hKrFxJixNZxmxOeNsiBYZA==",
+ "version": "0.9.28",
+ "resolved": "https://npme.walmart.com/@walmart/pay-stub-miniapp/-/pay-stub-miniapp-0.9.28.tgz",
+ "integrity": "sha512-2ORApAabKdFZh8n5VKVpRhbo70Sw/G6uJy058hdPjbEeMUDSbLsFtLLEMd9FThKbjctslKwDGeOYVnWyimiSKw==",
"requires": {
"crypto-js": "^3.3.0"
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.130.25",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.25.tgz",
- "integrity": "sha512-D5y4u1Bhi/9Q6A0MqLPdMixCqJM4l6xJbLfK0T7PZ/KlUfl6z36N/YZ38WPU15fz3WGjIjnRHZRx+Uqjc6XFiA==",
+ "version": "0.130.27",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.130.27.tgz",
+ "integrity": "sha512-K0/rMItV9UJ9Re39yq2Wp4ZOzFyZjYaQPEx4WZwviYdM3JC9MGWWxdb+VurZhn/A2BsC4oZ90aWJ1xzM+GvhMQ==",
"requires": {
"crypto-js": "^3.3.0"
}
--- package.json
@@ -104,8 +104,8 @@
"@walmart/mod-flex-mini-app": "1.3.15",
"@walmart/moment-walmart": "1.0.4",
"@walmart/OneWalmart-MiniApp": "1.0.12",
- "@walmart/pay-stub-miniapp": "0.9.26",
- "@walmart/payrollsolution_miniapp": "0.130.25",
+ "@walmart/pay-stub-miniapp": "0.9.28",
+ "@walmart/payrollsolution_miniapp": "0.130.27",
"@walmart/price-changes-mini-app": "1.6.10",
"@walmart/profile-feature-app": "0.76.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
| bump version | bump version
|
12839ca742acc75a70ce7eb14b8c1add1fec667b | --- package-lock.json
@@ -5332,9 +5332,9 @@
"integrity": "sha512-7d62eBeJoUnnl5KOoDe+aOxU7C6VpkCM7Bl5iRgg1TMMqmUDM8iI2YDPRppU7hBr134Zbl5aVEGyR/IBQrPRxA=="
},
"@walmart/me-field-mini-app": {
- "version": "1.1.29",
- "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.29.tgz",
- "integrity": "sha512-rDy9h9J2SvvOvxcw1O5n+tQNbPgT+CozqbIw0mdRl8+p8VIf43qMATFrieSF36YfT3qgrneZsDiMxygBdkB9GQ=="
+ "version": "1.1.30",
+ "resolved": "https://npme.walmart.com/@walmart/me-field-mini-app/-/me-field-mini-app-1.1.30.tgz",
+ "integrity": "sha512-kfe2Ao9LJAG8ynOJ4jU4qAv1uYiy81jatVlYG9Vhqm+AFsT8WjCPJ4yAiY5efH960G6WN341RNZ71+8g81ubeQ=="
},
"@walmart/metrics-mini-app": {
"version": "0.9.28",
--- package.json
@@ -98,7 +98,7 @@
"@walmart/inbox-mini-app": "0.58.0",
"@walmart/iteminfo-mini-app": "5.1.7",
"@walmart/manager-approvals-miniapp": "0.1.1",
- "@walmart/me-field-mini-app": "1.1.29",
+ "@walmart/me-field-mini-app": "1.1.30",
"@walmart/metrics-mini-app": "0.9.28",
"@walmart/mod-flex-mini-app": "1.2.4",
"@walmart/moment-walmart": "1.0.4",
| feat: 📦 Bump learning mini app version to 1.1.30 | feat: 📦 Bump learning mini app version to 1.1.30
|
9dd3e2cc9f7d4a7798e41db07b82627469c7138c | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.1-alpha.3",
+ "version": "1.0.1-alpha.4",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
| Update allspark-foundation hub version | Update allspark-foundation hub version
|
e560f3f28093c2fc7f90d18830d2e9f0e32ec251 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.11",
+ "version": "1.0.12",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.11",
+ "version": "1.0.12",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -65,9 +65,9 @@
"@walmart/react-native-scanner-3.0": "0.4.2",
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
- "@walmart/roster-mini-app": "1.0.13",
+ "@walmart/roster-mini-app": "1.0.14",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.11",
+ "@walmart/wmconnect-mini-app": "1.0.12",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11815,9 +11815,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.13",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.13.tgz",
- "integrity": "sha512-7g6IH1rUU8r9OssXaVUBNZ3spN2vvLdg/nWlNyIVN9470D/ugLKzRsYaxHm/clV385GrbNexwfCmnF/X/Pd44A==",
+ "version": "1.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.14.tgz",
+ "integrity": "sha512-mouijH1CRXGSH5oOrer5zYs261ISIgTCN5iqPm6Ok0QZBbrNZqyyPRCZyx+BSCyVgCjyDt0XK6fD9wRsVPDM8Q==",
"dev": true,
"hasInstallScript": true
},
@@ -11844,9 +11844,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.11",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.11.tgz",
- "integrity": "sha512-cRZ9Q9dJ4MRUKYTq9a7W2/rrJ715ZE5McTXIvYZmJPbsabxjStsQa+vEPGEiyhzRV/Bbbj6pO4YHKOfh92BgJg==",
+ "version": "1.0.12",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.12.tgz",
+ "integrity": "sha512-0vaDvQB55hCZ0hRtAj1Dg4QOwAd+7H0WOeRmM8SlP/ZqEJ9DV6vy1mvKqtO0O+P/SpiQFwY/80EubJuKddNAfA==",
"dev": true,
"hasInstallScript": true
},
@@ -41047,9 +41047,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.13",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.13.tgz",
- "integrity": "sha512-7g6IH1rUU8r9OssXaVUBNZ3spN2vvLdg/nWlNyIVN9470D/ugLKzRsYaxHm/clV385GrbNexwfCmnF/X/Pd44A==",
+ "version": "1.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.14.tgz",
+ "integrity": "sha512-mouijH1CRXGSH5oOrer5zYs261ISIgTCN5iqPm6Ok0QZBbrNZqyyPRCZyx+BSCyVgCjyDt0XK6fD9wRsVPDM8Q==",
"dev": true
},
"@walmart/ui-components": {
@@ -41064,9 +41064,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.11",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.11.tgz",
- "integrity": "sha512-cRZ9Q9dJ4MRUKYTq9a7W2/rrJ715ZE5McTXIvYZmJPbsabxjStsQa+vEPGEiyhzRV/Bbbj6pO4YHKOfh92BgJg==",
+ "version": "1.0.12",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.12.tgz",
+ "integrity": "sha512-0vaDvQB55hCZ0hRtAj1Dg4QOwAd+7H0WOeRmM8SlP/ZqEJ9DV6vy1mvKqtO0O+P/SpiQFwY/80EubJuKddNAfA==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.11",
+ "version": "1.0.12",
"private": false,
"main": "dist/index.js",
"files": [
@@ -88,8 +88,8 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.11",
- "@walmart/roster-mini-app": "1.0.13",
+ "@walmart/wmconnect-mini-app": "1.0.12",
+ "@walmart/roster-mini-app": "1.0.14",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- src/index.tsx
@@ -1,6 +1,8 @@
-import React from 'react';
+import React, {useMemo} from 'react';
import {firebase} from '@react-native-firebase/app-check';
+import {useEnvironment} from '@walmart/core-services/Environment';
import {LoggerCloneProvider} from '@walmart/core-services/Logger';
+import {HttpClientCloneProvider} from '@walmart/allspark-http-client';
import {TextingNavigation} from './navigation';
import {initi18n} from './translations';
@@ -9,6 +11,7 @@ import {SafeAreaProvider} from 'react-native-safe-area-context';
import {analytics} from './logger/Analytics';
import {logger} from './logger/Logger';
import firestore from '@react-native-firebase/firestore';
+import {getHttpConfig, HTTP_CLIENT_KEY} from './services/config';
export const LOGGER_FIELDS = {id: 'myTeam-mini-app'};
@@ -55,12 +58,17 @@ firestore()
});
export const TextingMiniApp = () => {
+ const envConfig = useEnvironment();
+ const httpConfig = useMemo(() => getHttpConfig(envConfig), [envConfig]);
+
return (
<SafeAreaProvider>
<LoggerCloneProvider fields={LOGGER_FIELDS}>
- <ClockedOutScreenGuard>
- <TextingNavigation />
- </ClockedOutScreenGuard>
+ <HttpClientCloneProvider id={HTTP_CLIENT_KEY} config={httpConfig}>
+ <ClockedOutScreenGuard>
+ <TextingNavigation />
+ </ClockedOutScreenGuard>
+ </HttpClientCloneProvider>
</LoggerCloneProvider>
</SafeAreaProvider>
);
--- src/services/config.ts
@@ -1,7 +1,7 @@
import type {EnvConfig} from '@walmart/core-services/Environment';
const miniAppPackage = require('../../package.json');
-export const HTTP_CLIENT_KEY = 'myTeam';
+export const HTTP_CLIENT_KEY = 'texting';
export const getGraphQLConfig = (envConfig: EnvConfig) => {
return {
| Update version | Update version
|
d9d2eafd859acb1f346e85da8a6893d39d285c3b | --- targets/US/package.json
@@ -86,7 +86,7 @@
"@walmart/ask-sam-chat-components": "^0.2.7",
"@walmart/ask-sam-mini-app": "1.24.7",
"@walmart/associate-listening-mini-app": "1.2.7",
- "@walmart/attendance-mini-app": "3.71.0",
+ "@walmart/attendance-mini-app": "3.73.0",
"@walmart/avp-feature-app": "0.10.7",
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.5.20",
--- yarn.lock
@@ -6001,9 +6001,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/attendance-mini-app@npm:3.71.0":
- version: 3.71.0
- resolution: "@walmart/attendance-mini-app@npm:3.71.0"
+"@walmart/attendance-mini-app@npm:3.73.0":
+ version: 3.73.0
+ resolution: "@walmart/attendance-mini-app@npm:3.73.0"
dependencies:
"@walmart/wfm-ui": "npm:^0.2.26"
moment-timezone: "npm:0.5.40"
@@ -6033,7 +6033,7 @@ __metadata:
redux-saga: ^1.2.0
reselect: ^4.1.0
wfm-allspark-data-library: ^3.3.0
- checksum: 10c0/39a130a4684bf38103014a09f7e1ab4871885d1f0e7bc43baa261bf629d95f68b980d1f6e1be5ec097823a10e1e9b66b229c76a568f120d235a95d09318d0a05
+ checksum: 10c0/fa782c09f2bcb10c52cb7007cafed64d721150edac63aec1ec214b070b4558c2d6800da8e5c468203004eb6ce4d503fa1bc61aeb0eb2bc881b9aba87cf763907
languageName: node
linkType: hard
@@ -6993,7 +6993,7 @@ __metadata:
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
"@walmart/ask-sam-mini-app": "npm:1.24.7"
"@walmart/associate-listening-mini-app": "npm:1.2.7"
- "@walmart/attendance-mini-app": "npm:3.71.0"
+ "@walmart/attendance-mini-app": "npm:3.73.0"
"@walmart/avp-feature-app": "npm:0.10.7"
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.5.20"
| bump attendance mini app version | bump attendance mini app version
|
d3a625d90ab6470206a5ed82d770ce080d7a5b7a | --- package-lock.json
@@ -3310,9 +3310,9 @@
"integrity": "sha512-PaVy13mQ/ehDdi+UiSK0Z4DG1iuL4PId2bYlccy1uHj5FEGW/S2tPrPJL/xIEjv3P6XLQnw/C05OObgyq9RY7A=="
},
"@walmart/counts-component-miniapp": {
- "version": "0.0.14",
- "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.14.tgz",
- "integrity": "sha512-y2FCYWn5O/goXpXKnFTe6ACgSHR28/G7w+xBYt/0oEQJNxrXFKcyjr+s6tM2DEfwcfkF+6qh+vjfkXOSPGlESQ=="
+ "version": "0.0.15",
+ "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.0.15.tgz",
+ "integrity": "sha512-EQAXiiNzF4D/LqiAH06fsC9PjtCLgi1XKJhK9wbKf0UPlJvIRruy6lO5mrqVNGo1RdkeuY7Kv/jaQ5bCmOBeUQ=="
},
"@walmart/exception-mini-app": {
"version": "0.28.0",
--- package.json
@@ -69,7 +69,7 @@
"@walmart/allspark-me-mini-app": "0.1.0",
"@walmart/ask-sam-mini-app": "0.30.6",
"@walmart/config-components": "^1.0.26",
- "@walmart/counts-component-miniapp": "0.0.14",
+ "@walmart/counts-component-miniapp": "0.0.15",
"@walmart/exception-mini-app": "0.28.0",
"@walmart/feedback-all-spark-miniapp": "0.0.55",
"@walmart/functional-components": "1.0.30",
| Counts app version update | Counts app version update
|
8f5a225823a947bbc6145854ffcc69f8b8fa6dbb | --- package-lock.json
@@ -4475,9 +4475,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.255.0-rc.1",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.255.0-rc.1.tgz",
- "integrity": "sha512-+b39WK4nOtoUwmFgjBX3NPh1dnXIj/IiJdd1alvEZ5o3/mHjz1MJpDbPlD2/ayHMdKOsvdFb3+P0z9fT0kM77A=="
+ "version": "0.257.0-rc.1",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.257.0-rc.1.tgz",
+ "integrity": "sha512-rDrrlT1+mtQBuir5227IWNo2nBX8R/GNXF7CapsKw4V1QhTjc09TD0RKS74KgqsY23I5YXmf4+ElSRhLinek2w=="
},
"@walmart/time-clock-mini-app": {
"version": "0.4.32",
--- 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.255.0-rc.1",
+ "@walmart/taskit-mini-app": "0.257.0-rc.1",
"@walmart/time-clock-mini-app": "0.4.32",
"@walmart/ui-components": "1.3.0-rc.14",
"@walmart/welcomeme-mini-app": "0.47.0",
| upgrading taskit version | upgrading taskit version
|
16384cf358332369e9ecda697617cb4fbfa490e7 | --- __tests__/harness/firestore/mockDatabase.ts
@@ -0,0 +1,26 @@
+import {mockReactNativeFirestore} from 'firestore-jest-mock';
+
+mockReactNativeFirestore({
+ database: {
+ users: [
+ {id: 'abc123', name: 'Homer Simpson'},
+ {id: 'abc456', name: 'Lisa Simpson'},
+ ],
+ posts: [{id: '123abc', title: 'Really cool title'}],
+ },
+});
+
+const {mockCollection} = require('firestore-jest-mock/mocks/firestore');
+
+test('testing stuff', () => {
+ const {Firestore} = require('@react-native-firebase/firestore');
+ const firestore = new Firestore();
+
+ return firestore
+ .collection('users')
+ .get()
+ .then((userDocs: any) => {
+ expect(mockCollection).toHaveBeenCalledWith('users');
+ expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons');
+ });
+});
--- __tests__/harness/firestore/mockDatabase.ts
@@ -0,0 +1,26 @@
+import {mockReactNativeFirestore} from 'firestore-jest-mock';
+
+mockReactNativeFirestore({
+ database: {
+ users: [
+ {id: 'abc123', name: 'Homer Simpson'},
+ {id: 'abc456', name: 'Lisa Simpson'},
+ ],
+ posts: [{id: '123abc', title: 'Really cool title'}],
+ },
+});
+
+const {mockCollection} = require('firestore-jest-mock/mocks/firestore');
+
+test('testing stuff', () => {
+ const {Firestore} = require('@react-native-firebase/firestore');
+ const firestore = new Firestore();
+
+ return firestore
+ .collection('users')
+ .get()
+ .then((userDocs: any) => {
+ expect(mockCollection).toHaveBeenCalledWith('users');
+ expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons');
+ });
+});
| adding mock db file | adding mock db file
|
1323bb6d81cd9234bedd505ee401f45089cac0cd | --- packages/me-at-walmart-common/src/containers/[Template].ts
@@ -0,0 +1,58 @@
+/**
+ * @file - Template for creating a new container file.
+ * Steps:
+ * 1. Copy this file to a new file in the same directory.
+ * 2. Rename the file to [FeatureName].ts.
+ * 3. Replace all instances of "Feature Name" with the new feature name.
+ * 4. Replace all references to "Container A" with an actual container name.
+ * 5. Add any additional containers as needed.
+ * 6. Add feature container ids to the COMPONENT_CONTAINERS object in index.ts.
+ * 7. Add feature container props map to the ComponentContainerPropsMap type in index.ts.
+ */
+
+// --- Container IDs --- //
+
+/**
+ * Component container ids for feature_name
+ */
+export const FEATURE_NAME_CONTAINERS = {
+ /**
+ * Explain purpose of this container
+ *
+ * Component Typing: ComponentType\<{@link ContainerAComponentProps}\>
+ */
+ CONTAINER_A: 'FEATURE_NAME.CONTAINER_A',
+} as const;
+
+// --- Support Typing --- //
+export type SupportType = {
+ /**
+ * Explain purpose of this type
+ */
+ value: string;
+}
+
+// --- Component Prop Typing --- //
+
+/**
+ * Props provided to components within the feature_name container_A container.
+ */
+export type ContainerAComponentProps = {
+ /**
+ * Explain purpose of this prop
+ */
+ propA: string;
+ /**
+ * Explain purpose of this prop
+ */
+ propB: SupportType;
+};
+
+// --- ID/Type Mapping --- //
+
+/**
+ * Map of feature_name containers to their props.
+ */
+export type FeatureNameContainerPropsMap = {
+ [FEATURE_NAME_CONTAINERS.CONTAINER_A]: ContainerAComponentProps;
+};
| feat: add container template for component container definition | feat: add container template for component container definition
|
349978bc3979c945e5a34eccba5498996c05db0c | --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Components/ShiftFilter/style.ts
@@ -40,7 +40,7 @@ export const ShiftFilterStyles = (selected: boolean) =>
lineHeight: 24,
},
});
-
+//TODO: Update spacing while integrating
export const ShiftFilterListStyles = StyleSheet.create({
container: {
flexDirection: 'row',
| Adding TODO for style spacing | Adding TODO for style spacing
|
68373af9bfc72688d9f6cdbc922f3e9c44e94436 | --- src/navigation/Inbox.tsx
@@ -12,6 +12,7 @@ import {
ShiftSwapWidget,
} from '@walmart/schedule-mini-app';
+// eslint-disable-next-line no-shadow
enum INBOX_WIDGET_NAME {
AMP = 'amp',
LEARNING_NOTIFICATION_WIDGET = 'LearningNotificationWidget',
| dummy commit to start the looper checks | dummy commit to start the looper checks
|
d65d00051c20aaf7846cbbf55ce2894acc965bd9 | --- .looper.yml
@@ -17,11 +17,14 @@ triggers:
name: Publish All
call: publishAll
- manual:
- name: Publish from Package
- call: publishFromPackage
+ name: Publish Patch
+ call: publishPatch
- manual:
- name: Publish from Git
- call: publishFromGit
+ name: Publish Minor
+ call: publishMinor
+ - manual:
+ name: Publish Major
+ call: publishMajor
flows:
default:
@@ -36,6 +39,14 @@ flows:
- (name Install Dependencies) npm install
- (name Build) npm run build
+ publishPatch:
+ - call: preparePublish
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish patch --yes --force-publish
+
+ publishMinor:
+ - call: preparePublish
+ - (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish minor --yes --force-publish
+
publishMajor:
- call: preparePublish
- (name Publish From Changes) HUSKY_SKIP_HOOKS=1 npx lerna publish major --yes --force-publish
| chore: update looper flows | chore: update looper flows
|
8c4ca277897f1409daa159dc6a9fdb38d374794b | --- packages/expo-config-plugins/__tests__/withGradleDependencies.test.ts
@@ -1,4 +1,4 @@
-import withGradleDependencies from '../withGradleDependencies';
+import withGradleDependencies from '../src/withGradleDependencies';
// Mock the expo config plugins
jest.mock('@expo/config-plugins', () => ({
| feat(plugin): allspark-6539 code refactor | feat(plugin): allspark-6539 code refactor
|
5d63ba18d6a5d20ddbce60de8da0f84d3d4b76a8 | --- src/containers/ChatInput/index.tsx
@@ -74,6 +74,7 @@ const styles = StyleSheet.create({
// text input needs to remain rendered or else keyboard loses focus
inputHidden: {
display: 'none',
+ paddingLeft: 18,
},
sendButtonImage: {
height: 13,
--- src/containers/ChatInput/index.tsx
@@ -74,6 +74,7 @@ const styles = StyleSheet.create({
// text input needs to remain rendered or else keyboard loses focus
inputHidden: {
display: 'none',
+ paddingLeft: 18,
},
sendButtonImage: {
height: 13,
| SMDV-4538: Fixing text input boundray issue | SMDV-4538: Fixing text input boundray issue
|
185c095e3a914520c904bb7293d2757962719288 | --- package.json
@@ -73,7 +73,6 @@
"@react-navigation/stack": "^6.1.0",
"@sharcoux/slider": "^6.1.1",
"@terrylinla/react-native-sketch-canvas": "0.8.0",
- "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/allspark-health-survey-mini-app": "0.0.44",
"@walmart/allspark-home-mini-app": "0.6.12",
"@walmart/allspark-neon-core": "0.1.31",
@@ -103,6 +102,7 @@
"@walmart/metrics-mini-app": "0.9.33",
"@walmart/mod-flex-mini-app": "1.2.7",
"@walmart/moment-walmart": "1.0.4",
+ "@walmart/OneWalmart-MiniApp": "1.0.12",
"@walmart/pay-stub-miniapp": "0.9.7",
"@walmart/payrollsolution_miniapp": "0.130.4",
"@walmart/price-changes-mini-app": "1.5.6",
| revert unintended change | revert unintended change
|
0682a8e697098f0c65a6517acb0af66485b508ed | --- package-lock.json
@@ -9189,9 +9189,9 @@
"integrity": "sha512-Ls9qiNZzW/OLFoI25wfjjAcrf2DZ975hn2vr6U9gyuxi2nooVbzQeFoQS5vQcbCt9QX5NY8ASEEAtlLdIa6KVg=="
},
"react-native-ssmp-sso-allspark": {
- "version": "0.0.1-rc8",
- "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz",
- "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg=="
+ "version": "0.0.1",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1.tgz",
+ "integrity": "sha512-36ec8XVQEYQiBN4ooxpMciWBmTGAV8kevp/PGUeu302eY0S98r4RJew9SGB0JbDdi17W+HEvGpbsQUJcZbglNw=="
},
"react-native-sumo-sdk": {
"version": "2.7.1",
@@ -11576,6 +11576,11 @@
"version": "2.24.0",
"resolved": "https://npme.walmart.com/moment/-/moment-2.24.0.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
+ },
+ "react-native-ssmp-sso-allspark": {
+ "version": "0.0.1-rc8",
+ "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz",
+ "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg=="
}
}
},
--- package.json
@@ -79,7 +79,7 @@
"react-native-screens": "^2.10.1",
"react-native-sha256": "^1.3.6",
"react-native-splash-screen": "^3.2.0",
- "react-native-ssmp-sso-allspark": "^0.0.1-rc8",
+ "react-native-ssmp-sso-allspark": "0.0.1",
"react-native-sumo-sdk": "^2.7.1",
"react-native-svg": "^12.1.0",
"react-native-tab-view": "^2.15.2",
| updating sso version (#154) | updating sso version (#154)
|
820bf0e6a813c846d26f480ad2c250a6e162e004 | --- package-lock.json
@@ -65,7 +65,7 @@
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.141.0",
+ "@walmart/profile-feature-app": "0.142.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
@@ -5693,9 +5693,9 @@
}
},
"node_modules/@walmart/profile-feature-app": {
- "version": "0.141.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.141.0.tgz",
- "integrity": "sha512-Dle9ErvRJBPy33KJGxQR7xj/GuxVRNNGHhiZK49bBOebq9khK4OXE3ldmxRQfmd9faG0PYl5gwDm/zOhj+dUpA==",
+ "version": "0.142.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.142.0.tgz",
+ "integrity": "sha512-zOFBHL077CoKvJgEljA0pO3QMfRnXy+474GCaaVrvs+XiQMX29BX9FR39r9P8UVsFjqvKceIRZJNZXQ770tA8A==",
"hasInstallScript": true,
"peerDependencies": {
"@react-navigation/bottom-tabs": "^6.0.0",
@@ -25323,9 +25323,9 @@
"integrity": "sha512-TIzjXjT8jlsb/OrY7WPr4xUv5RsCsnNN0wwjawIwOHurrZtrFn8f/WjwkY8e6zUC3AlZ4QsHdaKqCD/pfkgGPg=="
},
"@walmart/profile-feature-app": {
- "version": "0.141.0",
- "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.141.0.tgz",
- "integrity": "sha512-Dle9ErvRJBPy33KJGxQR7xj/GuxVRNNGHhiZK49bBOebq9khK4OXE3ldmxRQfmd9faG0PYl5gwDm/zOhj+dUpA=="
+ "version": "0.142.0",
+ "resolved": "https://npme.walmart.com/@walmart/profile-feature-app/-/profile-feature-app-0.142.0.tgz",
+ "integrity": "sha512-zOFBHL077CoKvJgEljA0pO3QMfRnXy+474GCaaVrvs+XiQMX29BX9FR39r9P8UVsFjqvKceIRZJNZXQ770tA8A=="
},
"@walmart/push-to-talk-mini-app": {
"version": "1.8.59",
--- package.json
@@ -107,7 +107,7 @@
"@walmart/pay-stub-miniapp": "0.9.21",
"@walmart/payrollsolution_miniapp": "0.130.23",
"@walmart/price-changes-mini-app": "1.6.10",
- "@walmart/profile-feature-app": "0.141.0",
+ "@walmart/profile-feature-app": "0.142.0",
"@walmart/push-to-talk-mini-app": "1.8.59",
"@walmart/react-native-encrypted-storage": "1.1.3",
"@walmart/react-native-env": "0.2.0",
| Bump profile-feature-app to 0.142.0 | Bump profile-feature-app to 0.142.0
|
b7eddd18c500e9591b4f34443222836cf160de28 | --- packages/allspark-app-auth/src/appAuth.ts
@@ -0,0 +1,21 @@
+import { addProxyMethod } from '@walmart/allspark-utils';
+import { signIn } from './signIn';
+import { signOut } from './signOut';
+import { getUser } from './getUser';
+import { refreshToken } from './refreshToken';
+import { addEventListener } from './listeners';
+import { setEnvironment, setRefreshConfig } from './utils';
+
+const BaseAppAuth = {
+ signIn,
+ signOut,
+ getUser,
+ refreshToken,
+ setEnvironment,
+ setRefreshConfig,
+ addEventListener,
+};
+
+export const AppAuth = addProxyMethod(BaseAppAuth);
+
+export type IAppAuth = typeof AppAuth;
--- packages/allspark-app-auth/src/context.tsx
@@ -0,0 +1,40 @@
+import React, {
+ createContext,
+ PropsWithChildren,
+ useContext,
+ useEffect,
+} from 'react';
+import { AppAuth, IAppAuth } from './appAuth';
+
+export const AuthContext = createContext<IAppAuth>(AppAuth);
+
+export const useAuth = () => {
+ const context = useContext(AuthContext);
+ if (!context) {
+ throw new Error('useAuth must be used within an AuthProvider');
+ }
+ return context;
+};
+
+/**
+ * @description Sets up the Auth context. Optional proxy prop to
+ * override or extend instance methods.
+ */
+export const AuthProvider = (
+ props: PropsWithChildren<{
+ proxy?: Partial<IAppAuth>;
+ }>
+) => {
+ const { proxy, children } = props;
+
+ useEffect(() => {
+ if (proxy) {
+ AppAuth.proxy(proxy);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ return (
+ <AuthContext.Provider value={AppAuth}>{children}</AuthContext.Provider>
+ );
+};
--- packages/allspark-app-auth/src/index.ts
@@ -1,38 +1,23 @@
-import { addProxyMethod } from '@walmart/allspark-utils';
-import { signIn } from './signIn';
-import { signOut } from './signOut';
-import { getUser } from './getUser';
-import { refreshToken } from './refreshToken';
import {
- addEventListener,
AuthEvents,
AuthEvent,
AuthEventListener,
AuthEventPayload,
} from './listeners';
-import { setEnvironment, setRefreshConfig } from './utils';
import { AuthError, AuthResult } from './types';
+import { AppAuth, IAppAuth } from './appAuth';
export { AuthEvents };
+
+export * from './context';
+
export type {
AuthEvent,
AuthEventListener,
AuthEventPayload,
AuthError,
AuthResult,
+ IAppAuth,
};
-const BaseAppAuth = {
- signIn,
- signOut,
- getUser,
- refreshToken,
- setEnvironment,
- setRefreshConfig,
- addEventListener,
-};
-
-const AppAuth = addProxyMethod(BaseAppAuth);
-
export default AppAuth;
-export type IAppAuth = typeof AppAuth;
| feat: add context to app auth | feat: add context to app auth
|
20114e34c68f945dfa6df8500867649bd7db287b | --- packages/allspark-foundation/src/Auth/AuthManager.ts
@@ -188,4 +188,4 @@ export class AuthManager implements IAuthManager {
throw error;
}
}
-}
\ No newline at end of file
+}
--- packages/allspark-foundation/src/Auth/AuthServiceFacade.ts
@@ -41,7 +41,7 @@ export class AuthServiceFacade implements ServiceFacade<IAuthService> {
if (!this._fallbackWarningShown) {
console.warn(
`AuthServiceFacade.${method}: No service bound yet, using fallback behavior. ` +
- 'This may indicate that the container has not been properly initialized.'
+ 'This may indicate that the container has not been properly initialized.'
);
this._fallbackWarningShown = true;
}
@@ -61,7 +61,7 @@ export class AuthServiceFacade implements ServiceFacade<IAuthService> {
this._showFallbackWarning('signIn');
throw new Error(
'AuthServiceFacade.signIn: No auth service implementation bound. ' +
- 'Please ensure the container is properly initialized with an auth service.'
+ 'Please ensure the container is properly initialized with an auth service.'
);
}
@@ -78,7 +78,7 @@ export class AuthServiceFacade implements ServiceFacade<IAuthService> {
this._showFallbackWarning('signOut');
throw new Error(
'AuthServiceFacade.signOut: No auth service implementation bound. ' +
- 'Please ensure the container is properly initialized with an auth service.'
+ 'Please ensure the container is properly initialized with an auth service.'
);
}
@@ -95,7 +95,7 @@ export class AuthServiceFacade implements ServiceFacade<IAuthService> {
this._showFallbackWarning('getUser');
throw new Error(
'AuthServiceFacade.getUser: No auth service implementation bound. ' +
- 'Please ensure the container is properly initialized with an auth service.'
+ 'Please ensure the container is properly initialized with an auth service.'
);
}
@@ -112,7 +112,7 @@ export class AuthServiceFacade implements ServiceFacade<IAuthService> {
this._showFallbackWarning('refreshToken');
throw new Error(
'AuthServiceFacade.refreshToken: No auth service implementation bound. ' +
- 'Please ensure the container is properly initialized with an auth service.'
+ 'Please ensure the container is properly initialized with an auth service.'
);
}
}
--- packages/allspark-foundation/src/Auth/types.ts
@@ -18,13 +18,13 @@ export type ServiceConfiguration = {
*/
export type BaseConfiguration =
| {
- issuer?: string;
- serviceConfiguration: ServiceConfiguration;
- }
+ issuer?: string;
+ serviceConfiguration: ServiceConfiguration;
+ }
| {
- issuer: string;
- serviceConfiguration?: ServiceConfiguration;
- };
+ issuer: string;
+ serviceConfiguration?: ServiceConfiguration;
+ };
/**
* Configuration options for authentication.
--- packages/allspark-foundation/src/Core/types.ts
@@ -12,7 +12,7 @@ export type ComponentPropListBase = {
declare global {
namespace Allspark {
- interface Environment extends BaseAllsparkEnvironment { }
+ interface Environment extends BaseAllsparkEnvironment {}
// Each module will augment this interface with its own slice type
interface ReduxState {
@@ -23,31 +23,31 @@ declare global {
* Map of all Redux actions per module.
* Modules should augment this interface with their own actions.
*/
- interface ReduxActions { }
+ interface ReduxActions {}
/**
* Union type of all actions in the Allspark Redux store.
*/
type ReduxAction = ReduxActions[keyof ReduxActions];
- interface ScreenParams extends ParamListBase { }
- interface RootParamList extends ParamListBase { }
+ interface ScreenParams extends ParamListBase {}
+ interface RootParamList extends ParamListBase {}
- interface ModalParams extends BaseModalParams { }
+ interface ModalParams extends BaseModalParams {}
- interface ComponentContainers extends ComponentPropListBase { }
+ interface ComponentContainers extends ComponentPropListBase {}
type ContainerComponentProps<K extends keyof ComponentContainers> =
ComponentContainers[K];
- interface DynamicComponents extends ComponentPropListBase { }
- interface SharedComponents extends ComponentPropListBase { }
+ interface DynamicComponents extends ComponentPropListBase {}
+ interface SharedComponents extends ComponentPropListBase {}
- interface Workflows extends BaseWorkflows { }
+ interface Workflows extends BaseWorkflows {}
}
namespace ReactNavigation {
- interface RootParamList extends Allspark.RootParamList { }
+ interface RootParamList extends Allspark.RootParamList {}
}
}
-export { };
+export {};
--- packages/allspark-foundation/src/Feature/AllsparkFeatureModule.tsx
@@ -661,11 +661,11 @@ export class AllsparkFeatureModule<
// Calculate success rate
allSucceeded
? console.log(
- `AllsparkFeature ${this.id} all images prefetched successfully.`
- )
+ `AllsparkFeature ${this.id} all images prefetched successfully.`
+ )
: console.log(
- `AllsparkFeature ${this.id} some image(s) prefetch failed.`
- );
+ `AllsparkFeature ${this.id} some image(s) prefetch failed.`
+ );
} catch (error) {
console.log(`Error prefetching images for ${this.id}: ${error}`);
}
--- packages/allspark-foundation/src/Redux/middleware.ts
@@ -19,7 +19,7 @@ export class DynamicMiddleware<State extends any = any> {
/**
* Creates a new DynamicMiddleware instance.
*/
- constructor() { }
+ constructor() {}
/**
* Middleware enhancer to be added to a Redux store.
--- packages/allspark-foundation/src/Redux/types.ts
@@ -14,7 +14,10 @@ import {
UnsubscribeListener,
} from '@reduxjs/toolkit';
import { Saga, Task } from 'redux-saga';
-import { InferActionType as InferActionTypeUtil, InferActionTypes as InferActionTypesUtil } from '../utils';
+import {
+ InferActionType as InferActionTypeUtil,
+ InferActionTypes as InferActionTypesUtil,
+} from '../utils';
/**
* Configuration object for the Redux store manager.
--- packages/allspark-foundation/src/Redux/utils.ts
@@ -46,11 +46,11 @@ export const generateSelectorsForSlice = <S extends Slice>(
Allspark.ReduxState,
ReturnType<S['getInitialState']>
> = parent
- ? createSelector(
+ ? createSelector(
[(s: { [x: string]: ReturnType<S['getInitialState']> }) => s[parent]],
getSlice
)
- : getSlice;
+ : getSlice;
const dynamicSelectors = Object.keys(slice.getInitialState()).reduce(
(selectors, field) => {
@@ -63,7 +63,7 @@ export const generateSelectorsForSlice = <S extends Slice>(
{} as {
[K in keyof ReturnType<
S['getInitialState']
- // @ts-ignore
+ // @ts-ignore
> as `get${Capitalize<K>}`]: Selector<
Allspark.ReduxState,
ReturnType<S['getInitialState']>[K]
@@ -135,8 +135,8 @@ export const generateSubSelectors = <
Allspark.ReduxState,
//@ts-ignore
T extends undefined | null
- ? NonNullable<T>[k] | undefined
- : NonNullable<T>[k]
+ ? NonNullable<T>[k] | undefined
+ : NonNullable<T>[k]
>;
}>
);
@@ -168,7 +168,7 @@ export const generateActionTypes = <S extends Slice>(slice: S) => {
},
{} as {
//@ts-ignore
- [K in keyof S['actions']as Capitalize<K>]: S['actions'][K]['type'];
+ [K in keyof S['actions'] as Capitalize<K>]: S['actions'][K]['type'];
}
);
};
--- packages/allspark-foundation/src/utils/types.ts
@@ -63,5 +63,5 @@ export type InferActionTypes<
ActionCreatorWithPayload<any> | ActionCreatorWithoutPayload
>,
> = {
- [k in keyof T]: InferActionType<T[k]>;
- };
+ [k in keyof T]: InferActionType<T[k]>;
+};
| chore: lint fixes | chore: lint fixes
|
b511732db3494c90683edf2376c06610812e9d34 | --- packages/expo-config-plugins/src/index.ts
@@ -44,6 +44,7 @@ export default function getPlugins(additionalPlugins?: additionalPlugins[]) {
],
moduleBasePath + 'withJetifier',
moduleBasePath + 'withGifQuerySupport',
+ moduleBasePath + 'withStoreAgentSupport',
moduleBasePath + 'withInAppBrowserReborn',
[
moduleBasePath + 'withJvmArgs',
@@ -105,6 +106,7 @@ export const withCompassSDK = moduleBasePath + 'withCompassSDK';
export const withCopeKeyListener = moduleBasePath + 'withCopeKeyListener';
export const withDevelopmentTeam = moduleBasePath + 'withDevelopmentTeam';
export const withGifQuerySupport = moduleBasePath + 'withGifQuerySupport';
+export const withStoreAgentSupport = moduleBasePath + 'withStoreAgentSupport';
export const withInAppBrowserReborn = moduleBasePath + 'withInAppBrowserReborn';
export const withJvmArgs = moduleBasePath + 'withJvmArgs';
export const withJetifier = moduleBasePath + 'withJetifier';
--- packages/expo-config-plugins/src/withStoreAgentSupport.ts
@@ -0,0 +1,65 @@
+import {
+ ConfigPlugin,
+ withAndroidManifest,
+ withInfoPlist,
+} from "@expo/config-plugins";
+
+export const withStoreAgentSupport: ConfigPlugin = (config) => {
+ // Add Query to Android Manifest
+ config = withAndroidManifest(config, (config) => {
+ config.modResults.manifest.queries.push({
+ package: [
+ {
+ $: {
+ "android:name": "com.walmart.storeai",
+ },
+ },
+ {
+ $: {
+ "android:name": "com.walmart.spark.storeagent",
+ },
+ },
+ ],
+ intent: [
+ {
+ action: [
+ {
+ $: {
+ "android:name": "android.intent.action.VIEW",
+ },
+ },
+ ],
+ category: [
+ {
+ $: {
+ "android:name": "android.intent.category.BROWSABLE",
+ },
+ },
+ ],
+ data: [
+ {
+ $: {
+ "android:scheme": "mywmexp://",
+ },
+ },
+ ],
+ },
+ ],
+ });
+
+ return config;
+ });
+
+ // Add Query Scheme to Info Plist
+ config = withInfoPlist(config, (config) => {
+ if (config.modResults.LSApplicationQueriesSchemes) {
+ config.modResults.LSApplicationQueriesSchemes?.push("mywmexp");
+ } else {
+ config.modResults.LSApplicationQueriesSchemes = ["mywmexp"];
+ }
+ return config;
+ });
+ return config;
+};
+
+export default withStoreAgentSupport;
| chore(store-agent): added store agent plugin | chore(store-agent): added store agent plugin
|
55ab7f915293c7a28d8bf0f4336d0347bce8eace | --- package-lock.json
@@ -4356,9 +4356,9 @@
}
},
"@walmart/payrollsolution_miniapp": {
- "version": "0.109.0",
- "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.109.0.tgz",
- "integrity": "sha512-M6VwdD2gFYI7C54qGJYbBQ3FEja5ZTtoRC/oMg80PfEFWxuLip0dTmde/zfeYQXWyr7Lgvvwalcn6GAnUqKDDQ=="
+ "version": "0.116.0",
+ "resolved": "https://npme.walmart.com/@walmart/payrollsolution_miniapp/-/payrollsolution_miniapp-0.116.0.tgz",
+ "integrity": "sha512-edPLAoKl4cOWyYkx/UXQjtXRyGQPOsGRMGbV6ycQ82QDooEGYwPaouBR+bBTCFXIgIwDqtxXpVynzM2H3pmk1g=="
},
"@walmart/price-changes-mini-app": {
"version": "1.2.1",
@@ -4552,9 +4552,9 @@
}
},
"@walmart/welcomeme-mini-app": {
- "version": "0.54.0",
- "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.54.0.tgz",
- "integrity": "sha512-6ZVxXOwXp4N2/TRY7n7Fp6W0/mjw0urnOgBPF3rYr3wZaTCLmy9K9yuXvD6nxzXUIW+oqvJC7DWri6kzT2GnNQ=="
+ "version": "0.55.0",
+ "resolved": "https://npme.walmart.com/@walmart/welcomeme-mini-app/-/welcomeme-mini-app-0.55.0.tgz",
+ "integrity": "sha512-Aas3lUKjHf3Tis6fBK7CaXAyxAH+kkcjSY6Bjvj8z0ylVoPbJh5BIJOB4c7UivXqC+c8y3j8HJ/7jmq9T2ZitA=="
},
"@walmart/wfm-ui": {
"version": "0.2.11",
--- package.json
@@ -89,7 +89,7 @@
"@walmart/manager-approvals-miniapp": "0.0.59",
"@walmart/metrics-mini-app": "0.7.65",
"@walmart/moment-walmart": "1.0.4",
- "@walmart/payrollsolution_miniapp": "0.109.0",
+ "@walmart/payrollsolution_miniapp": "0.116.0",
"@walmart/price-changes-mini-app": "1.2.1",
"@walmart/push-to-talk-mini-app": "0.5.124",
"@walmart/react-native-env": "^0.2.0",
@@ -104,7 +104,7 @@
"@walmart/taskit-mini-app": "0.18.0",
"@walmart/time-clock-mini-app": "0.5.1",
"@walmart/ui-components": "1.4.0-rc.0",
- "@walmart/welcomeme-mini-app": "0.54.0",
+ "@walmart/welcomeme-mini-app": "0.55.0",
"@walmart/wfm-ui": "0.2.11",
"axios-cache-adapter": "2.7.3",
"crypto-js": "^3.3.0",
| build: welcomeME v0.55.0 | build: welcomeME v0.55.0
|
c89e64be5cf7c77ee69fc03238824fb204df3fb8 | --- README.md
@@ -19,10 +19,6 @@ Default **GraphQL** library for Allspark framework.
Default **HTTP** library for Allspark framework.
-#### [@walmart/allspark-http-client](https://gecgithub01.walmart.com/allspark/allspark/tree/main/packages/allspark-http-client)
-
-Default **HTTP** library for Allspark framework.
-
#### [@walmart/allspark-redux-store](https://gecgithub01.walmart.com/allspark/allspark/tree/main/packages/allspark-redux-store)
Default **Redux** library for Allspark framework. (**WIP**)
| Update README.md | Update README.md |
adf2a5e9fdff7d086884318a8faf52c2484ed0e2 | --- src/screens/MessagesScreen.tsx
@@ -9,7 +9,7 @@ import {getNetworkState} from '@walmart/core-services/Network/selectors';
import {Body, Spinner, colors} from '@walmart/gtp-shared-components';
import {SiteSelectors} from '@walmart/redux-store';
import {capitalize, find, isEmpty, isNil} from 'lodash';
-import React, {FC, PropsWithChildren, useEffect, useRef, useState} from 'react';
+import React, {FC, useEffect, useRef, useState} from 'react';
import {
FlatList,
KeyboardAvoidingView,
@@ -20,7 +20,6 @@ import {
} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
import {useSelector} from 'react-redux';
-import {AudioPlayerContext} from '../channels/context';
import {useChannelData, useChannelDocument} from '../channels/hooks';
import {getChannelIdFromChannelPath} from '../channels/transforms';
import {MessageTimeSectionHeader, MessagesHeader} from '../components';
@@ -85,16 +84,6 @@ export type MessagesScreenProps = {
route: RouteProp<TextingNavParamsMap, 'myTeam.messages'>;
};
-const AudioPlayerProvider = ({children}: PropsWithChildren<{}>) => {
- const [currentPlaying, setCurrentPlaying] = useState<string | null>(null);
- const providerValue = {currentPlaying, setCurrentPlaying};
- return (
- <AudioPlayerContext.Provider value={providerValue}>
- {children}
- </AudioPlayerContext.Provider>
- );
-};
-
export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
/**
* props and route
@@ -393,38 +382,36 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
*/
return (
- <AudioPlayerProvider>
- <View style={styles.container}>
- <MessagesHeader channelId={channelPath} />
-
- <KeyboardAvoidingView
- style={styles.keyboardAvoidView}
- behavior={Platform.OS === 'android' ? undefined : 'padding'}
- keyboardVerticalOffset={Platform.OS === 'android' ? top : iosPadding}>
- {!isLoading && !messages.length && <ListEmptyComponent />}
- {isLoading && isEmpty(messages) && <Spinner />}
- {!isConnected && <ErrorComponent />}
- <FlatList
- inverted={true}
- data={messages}
- renderItem={renderItem}
- onEndReachedThreshold={0.2}
- onEndReached={onEndReached}
- showsVerticalScrollIndicator={false}
- contentContainerStyle={styles.messageList}
- />
- <ChatInput
- onSend={onMessageSend}
- disabled={
- rosterLoading ||
- !isMessageButtonEnabled ||
- !userIsInRoster ||
- !userIsImpersonatedOnDev
- }
- channelId={channelPath}
- />
- </KeyboardAvoidingView>
- </View>
- </AudioPlayerProvider>
+ <View style={styles.container}>
+ <MessagesHeader channelId={channelPath} />
+
+ <KeyboardAvoidingView
+ style={styles.keyboardAvoidView}
+ behavior={Platform.OS === 'android' ? undefined : 'padding'}
+ keyboardVerticalOffset={Platform.OS === 'android' ? top : iosPadding}>
+ {!isLoading && !messages.length && <ListEmptyComponent />}
+ {isLoading && isEmpty(messages) && <Spinner />}
+ {!isConnected && <ErrorComponent />}
+ <FlatList
+ inverted={true}
+ data={messages}
+ renderItem={renderItem}
+ onEndReachedThreshold={0.2}
+ onEndReached={onEndReached}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={styles.messageList}
+ />
+ <ChatInput
+ onSend={onMessageSend}
+ disabled={
+ rosterLoading ||
+ !isMessageButtonEnabled ||
+ !userIsInRoster ||
+ !userIsImpersonatedOnDev
+ }
+ channelId={channelPath}
+ />
+ </KeyboardAvoidingView>
+ </View>
);
};
--- src/screens/MessagesScreen.tsx
@@ -9,7 +9,7 @@ import {getNetworkState} from '@walmart/core-services/Network/selectors';
import {Body, Spinner, colors} from '@walmart/gtp-shared-components';
import {SiteSelectors} from '@walmart/redux-store';
import {capitalize, find, isEmpty, isNil} from 'lodash';
-import React, {FC, PropsWithChildren, useEffect, useRef, useState} from 'react';
+import React, {FC, useEffect, useRef, useState} from 'react';
import {
FlatList,
KeyboardAvoidingView,
@@ -20,7 +20,6 @@ import {
} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
import {useSelector} from 'react-redux';
-import {AudioPlayerContext} from '../channels/context';
import {useChannelData, useChannelDocument} from '../channels/hooks';
import {getChannelIdFromChannelPath} from '../channels/transforms';
import {MessageTimeSectionHeader, MessagesHeader} from '../components';
@@ -85,16 +84,6 @@ export type MessagesScreenProps = {
route: RouteProp<TextingNavParamsMap, 'myTeam.messages'>;
};
-const AudioPlayerProvider = ({children}: PropsWithChildren<{}>) => {
- const [currentPlaying, setCurrentPlaying] = useState<string | null>(null);
- const providerValue = {currentPlaying, setCurrentPlaying};
- return (
- <AudioPlayerContext.Provider value={providerValue}>
- {children}
- </AudioPlayerContext.Provider>
- );
-};
-
export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
/**
* props and route
@@ -393,38 +382,36 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => {
*/
return (
- <AudioPlayerProvider>
- <View style={styles.container}>
- <MessagesHeader channelId={channelPath} />
-
- <KeyboardAvoidingView
- style={styles.keyboardAvoidView}
- behavior={Platform.OS === 'android' ? undefined : 'padding'}
- keyboardVerticalOffset={Platform.OS === 'android' ? top : iosPadding}>
- {!isLoading && !messages.length && <ListEmptyComponent />}
- {isLoading && isEmpty(messages) && <Spinner />}
- {!isConnected && <ErrorComponent />}
- <FlatList
- inverted={true}
- data={messages}
- renderItem={renderItem}
- onEndReachedThreshold={0.2}
- onEndReached={onEndReached}
- showsVerticalScrollIndicator={false}
- contentContainerStyle={styles.messageList}
- />
- <ChatInput
- onSend={onMessageSend}
- disabled={
- rosterLoading ||
- !isMessageButtonEnabled ||
- !userIsInRoster ||
- !userIsImpersonatedOnDev
- }
- channelId={channelPath}
- />
- </KeyboardAvoidingView>
- </View>
- </AudioPlayerProvider>
+ <View style={styles.container}>
+ <MessagesHeader channelId={channelPath} />
+
+ <KeyboardAvoidingView
+ style={styles.keyboardAvoidView}
+ behavior={Platform.OS === 'android' ? undefined : 'padding'}
+ keyboardVerticalOffset={Platform.OS === 'android' ? top : iosPadding}>
+ {!isLoading && !messages.length && <ListEmptyComponent />}
+ {isLoading && isEmpty(messages) && <Spinner />}
+ {!isConnected && <ErrorComponent />}
+ <FlatList
+ inverted={true}
+ data={messages}
+ renderItem={renderItem}
+ onEndReachedThreshold={0.2}
+ onEndReached={onEndReached}
+ showsVerticalScrollIndicator={false}
+ contentContainerStyle={styles.messageList}
+ />
+ <ChatInput
+ onSend={onMessageSend}
+ disabled={
+ rosterLoading ||
+ !isMessageButtonEnabled ||
+ !userIsInRoster ||
+ !userIsImpersonatedOnDev
+ }
+ channelId={channelPath}
+ />
+ </KeyboardAvoidingView>
+ </View>
);
};
| removing audioPlayerContext from this PR | removing audioPlayerContext from this PR
|
bd983fa55b7b0f66819b474dd8474ff957357009 | --- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -60,7 +60,7 @@ import {Associate, Team} from '../../../types';
import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components';
import {RosterDisabledScreen} from '../../../components/RosterDisabled';
import {RosterDetailScreenProps} from './types';
-import {SiteSelectors} from '@walmart/allspark-foundation';
+import {SiteSelectors} from '@walmart/allspark-foundation/Site';
//Todo: Refactor some functionalities in this component
export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
| fix: module correct | fix: module correct
|
10f29ade761bc3e74a429cf39f12ef813c6abe5f | --- .eslintrc.js
@@ -1,6 +1,6 @@
module.exports = {
extends: ['expo'],
- ignorePatterns: ['/dist','__tests__/__mocks__/**', 'src/allspark-extention.types.ts', 'src/index.tsx'],
+ ignorePatterns: ['/dist','__tests__/__mocks__/**', 'src/allspark-extention.types.ts', 'src/index.tsx', 'src/queries/**'],
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
| fix(lint): add auto-generated queries to eslint ignore patterns | fix(lint): add auto-generated queries to eslint ignore patterns
|
b10e2c22847419c5fbbc62e55014241d25e79904 | --- package-lock.json
@@ -46,7 +46,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.17.0",
"@walmart/exception-mini-app": "1.0.16",
- "@walmart/facilities-management-miniapp": "0.5.21",
+ "@walmart/facilities-management-miniapp": "0.5.22",
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
@@ -76,12 +76,11 @@
"@walmart/react-native-sumo-sdk": "2.5.0",
"@walmart/receipt-check-miniapp": "1.9.4",
"@walmart/redux-store": "3.1.3",
- "@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
- "@walmart/taskit-mini-app": "0.49.6",
+ "@walmart/taskit-mini-app": "0.49.11",
"@walmart/time-clock-mini-app": "0.30.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.73.0",
@@ -5108,9 +5107,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.5.21",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.21.tgz",
- "integrity": "sha512-e80iTeFeeY5lzVwM+F2osAQ99t6f5OzrbcPpG3VOC79PJxJj/b5y9Woq3qmY+/kCePbEexvPqzvC11+h9BlI+Q==",
+ "version": "0.5.22",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.22.tgz",
+ "integrity": "sha512-z7B4XGtpTX3jLW0gmMVCl7Di7mhDrPftH7f3tO9eketSsbTl0wvBLxEwqE3wcZCHji95ATrYgJb2zECTNTCapQ==",
"hasInstallScript": true,
"peerDependencies": {
"@react-native-community/async-storage": "^1.12.1",
@@ -5935,23 +5934,6 @@
"reselect": ">=4.1.5"
}
},
- "node_modules/@walmart/refrigeration-alarms-mini-app": {
- "version": "1.35.0",
- "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.35.0.tgz",
- "integrity": "sha512-YRNp3VcfzWTyDZt6h5hAUK5XTzUrblOZOWUclor4ht/g4E5Oo2sMF8rV5swXlB3QdSQUZwSsU60b01veuR3o6g==",
- "peerDependencies": {
- "@walmart/core-services": "^0.1.27",
- "@walmart/functional-components": "^1.0.27",
- "@walmart/gtp-shared-components": "^0.2.2",
- "@walmart/react-native-logger": "^1.9.0",
- "@walmart/react-native-shared-navigation": "^0.2.0",
- "@walmart/redux-store": "^1.0.12",
- "react": "^16.13.1",
- "react-native-encrypted-storage": "^4.0.2",
- "react-native-wm-telemetry": "^0.3.0",
- "react-redux": "^7.2.1"
- }
- },
"node_modules/@walmart/returns-mini-app": {
"version": "0.6.0",
"resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.6.0.tgz",
@@ -6137,9 +6119,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "0.49.6",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.6.tgz",
- "integrity": "sha512-uIOdjSxp9dB/x036dC8bnRom0hkr+FqvXT0GdrX69M+dVEV0rrHGARrBOVqQZIN1U2tg/EhyDh3Et1avL+ZJLw==",
+ "version": "0.49.11",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.11.tgz",
+ "integrity": "sha512-D0Oi1XUgIvxIVjQL2wl0nyeTJr0Sqcvtezbag3ZG0tMlwxGJMXNB2PvkQ5n8JBuAV1YRlggsGtIp+yLz+slgCQ==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25222,9 +25204,9 @@
"integrity": "sha512-mzesUeNPUwAWFUrFs6104aZ3NCM5eXa2uD8TrjL+BV+ZVgYG/A58k1xUUxNayw26w7Z41J7m4bxA9ctgNiNVMQ=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.5.21",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.21.tgz",
- "integrity": "sha512-e80iTeFeeY5lzVwM+F2osAQ99t6f5OzrbcPpG3VOC79PJxJj/b5y9Woq3qmY+/kCePbEexvPqzvC11+h9BlI+Q=="
+ "version": "0.5.22",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.22.tgz",
+ "integrity": "sha512-z7B4XGtpTX3jLW0gmMVCl7Di7mhDrPftH7f3tO9eketSsbTl0wvBLxEwqE3wcZCHji95ATrYgJb2zECTNTCapQ=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.9",
@@ -25467,11 +25449,6 @@
"reduxsauce": "^1.2.1"
}
},
- "@walmart/refrigeration-alarms-mini-app": {
- "version": "1.35.0",
- "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.35.0.tgz",
- "integrity": "sha512-YRNp3VcfzWTyDZt6h5hAUK5XTzUrblOZOWUclor4ht/g4E5Oo2sMF8rV5swXlB3QdSQUZwSsU60b01veuR3o6g=="
- },
"@walmart/returns-mini-app": {
"version": "0.6.0",
"resolved": "https://npme.walmart.com/@walmart/returns-mini-app/-/returns-mini-app-0.6.0.tgz",
--- package.json
@@ -88,7 +88,7 @@
"@walmart/counts-component-miniapp": "0.1.2",
"@walmart/emergency-mini-app": "1.17.0",
"@walmart/exception-mini-app": "1.0.16",
- "@walmart/facilities-management-miniapp": "0.5.21",
+ "@walmart/facilities-management-miniapp": "0.5.22",
"@walmart/feedback-all-spark-miniapp": "0.9.9",
"@walmart/financial-wellbeing-feature-app": "1.1.2",
"@walmart/functional-components": "2.0.6",
@@ -118,7 +118,6 @@
"@walmart/react-native-sumo-sdk": "2.5.0",
"@walmart/receipt-check-miniapp": "1.9.4",
"@walmart/redux-store": "3.1.3",
- "@walmart/refrigeration-alarms-mini-app": "1.35.0",
"@walmart/returns-mini-app": "0.6.0",
"@walmart/schedule-mini-app": "0.29.0",
"@walmart/settings-mini-app": "1.12.0",
--- patches/@walmart+facilities-management-miniapp+0.5.22.patch
| Version bump; Removed @walmart/refrigeration-alarms-mini-app; | Version bump; Removed @walmart/refrigeration-alarms-mini-app;
|
ab863956ef15c64235cc306d57004c77f7a2fb77 | --- __tests__/auth/__snapshots__/AuthenticatorViewTest.tsx.snap
@@ -50,6 +50,7 @@ exports[`AuthenticatorView renders error 1`] = `
"backgroundColor": "rgba(0, 113, 220, 1)",
"borderColor": "rgba(0, 113, 220, 1)",
"borderRadius": 40,
+ "borderStyle": "solid",
"borderWidth": 1,
"flexDirection": "row",
"flexShrink": 1,
@@ -122,6 +123,7 @@ exports[`AuthenticatorView renders error 2`] = `
"backgroundColor": "rgba(0, 113, 220, 1)",
"borderColor": "rgba(0, 113, 220, 1)",
"borderRadius": 40,
+ "borderStyle": "solid",
"borderWidth": 1,
"flexDirection": "row",
"flexShrink": 1,
| updating snapshots | updating snapshots
|
ee564926ca7f0ec3cfce03524dde99bba531ddaf | --- packages/me-at-walmart-container/package.json
@@ -19,12 +19,12 @@
"author": "",
"license": "ISC",
"dependencies": {
+ "@walmart/mywalmart-firebase-config": "1.0.0",
"jwt-decode": "^3.1.2",
"nanoid": "^5.1.6"
},
"devDependencies": {
"@walmart/me-at-walmart-common": "workspace:^",
- "@walmart/mywalmart-firebase-config": "workspace:^",
"react": "19.0.0",
"react-native": "patch:react-native@npm:0.79.5#~/.yarn/patches/react-native-npm-0.79.5-8fdac25583.patch",
"typescript": "~5.8.3"
--- packages/mywalmart-firebase-config/package.json
@@ -1,12 +1,11 @@
{
"name": "@walmart/mywalmart-firebase-config",
- "version": "6.36.0",
- "private": true,
+ "version": "1.0.0",
"description": "mywalmart firebase config",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
- "lib",
+ "lib/",
"README.md"
],
"scripts": {
--- yarn.lock
@@ -8342,7 +8342,7 @@ __metadata:
resolution: "@walmart/me-at-walmart-container@workspace:packages/me-at-walmart-container"
dependencies:
"@walmart/me-at-walmart-common": "workspace:^"
- "@walmart/mywalmart-firebase-config": "workspace:^"
+ "@walmart/mywalmart-firebase-config": "npm:1.0.0"
jwt-decode: "npm:^3.1.2"
nanoid: "npm:^5.1.6"
react: "npm:19.0.0"
@@ -8896,7 +8896,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/mywalmart-firebase-config@workspace:^, @walmart/mywalmart-firebase-config@workspace:packages/mywalmart-firebase-config":
+"@walmart/mywalmart-firebase-config@npm:1.0.0, @walmart/mywalmart-firebase-config@workspace:packages/mywalmart-firebase-config":
version: 0.0.0-use.local
resolution: "@walmart/mywalmart-firebase-config@workspace:packages/mywalmart-firebase-config"
dependencies:
| feat(fix): fix wmconfig package (#5037) | feat(fix): fix wmconfig package (#5037)
Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com> |
14c9a993db0e1aa00a7e9b776e3d0996471cacfe | --- .looper-pr.yml
@@ -11,7 +11,7 @@ flows:
- (name Yarn Set Version) yarn set version 4.4.0
- (name Yarn Version) yarn --version
- (name Yarn Install) yarn install
- # - (name Test Coverage) yarn run coverage
+ - (name Test Coverage) yarn run coverage
envs:
| feat(ui): update looper yml | feat(ui): update looper yml
|
c12d8328dc23db47e546d1b460ff356646fa4b87 | --- package-lock.json
@@ -55,7 +55,7 @@
"@walmart/counts-component-miniapp": "0.1.10",
"@walmart/emergency-mini-app": "1.27.0",
"@walmart/exception-mini-app": "1.7.3",
- "@walmart/facilities-management-miniapp": "0.7.5",
+ "@walmart/facilities-management-miniapp": "0.7.6",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
"@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
@@ -8892,9 +8892,9 @@
}
},
"node_modules/@walmart/facilities-management-miniapp": {
- "version": "0.7.5",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.5.tgz",
- "integrity": "sha512-DuFepwyv36PSguur/5GfC56KJESYiR654Bg4G2wr67nznecPLfTIKhfEUWOPouTlGH/1bt7ky7yM7elFFag6Cw==",
+ "version": "0.7.6",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.6.tgz",
+ "integrity": "sha512-L0V0aR4A8BmUq6lPgWCs1ITG8HZr9wYa3LOmwazENgKr0FDb6QPCct/azh85gD6I1ITgzLc+d32Szcpi7ropkg==",
"hasInstallScript": true,
"engines": {
"node": ">=16"
@@ -33380,9 +33380,9 @@
"integrity": "sha512-ahdTzrtsudZme6CLK4kv7gwVj/+6Ea/V7YjwHL1zxBPls22meFqqUMfjGhAwk0zT3hr8Cz+v934fDj0chQAT3w=="
},
"@walmart/facilities-management-miniapp": {
- "version": "0.7.5",
- "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.5.tgz",
- "integrity": "sha512-DuFepwyv36PSguur/5GfC56KJESYiR654Bg4G2wr67nznecPLfTIKhfEUWOPouTlGH/1bt7ky7yM7elFFag6Cw=="
+ "version": "0.7.6",
+ "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.7.6.tgz",
+ "integrity": "sha512-L0V0aR4A8BmUq6lPgWCs1ITG8HZr9wYa3LOmwazENgKr0FDb6QPCct/azh85gD6I1ITgzLc+d32Szcpi7ropkg=="
},
"@walmart/feedback-all-spark-miniapp": {
"version": "0.9.52",
--- package.json
@@ -96,7 +96,7 @@
"@walmart/counts-component-miniapp": "0.1.10",
"@walmart/emergency-mini-app": "1.27.0",
"@walmart/exception-mini-app": "1.7.3",
- "@walmart/facilities-management-miniapp": "0.7.5",
+ "@walmart/facilities-management-miniapp": "0.7.6",
"@walmart/feedback-all-spark-miniapp": "0.9.52",
"@walmart/financial-wellbeing-feature-app": "1.19.2",
"@walmart/functional-components": "~4.0.3",
| [Adithya] Version bump for FM | [Adithya] Version bump for FM
|
ff0247f22bc8336dd3c30a3988ee0000e00e1aac | --- packages/allspark-foundation-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.24.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.1...@walmart/allspark-foundation-hub@1.24.2) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/allspark-foundation-hub
+
## [1.24.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.24.0...@walmart/allspark-foundation-hub@1.24.1) (2025-11-12)
**Note:** Version bump only for package @walmart/allspark-foundation-hub
--- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.24.1",
+ "version": "1.24.2",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
--- packages/allspark-foundation/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.
+## [7.13.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.1...@walmart/allspark-foundation@7.13.2) (2025-11-13)
+
+### Bug Fixes
+
+- toggle value fix ([#478](https://gecgithub01.walmart.com/allspark/allspark/issues/478)) ([c223235](https://gecgithub01.walmart.com/allspark/allspark/commit/c22323553a2ad659ea0cde65f07ada3c832a0f53))
+
## [7.13.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.13.0...@walmart/allspark-foundation@7.13.1) (2025-11-12)
**Note:** Version bump only for package @walmart/allspark-foundation
--- packages/allspark-foundation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation",
- "version": "7.13.1",
+ "version": "7.13.2",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
--- packages/me-at-walmart-geolocation/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.4...@walmart/me-at-walmart-geolocation@1.4.5) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
+
## [1.4.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.4.3...@walmart/me-at-walmart-geolocation@1.4.4) (2025-11-12)
**Note:** Version bump only for package @walmart/me-at-walmart-geolocation
--- packages/me-at-walmart-geolocation/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-geolocation",
- "version": "1.4.4",
+ "version": "1.4.5",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/me-at-walmart-location/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.5](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.4...@walmart/me-at-walmart-location@1.2.5) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/me-at-walmart-location
+
## [1.2.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-location@1.2.3...@walmart/me-at-walmart-location@1.2.4) (2025-11-12)
**Note:** Version bump only for package @walmart/me-at-walmart-location
--- packages/me-at-walmart-location/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/me-at-walmart-location",
- "version": "1.2.4",
+ "version": "1.2.5",
"description": "Geofencing, location tracking and location services for me@ apps",
"author": "m0n09mr <maksym.novakh@walmart.com>",
"main": "./lib/cjs/index.js",
--- packages/my-walmart-hub/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.4.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.1...@walmart/my-walmart-hub@1.4.2) (2025-11-13)
+
+**Note:** Version bump only for package @walmart/my-walmart-hub
+
## [1.4.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/my-walmart-hub@1.4.0...@walmart/my-walmart-hub@1.4.1) (2025-11-12)
**Note:** Version bump only for package @walmart/my-walmart-hub
--- packages/my-walmart-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/my-walmart-hub",
- "version": "1.4.1",
+ "version": "1.4.2",
"description": "My Walmart Hub - A comprehensive hub framework for building dynamic widget-based interfaces",
"main": "lib/index.js",
"types": "lib/index.d.ts",
| chore(version): updating package version | chore(version): updating package version
- @walmart/allspark-foundation@7.13.2
- @walmart/allspark-foundation-hub@1.24.2
- @walmart/me-at-walmart-geolocation@1.4.5
- @walmart/me-at-walmart-location@1.2.5
- @walmart/my-walmart-hub@1.4.2
|
374432698662e035b8be859f0a269547197c265d | --- android/app/src/main/AndroidManifest.xml
@@ -20,6 +20,8 @@
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:remove="android:maxSdkVersion" />
--- package.json
@@ -91,7 +91,7 @@
"@walmart/avp-feature-app": "0.7.2",
"@walmart/avp-shared-library": "0.7.3",
"@walmart/backroom-mini-app": "1.1.10",
- "@walmart/calling-mini-app": "0.2.38",
+ "@walmart/calling-mini-app": "0.3.5",
"@walmart/checkout-mini-app": "3.19.0",
"@walmart/compass-sdk-rn": "5.19.13",
"@walmart/config-components": "4.4.1",
@@ -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.2.11",
+ "@walmart/react-native-webex-sdk": "0.3.3",
"@walmart/receipt-check-miniapp": "1.23.2",
"@walmart/redux-store": "6.1.4",
"@walmart/returns-mini-app": "4.6.0",
--- yarn.lock
@@ -5786,11 +5786,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/calling-mini-app@npm:0.2.38":
- version: 0.2.38
- resolution: "@walmart/calling-mini-app@npm:0.2.38"
- dependencies:
- typed-assert: "npm:^1.0.9"
+"@walmart/calling-mini-app@npm:0.3.5":
+ version: 0.3.5
+ resolution: "@walmart/calling-mini-app@npm:0.3.5"
peerDependencies:
"@react-native-community/datetimepicker": ">=5"
"@react-navigation/native": ">=6"
@@ -5840,7 +5838,7 @@ __metadata:
dependenciesMeta:
"@walmart/wmconnect-mini-app":
built: false
- checksum: 10c0/cf071189948129c384b5aa42f39f3bb058fa38afb46c0447132707eb61384c847bdcda02688c3feae8338109c72ab42ac8ebce561de8e3e6374588a67d7aa159
+ checksum: 10c0/248a84e7736701d95e26687731afcfa910622803bd12577032dd8e48cdd3c015e1c5d800af5716e974f7f8c1b91ac5b5a9af2b5d36c1289d7c5bfc7d4229bac2
languageName: node
linkType: hard
@@ -6907,13 +6905,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-webex-sdk@npm:0.2.11":
- version: 0.2.11
- resolution: "@walmart/react-native-webex-sdk@npm:0.2.11"
+"@walmart/react-native-webex-sdk@npm:0.3.3":
+ version: 0.3.3
+ resolution: "@walmart/react-native-webex-sdk@npm:0.3.3"
peerDependencies:
react: "*"
react-native: "*"
- checksum: 10c0/8a32de3e937dde5bc63e66195eff035ea2f0657a3fea57fffec8695f48114d9a8caf2bb23960b37ad09096d50e73344e4082fdbebb57158e8e443fa2d8d5aa1a
+ react-native-logger: "*"
+ checksum: 10c0/1259f337b46622effedc49f7016189b572103ee86d36eb5de34a85ac3736f6c729f9e4a2e734da3ec877c8124cc90243b78e57dc51abb39b41c0b386a2bf5c37
languageName: node
linkType: hard
@@ -7776,7 +7775,7 @@ __metadata:
"@walmart/avp-feature-app": "npm:0.7.2"
"@walmart/avp-shared-library": "npm:0.7.3"
"@walmart/backroom-mini-app": "npm:1.1.10"
- "@walmart/calling-mini-app": "npm:0.2.38"
+ "@walmart/calling-mini-app": "npm:0.3.5"
"@walmart/checkout-mini-app": "npm:3.19.0"
"@walmart/compass-sdk-rn": "npm:5.19.13"
"@walmart/config-components": "npm:4.4.1"
@@ -7821,7 +7820,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.2.11"
+ "@walmart/react-native-webex-sdk": "npm:0.3.3"
"@walmart/receipt-check-miniapp": "npm:1.23.2"
"@walmart/redux-store": "npm:6.1.4"
"@walmart/returns-mini-app": "npm:4.6.0"
@@ -21162,13 +21161,6 @@ __metadata:
languageName: node
linkType: hard
-"typed-assert@npm:^1.0.9":
- version: 1.0.9
- resolution: "typed-assert@npm:1.0.9"
- checksum: 10c0/9a31b03e6a5f07f13267f34dbbd125274b3b9e5107b906d76b2e401f6f60ebdea01124be8e3c064549938f57ac4e1b4f5a9c04e32bc8974b2f8cc74825e8b83e
- languageName: node
- linkType: hard
-
"typed-redux-saga@npm:^1.5.0":
version: 1.5.0
resolution: "typed-redux-saga@npm:1.5.0"
| Calling changes for drop23 | Calling changes for drop23
|
361f65312a2f03da5639c0d5b9431efb7d1f5153 | --- ios/AllSpark/AllSpark-prod.entitlements
@@ -4,6 +4,10 @@
<dict>
<key>aps-environment</key>
<string>development</string>
+ <key>com.apple.security.application-groups</key>
+ <array>
+ <string>group.com.walmart.sumo.appstore</string>
+ </array>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.walmart.GenericKeychain</string>
--- ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision
Binary files a/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision and b/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision differ
| updating provisoning profile and entitlements to include new app group for sumo to work on app store builds | updating provisoning profile and entitlements to include new app group for sumo to work on app store builds
|
d5155af130f54c8a9a58f1a0f02e8bfed3aefcd0 | --- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx
@@ -34,6 +34,7 @@ import {FieldLearningApp} from '@walmart/learning-mini-app';
import ManagerApprovalsFeature from '@walmart/manager-approvals-miniapp';
import MetricsFeature from '@walmart/metrics-mini-app';
import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app';
+import GlobalVpiMiniApp from '@walmart/global-vpi-mini-app';
import {AuthScreen as MoneyAuthScreen} from '@walmart/money-auth-shared-components';
import {PayStubMiniApp} from '@walmart/pay-stub-miniapp';
import {PaymentSelectionMiniApp} from '@walmart/payrollsolution_miniapp';
@@ -172,6 +173,15 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [
},
clockCheckEnabled: true,
},
+ {
+ featureId: 'GlobalVPI',
+ name: 'GlobalVPI',
+ component: GlobalVpiMiniApp,
+ options: {
+ headerShown: false,
+ },
+ clockCheckEnabled: true,
+ },
{
featureId: MINI_APPS.CHECKOUT_RETURN,
name: 'Returns',
--- core/src/navigation/USHallway/AssociateHallwayNav/types.ts
@@ -87,6 +87,7 @@ export type MainStackMap = CoreAssociateStackMap & {
Topstock: undefined;
Checkout: undefined;
Receiving: undefined;
+ GlobalVPI: undefined;
};
// The type of screen props for a main stack screen, passed to the screen component as props
--- package.json
@@ -57,6 +57,7 @@
"@walmart/financial-wellbeing-feature-app": {
"built": false
},
+ "@walmart/global-vpi-mini-app": {},
"@walmart/iteminfo-mini-app": {
"built": false
},
--- targets/US/package.json
@@ -105,6 +105,7 @@
"@walmart/feedback-all-spark-miniapp": "0.9.71",
"@walmart/financial-wellbeing-feature-app": "1.26.0",
"@walmart/functional-components": "~6.3.28",
+ "@walmart/global-vpi-mini-app": "1.0.75",
"@walmart/gta-react-native-calendars": "0.7.0",
"@walmart/gtp-shared-components": "2.2.4",
"@walmart/ims-print-services-ui": "2.15.3",
--- yarn.lock
@@ -6436,6 +6436,13 @@ __metadata:
languageName: node
linkType: hard
+"@walmart/global-vpi-mini-app@npm:1.0.75":
+ version: 1.0.75
+ resolution: "@walmart/global-vpi-mini-app@npm:1.0.75"
+ checksum: 10c0/155ac1390f528e6a07c170f6aa6c336dd6f16ce468101417e62fcdcd2b50bd7dc25b00989fca5319bd8340716b1deca100b12c23f348e4ab825b523251f728a2
+ languageName: node
+ linkType: hard
+
"@walmart/gta-react-native-calendars@npm:0.7.0":
version: 0.7.0
resolution: "@walmart/gta-react-native-calendars@npm:0.7.0"
@@ -7020,6 +7027,7 @@ __metadata:
"@walmart/feedback-all-spark-miniapp": "npm:0.9.71"
"@walmart/financial-wellbeing-feature-app": "npm:1.26.0"
"@walmart/functional-components": "npm:~6.3.28"
+ "@walmart/global-vpi-mini-app": "npm:1.0.75"
"@walmart/gta-react-native-calendars": "npm:0.7.0"
"@walmart/gtp-shared-components": "npm:2.2.4"
"@walmart/ims-print-services-ui": "npm:2.15.3"
@@ -7214,6 +7222,8 @@ __metadata:
built: false
"@walmart/financial-wellbeing-feature-app":
built: false
+ "@walmart/global-vpi-mini-app":
+ optional: true
"@walmart/iteminfo-mini-app":
built: false
"@walmart/learning-mini-app":
| adding global vpi | adding global vpi
|
fbbdec99245c2a56a070ec03726a3b4dc9ee57ac | --- src/hooks/roster.ts
@@ -42,21 +42,6 @@ export const useDailyRoster = (shouldSkipQuery: boolean = false) => {
});
};
-// NOTE: this is not being used at this time, commenting it out for now
-// export const useGetAssociateId = (userWin: string) => {
-// const envConfig = useEnvironment();
-// const {data} = useGetAssociateNameQuery({
-// variables: {
-// id: userWin,
-// idType: IdType.Win,
-// },
-// errorPolicy: 'all',
-// skip: !userWin,
-// context: getGraphQLConfig(envConfig),
-// });
-// return data?.getAssociateById?.associateId || '';
-// };
-
export const useRbacConfigWithJobCode = (): boolean => {
const RBACState = useSelector(getRbacState);
const RMAAppId = useSelector(getRmaAppId);
| removed commented out code | removed commented out code
|
295d728ef70350384499aadf312311108a749f7c | --- core/__tests__/home/components/CelebrationCard/__snapshots__/indexTest.tsx.snap
@@ -50,70 +50,15 @@ exports[`CelebrationCard does render the card when associate is clocked in 1`] =
}
}
/>
- <AssociateNameList
- context="birthday"
- data={
- [
- {
- "birthDate": "09/02",
- "fullName": "Matt Ridley",
- },
- ]
- }
- titleKey="tomorrow"
- />
- <View
+ <Spinner
+ color="#74767c"
+ small={false}
style={
{
- "backgroundColor": "#f1f1f2",
- "borderRadius": 1000,
- "height": 1,
- "marginBottom": 16,
- "marginTop": 12,
+ "marginVertical": 16,
}
}
/>
- <AssociateNameList
- context="anniversary"
- data={
- [
- {
- "fullName": "Molly Manning",
- "timeFrame": 6,
- "timeUnit": "month",
- },
- {
- "fullName": "Eric Smith",
- "timeFrame": 6,
- "timeUnit": "month",
- },
- ]
- }
- titleKey="today"
- />
- <LinkButton
- onPress={[Function]}
- style={
- {
- "alignSelf": "flex-start",
- "paddingTop": 12,
- }
- }
- >
- <Text
- style={
- {
- "color": "#2e2f32",
- "fontFamily": "Bogle-Regular",
- "fontSize": 14,
- "fontWeight": "400",
- "lineHeight": 20,
- }
- }
- >
- anniversaryHomeOverview.additionalFooter.moreInStore
- </Text>
- </LinkButton>
</SolidCard>
</View>
`;
--- targets/US/package.json
@@ -91,7 +91,7 @@
"@walmart/avp-shared-library": "0.10.1",
"@walmart/backroom-mini-app": "1.7.5",
"@walmart/calling-mini-app": "0.5.17",
- "@walmart/checkout-mini-app": "4.0.18",
+ "@walmart/checkout-mini-app": "4.1.0",
"@walmart/compass-sdk-rn": "5.19.15",
"@walmart/config-components": "4.5.2",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -6439,9 +6439,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/checkout-mini-app@npm:4.0.18":
- version: 4.0.18
- resolution: "@walmart/checkout-mini-app@npm:4.0.18"
+"@walmart/checkout-mini-app@npm:4.1.0":
+ version: 4.1.0
+ resolution: "@walmart/checkout-mini-app@npm:4.1.0"
dependencies:
"@stomp/stompjs": "npm:^7.0.0"
cpc-input: "npm:^1.7.28"
@@ -6479,7 +6479,7 @@ __metadata:
react-native-safe-area-context: "*"
react-redux: ^8.1.3
redux: ^4.0.5
- checksum: 10c0/f6e5a8de9e2e04659021d44636c7b02ee9914075470a5d79885cbfd48aa5282dc090e237be234bd5d0cce1cfa1e3197a52d4404a2fc523c124feb8806778d620
+ checksum: 10c0/b35aa405496cda53b026148f13064a4c4e3448c5b837e51690b602077b225b6f02a582264d9dc94cb549a8f76736ecbe7a24d670975e7a62c45ad940e8b1b8b8
languageName: node
linkType: hard
@@ -7289,7 +7289,7 @@ __metadata:
"@walmart/avp-shared-library": "npm:0.10.1"
"@walmart/backroom-mini-app": "npm:1.7.5"
"@walmart/calling-mini-app": "npm:0.5.17"
- "@walmart/checkout-mini-app": "npm:4.0.18"
+ "@walmart/checkout-mini-app": "npm:4.1.0"
"@walmart/compass-sdk-rn": "npm:5.19.15"
"@walmart/config-components": "npm:4.5.2"
"@walmart/core-services": "npm:~6.5.2"
| updated snapshot, gtp revert CO : 4.1.0 | updated snapshot, gtp revert CO : 4.1.0
|
51c99bf1f24d95fee4418ad30b2aad9f67b57871 | --- package.json
@@ -85,7 +85,7 @@
"@walmart/allspark-utils": "6.1.4",
"@walmart/amp-mini-app": "1.1.80",
"@walmart/ask-sam-chat-components": "^0.2.7",
- "@walmart/ask-sam-mini-app": "1.22.3",
+ "@walmart/ask-sam-mini-app": "1.23.4",
"@walmart/attendance-mini-app": "3.44.0",
"@walmart/avp-feature-app": "0.5.1",
"@walmart/avp-shared-library": "0.5.2",
--- yarn.lock
@@ -5611,9 +5611,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/ask-sam-mini-app@npm:1.22.3":
- version: 1.22.3
- resolution: "@walmart/ask-sam-mini-app@npm:1.22.3"
+"@walmart/ask-sam-mini-app@npm:1.23.4":
+ version: 1.23.4
+ resolution: "@walmart/ask-sam-mini-app@npm:1.23.4"
dependencies:
apisauce: "npm:^1.1.2"
axios-cache-adapter: "npm:>=2.7.3"
@@ -5660,7 +5660,7 @@ __metadata:
react-native-wm-voice-text: ">=0.3"
reselect: ">=4"
victory-native: ">=36.5"
- checksum: 10c0/9db5eec1c5808f881e13bffb4542f74cbb29a3a24161d58963fe7e799be599801341b70d7a20d5470f6d1ee8762eb5a02866597e70a217e836c846eff871a9b6
+ checksum: 10c0/020de2def335dde9a7479840b45e1b6e14bfee55bd4239d2c7e45b4f9146bb1f6c6dbf68a3d4b1da45e4f89440cbc4efe0aa92bb558fdf926c313094e124b5e6
languageName: node
linkType: hard
@@ -7800,7 +7800,7 @@ __metadata:
"@walmart/allspark-utils": "npm:6.1.4"
"@walmart/amp-mini-app": "npm:1.1.80"
"@walmart/ask-sam-chat-components": "npm:^0.2.7"
- "@walmart/ask-sam-mini-app": "npm:1.22.3"
+ "@walmart/ask-sam-mini-app": "npm:1.23.4"
"@walmart/attendance-mini-app": "npm:3.44.0"
"@walmart/avp-feature-app": "npm:0.5.1"
"@walmart/avp-shared-library": "npm:0.5.2"
| ask sam version bump | ask sam version bump
|
2b69dbddc1906572145041d869f035689cd6f587 | --- packages/allspark-foundation/__tests__/Navigation/client.test.tsx
@@ -134,7 +134,6 @@ describe('NavigationClient', () => {
});
it('add a screen change listener when handler is a function', () => {
const mockHandler = jest.fn();
- console.log(typeof mockHandler);
navigationClient.addScreenChangeListener(mockHandler);
expect(mockEventManager.addListener).toHaveBeenCalledWith('screenChange', mockHandler);
});
| fix: removing console log | fix: removing console log
|
b3432fcab6f760a6ee56ca4f391450b9d46b31de | --- package.json
@@ -172,7 +172,7 @@
"@walmart/store-feature-orders": "1.35.6",
"@walmart/talent-preboarding-mini-app": "1.0.63",
"@walmart/talent-preboarding-shared-utils": "^0.1.114",
- "@walmart/taskit-mini-app": "5.52.3",
+ "@walmart/taskit-mini-app": "5.52.4",
"@walmart/time-clock-feature-app": "1.0.0-beta.10",
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.12#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.12-d3039974f6.patch",
"@walmart/timesheet-feature-app": "0.2.0-beta.17",
--- yarn.lock
@@ -8528,7 +8528,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.35.6"
"@walmart/talent-preboarding-mini-app": "npm:1.0.63"
"@walmart/talent-preboarding-shared-utils": "npm:^0.1.114"
- "@walmart/taskit-mini-app": "npm:5.52.3"
+ "@walmart/taskit-mini-app": "npm:5.52.4"
"@walmart/time-clock-feature-app": "npm:1.0.0-beta.10"
"@walmart/time-clock-mini-app": "patch:@walmart/time-clock-mini-app@npm%3A3.19.12#~/.yarn/patches/@walmart-time-clock-mini-app-npm-3.19.12-d3039974f6.patch"
"@walmart/timesheet-feature-app": "npm:0.2.0-beta.17"
@@ -9476,13 +9476,13 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/taskit-mini-app@npm:5.52.3":
- version: 5.52.3
- resolution: "@walmart/taskit-mini-app@npm:5.52.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.52.3.tgz"
+"@walmart/taskit-mini-app@npm:5.52.4":
+ version: 5.52.4
+ resolution: "@walmart/taskit-mini-app@npm:5.52.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Ftaskit-mini-app%2F-%2F%40walmart%2Ftaskit-mini-app-5.52.4.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
"@walmart/gtp-shared-components-3": "*"
- checksum: 10c0/823341f40450c50c87a152c1c04a2151dd0307e898e69273bb3556454c92dc675e3397163b176e4878f1506cec070c8718ed94e958afbbad4a7db83a508a52f7
+ checksum: 10c0/6d3d6086ccd52ff8c502468ed8061d95c47d57a9b9f5586fd02aa0a7fa71684244f63effee3b596b73eb02f6989808dfeaf22c8aa8927f94edc6f4353762caec
languageName: node
linkType: hard
| fix(notes): bumped taskit version for TASKIT-8102 | fix(notes): bumped taskit version for TASKIT-8102
|
56becbdefc913bd1944745c15f6e37c4cb4df2e3 | --- package.json
@@ -90,7 +90,7 @@
"@walmart/react-native-logger": "1.35.0",
"@walmart/react-native-scanner-3.0": "0.10.4",
"@walmart/react-native-sumo-sdk": "2.8.0",
- "@walmart/roster-mini-app": "3.12.0",
+ "@walmart/roster-mini-app": "3.13.0",
"@walmart/ui-components": "1.15.1",
"@walmart/wmconnect-mini-app": "3.8.0",
"babel-jest": "^29.6.3",
--- yarn.lock
@@ -7606,7 +7606,7 @@ __metadata:
"@walmart/react-native-logger": "npm:1.35.0"
"@walmart/react-native-scanner-3.0": "npm:0.10.4"
"@walmart/react-native-sumo-sdk": "npm:2.8.0"
- "@walmart/roster-mini-app": "npm:3.12.0"
+ "@walmart/roster-mini-app": "npm:3.13.0"
"@walmart/ui-components": "npm:1.15.1"
"@walmart/wmconnect-mini-app": "npm:3.8.0"
babel-jest: "npm:^29.6.3"
@@ -7714,9 +7714,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/roster-mini-app@npm:3.12.0":
- version: 3.12.0
- resolution: "@walmart/roster-mini-app@npm:3.12.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.12.0.tgz"
+"@walmart/roster-mini-app@npm:3.13.0":
+ version: 3.13.0
+ resolution: "@walmart/roster-mini-app@npm:3.13.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2F%40walmart%2Froster-mini-app-3.13.0.tgz"
peerDependencies:
"@walmart/allspark-foundation": ">=7.12.0"
"@walmart/gtp-shared-components-3": "*"
@@ -7728,7 +7728,7 @@ __metadata:
dependenciesMeta:
"@walmart/me-at-walmart":
built: false
- checksum: 10c0/559365a1823d5517eb3cac421493523e2a2f5d963ae8ae53ac46caa143aab03952685bbdf761058e9133759e4fb8304441e1d1da5c6b8e96ab2102916484a9cb
+ checksum: 10c0/007da97db249a826ca27157e8c80103f4800b5b8855be0b72b2a6113b294012081488864fe2f1c129cfc268dc2bf1b31830f43e1a9130b2c67079d1831e14758
languageName: node
linkType: hard
| feat(ui): update roster version | feat(ui): update roster version
|
abdd7bb90d0d048fe18574b841cfedeeacb39791 | --- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/roster-mini-app",
- "version": "2.12.21",
+ "version": "2.12.22",
"main": "dist/index.js",
"files": [
"dist"
--- src/screens/RosterDetailScreen/RosterDetailScreen.tsx
@@ -66,6 +66,7 @@ import {AllsparkSharedComponents} from '@walmart/allspark-foundation/Components'
import {RosterDetailScreenDisabled} from './RosterDetailScreenDisabled';
import {RosterDetailScreenProps} from './types';
import {WarningBanner} from '../../components/WarningBanner';
+import {UserDomain} from '@walmart/me-at-walmart-common';
//Todo: Refactor some functionalities in this component
export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
@@ -95,9 +96,13 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => {
const isPeopleLead: boolean = useSelector(UserSelectors.getIsUserPeopleLead);
const isTeamLead: boolean = useSelector(UserSelectors.getIsUserTeamLead);
const isSalaried: boolean = useSelector(UserSelectors.getIsUserSalaried);
+ const userDomain: string | undefined = useSelector(UserSelectors.getDomain);
+ const isHomeOffice: boolean =
+ userDomain?.toLowerCase() === UserDomain.homeoffice;
const showRoster = useSelector(displayRoster);
const showSearchInput = useSelector(displaySearchInput);
- const isSalariedOrLead = isTeamLead || isSalaried || isPeopleLead;
+ const isSalariedOrLead =
+ isTeamLead || isSalaried || isPeopleLead || isHomeOffice;
const defaultTeamLabel = isSalariedOrLead
? selectedTeamPreference
: initialTeamName;
| Update roster mini app version | Update roster mini app version
|
9d018db8d0950b58d6ec61facf94c094cbd2102e | --- packages/allspark-foundation-hub/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/allspark-foundation-hub",
- "version": "1.0.1-beta.18",
+ "version": "1.0.1-beta.19",
"description": "",
"main": "Core/index.js",
"types": "Core/index.d.ts",
| Update the user domain for team switcher | Update the user domain for team switcher
|
ecf470744e3715c6c3ca6749e2c6186115c8bc57 | --- package-lock.json
@@ -4553,9 +4553,9 @@
}
},
"@walmart/core-services": {
- "version": "1.0.13",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.13.tgz",
- "integrity": "sha512-Xl5NdX0gr2klzR3cz2eb6YkeANvRmmUkz/TmNeQQBsXLfuchZy3aEY+K5QyKfW90W7ilF2hpmg2a98NGtQk5QA==",
+ "version": "1.0.14",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.14.tgz",
+ "integrity": "sha512-huT9MalVNSxeHuEa1Dl3peNNULUOJGk0vy6wHNgquIcZ93Knw9FQlROeBSnx1CnMJki3fCc3dkVC76GcAc9SiQ==",
"requires": {
"@walmart/core-utils": "^1.0.8",
"axios": "^0.26.0",
@@ -4592,9 +4592,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.4.2",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.4.2.tgz",
- "integrity": "sha512-mAOUiq0iSCOQyBqpWqB6VHyG3ufsc1WsSvDi/gXd1KtNObcCoklvSuTDreNvc8Jken8SO2CgkWJR1g2GXio02g==",
+ "version": "1.4.3",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.4.3.tgz",
+ "integrity": "sha512-YZFWVNtKCKYqmwZuYpQVRQyd6smezGRpvWEnioMotd9rDQw+R/gbicCtjiLFeYChZYia6iN1P7xwFzb4kl2ufg==",
"requires": {
"axios": "^0.26.0",
"crypto-js": "^4.1.1",
--- package.json
@@ -75,8 +75,8 @@
"@walmart/allspark-neon-core": "0.1.26",
"@walmart/ask-sam-mini-app": "^0.41.8",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "^1.0.13",
- "@walmart/core-services-allspark": "^1.4.2",
+ "@walmart/core-services": "^1.0.14",
+ "@walmart/core-services-allspark": "^1.4.3",
"@walmart/core-utils": "^1.0.8",
"@walmart/counts-component-miniapp": "0.0.35",
"@walmart/exception-mini-app": "0.41.1",
| bump core services for notification fix | bump core services for notification fix
|
bd2a9f1f72d9b16ef86f77bf9a3636fc6364c586 | --- 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.30.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.29.0...@walmart/celebration-mini-app@1.30.0) (2025-11-26)
+
+### Features
+
+- **ui:** updated config var ([3ca61cb](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/3ca61cb35cc2d3e8835fa084602db755f2212d96))
+
# [1.29.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.28.3...@walmart/celebration-mini-app@1.29.0) (2025-11-26)
### Features
--- packages/celebration-mini-app/package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/celebration-mini-app",
- "version": "1.29.0",
+ "version": "1.30.0",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=18"
| chore(version): updating package version | chore(version): updating package version
- @walmart/celebration-mini-app@1.30.0
|
b9eafa46df5910c1790d62212937cbe0986b95fc | --- package-lock.json
@@ -4483,9 +4483,9 @@
}
},
"@walmart/taskit-mini-app": {
- "version": "0.15.0",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.15.0.tgz",
- "integrity": "sha512-eJMFoU3+khZm+k59cCYz/bdh3W+bhP2O0NaSf6mPxV2nIMD6BISGkdn+EO4xevooHtHR/5KVOlLtYzvOQywJIw=="
+ "version": "0.16.0",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.16.0.tgz",
+ "integrity": "sha512-uXzli8fYkLFuAJ9FOM3dTvFEJ+a/eb/0KRHyfaotTHz1Px4X3Kp4QF7UaDI+gzj37wX9937zjfzuJ4CN2e6OVA=="
},
"@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.15.0",
+ "@walmart/taskit-mini-app": "0.16.0",
"@walmart/time-clock-mini-app": "0.5.1",
"@walmart/ui-components": "1.4.0-rc.0",
"@walmart/welcomeme-mini-app": "0.52.0",
| Taskit version updated | Taskit version updated
|
197726d8e5f6b9a9953c494e7af0b2efcbfc4e60 | --- packages/allspark-http-client/package.json
@@ -22,14 +22,13 @@
"clean": "rm -rf lib/ || true"
},
"dependencies": {
- "axios": "~1.2.4"
+ "axios": "~1.2.4",
+ "@walmart/allspark-utils": "^1.1.0"
},
"devDependencies": {
- "@walmart/allspark-utils": "^1.1.0",
"react": "^18.2.0"
},
"peerDependencies": {
- "@walmart/allspark-utils": "~1.0.0",
"react": "^18.2.0"
}
}
| chore: add allspark utils as dependency | chore: add allspark utils as dependency
|
001fb357757be13741337146b86efa83893a02c1 | --- src/components/MessagesHeader.tsx
@@ -39,6 +39,26 @@ const styles = StyleSheet.create({
},
});
+//TODO: Consider to refactor to combine this with the existing MessageHeader where channelId is undefined and it has a title
+export const NewMessageHeader = (props: {title: string}) => {
+ const {title} = props;
+
+ const navigation = useNavigation();
+
+ return (
+ <View style={styles.header}>
+ <TouchableOpacity onPress={navigation.goBack} style={styles.closeButton}>
+ <CloseIcon size={24} />
+ </TouchableOpacity>
+ <View style={styles.titleRow}>
+ <Body weight='700' size='large'>
+ {title}
+ </Body>
+ </View>
+ </View>
+ );
+};
+
export const MessagesHeader = (props: {channelId: string}) => {
const {channelId} = props;
--- src/screens/NewMessageScreen.tsx
@@ -15,7 +15,7 @@ import {FlashList, ListRenderItem} from '@shopify/flash-list';
import {Body, colors, Spinner} from '@walmart/gtp-shared-components';
import {Associate} from '../types';
-import {AssociateRosterItem, MessagesHeader} from '../components';
+import {AssociateRosterItem, NewMessageHeader} from '../components';
import {useGetStoreRoster, useStartAssociateText} from '../hooks';
export type ChannelScreenProps = {
@@ -106,9 +106,10 @@ export const NewMessageScreen = () => {
[startAssociateText],
);
+ //TODO: Fix messagesHeader, not built to handle the new message string yet
return (
<View style={styles.newMessageScreenContainer}>
- <MessagesHeader title='New message' />
+ <NewMessageHeader title='New message' />
<View style={styles.searchRow}>
<Body UNSAFE_style={styles.searchRowContainer} size='small'>
To:
--- src/components/MessagesHeader.tsx
@@ -39,6 +39,26 @@ const styles = StyleSheet.create({
},
});
+//TODO: Consider to refactor to combine this with the existing MessageHeader where channelId is undefined and it has a title
+export const NewMessageHeader = (props: {title: string}) => {
+ const {title} = props;
+
+ const navigation = useNavigation();
+
+ return (
+ <View style={styles.header}>
+ <TouchableOpacity onPress={navigation.goBack} style={styles.closeButton}>
+ <CloseIcon size={24} />
+ </TouchableOpacity>
+ <View style={styles.titleRow}>
+ <Body weight='700' size='large'>
+ {title}
+ </Body>
+ </View>
+ </View>
+ );
+};
+
export const MessagesHeader = (props: {channelId: string}) => {
const {channelId} = props;
--- src/screens/NewMessageScreen.tsx
@@ -15,7 +15,7 @@ import {FlashList, ListRenderItem} from '@shopify/flash-list';
import {Body, colors, Spinner} from '@walmart/gtp-shared-components';
import {Associate} from '../types';
-import {AssociateRosterItem, MessagesHeader} from '../components';
+import {AssociateRosterItem, NewMessageHeader} from '../components';
import {useGetStoreRoster, useStartAssociateText} from '../hooks';
export type ChannelScreenProps = {
@@ -106,9 +106,10 @@ export const NewMessageScreen = () => {
[startAssociateText],
);
+ //TODO: Fix messagesHeader, not built to handle the new message string yet
return (
<View style={styles.newMessageScreenContainer}>
- <MessagesHeader title='New message' />
+ <NewMessageHeader title='New message' />
<View style={styles.searchRow}>
<Body UNSAFE_style={styles.searchRowContainer} size='small'>
To:
| adding a newmessageheader component, might mix in with existing header later | adding a newmessageheader component, might mix in with existing header later
|
7a4f7d017045777d40bf867737bc892a91a208d2 | --- packages/allspark-foundation/src/Navigation/components/DrawerButton.tsx
@@ -6,6 +6,7 @@ import { StackNavigationOptions } from '@react-navigation/stack';
import { MenuIcon, IconButton } from '@walmart/gtp-shared-components';
import { AllsparkDrawerBadge } from '../../Components';
import { useAllsparkDrawer } from '../context';
+import { debounce } from 'lodash';
export type DrawerButtonProps = HeaderBackButtonProps & {
style?: StyleProp<ViewStyle>;
@@ -25,6 +26,13 @@ const styles = StyleSheet.create({
* An AllsparkFeature should not need to use this component directly. Once feature screens are
* added to the combined stack navigator, the drawer button should be controlled by the container.
*/
+
+const DRAWER_TAP_DELAY = 300;
+export const debounceTap = debounce(
+ (navigation) => navigation?.dispatch(DrawerActions.toggleDrawer()),
+ DRAWER_TAP_DELAY,
+ { leading: true }
+);
export const DrawerButton = (props: DrawerButtonProps) => {
const { style, iconStyle, badgeStyle } = props;
@@ -33,7 +41,7 @@ export const DrawerButton = (props: DrawerButtonProps) => {
const toggleDrawer = () => {
if (!drawer.locked) {
- navigation.dispatch(DrawerActions.toggleDrawer());
+ debounceTap(navigation);
}
};
| fix: add debounce to drawer tap | fix: add debounce to drawer tap
|
631d2dd70c90addf3e694fe3869c3434c87a1a97 | --- package-lock.json
@@ -4553,9 +4553,9 @@
}
},
"@walmart/core-services": {
- "version": "1.0.11",
- "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.11.tgz",
- "integrity": "sha512-fVrnqaXxmD1Y7wbOZA946moCmkXbd7qTfXPHb+uFY762C99xcP4KFg2QpJN2Lq+99++cFsDD1HE2aqc5RwFStw==",
+ "version": "1.0.12",
+ "resolved": "https://npme.walmart.com/@walmart/core-services/-/core-services-1.0.12.tgz",
+ "integrity": "sha512-HjDtpCvMikH0RpxWwtexmf8RXWnA0pfrTUgJ/DobAHCfR9efEvA0sWuiIx7hpjeSQWIm3IZhziy8C3k0i4HH6Q==",
"requires": {
"@walmart/core-utils": "^1.0.8",
"axios": "^0.26.0",
@@ -4592,9 +4592,9 @@
}
},
"@walmart/core-services-allspark": {
- "version": "1.3.0",
- "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.3.0.tgz",
- "integrity": "sha512-B9eNHkkdHWCkXte+cDa868yibQ+BRXI+6d4XxZuW1bMv8TR/7GCxsZ2DVzy7P3HB6w+kDAhsYOEG7CayhhSMeg==",
+ "version": "1.3.1",
+ "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-1.3.1.tgz",
+ "integrity": "sha512-X8bdLPojDs4nDX3st97Gnf4fw7wSRfW2cKN5UzLVav9GC+w0YxadEdYgitUeEGt+ftI/uf7FC6tXyy498LLYtg==",
"requires": {
"axios": "^0.26.0",
"crypto-js": "^4.1.1",
--- package.json
@@ -75,8 +75,8 @@
"@walmart/allspark-neon-core": "0.1.26",
"@walmart/ask-sam-mini-app": "^0.41.8",
"@walmart/config-components": "3.0.2",
- "@walmart/core-services": "^1.0.11",
- "@walmart/core-services-allspark": "^1.3.0",
+ "@walmart/core-services": "^1.0.12",
+ "@walmart/core-services-allspark": "^1.3.1",
"@walmart/core-utils": "^1.0.8",
"@walmart/counts-component-miniapp": "0.0.35",
"@walmart/exception-mini-app": "0.41.1",
| core service bump for notification fix | core service bump for notification fix
|
51721f41a8ed5b7f0258661ffcb199819a2bf1e6 | --- packages/allspark-foundation/src/Feature/AllsparkFeatureModule.tsx
@@ -14,7 +14,7 @@ import { AllsparkTranslationClient } from '../Translation';
import { ActiveAllsparkContainer } from '../Container/ActiveContainerManager';
import { AllsparkComponentContainers } from '../Components';
import { AllsparkSharedComponents } from '../Components/SharedComponents';
-import { AllsparkWorkClient } from '../Work';
+import { AllsparkWorkClient } from '../Work/client';
import {
AllsparkModuleConfig,
--- packages/allspark-foundation/src/Redux/rootReducer.ts
@@ -11,7 +11,7 @@ import { INotificationAction, notificationSlice } from '../Notification/redux';
import { permissionsSlice } from '../Permissions/redux';
import { ISiteAction, siteSlice } from '../Site/redux';
import { IUserAction, userSlice } from '../User/redux';
-import { IWorkAction, workSlice } from '../Work';
+import { IWorkAction, workSlice } from '../Work/redux';
import { navConfigSlice } from '../Navigation/config/redux';
/**
--- packages/allspark-foundation/src/Work/client.ts
@@ -1,7 +1,7 @@
import { Task } from 'redux-saga';
import { cancelled } from 'redux-saga/effects';
import { AllsparkReduxStore } from '../Redux';
-import { ActiveAllsparkContainer } from '../Container';
+import { ActiveAllsparkContainer } from '../Container/ActiveContainerManager';
import { WorkActionsCreators, WorkActionTypes } from './redux';
import {
BaseWorkflows,
@@ -11,7 +11,7 @@ import {
} from './types';
import { WorkflowError } from './utils';
-class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
+export class WorkClient<T extends BaseWorkflows, K extends keyof T = keyof T> {
/**
* Map of workflows by id
*/
| chore: remove circular references | chore: remove circular references
|
99b925d0c8e365e7c5c415a077d4b5f1d6564616 | --- package.json
@@ -153,7 +153,7 @@
"@walmart/rn-mobile-sdk-pairing": "2.1.8",
"@walmart/rn-receiving-mini-app": "2.6.11",
"@walmart/roster-mini-app": "3.8.0",
- "@walmart/schedule-mini-app": "2.6.1",
+ "@walmart/schedule-mini-app": "2.6.2",
"@walmart/shelfavailability-mini-app": "1.5.47",
"@walmart/shop-gnfr-mini-app": "1.0.421",
"@walmart/sidekick-mini-app": "4.231.0",
--- yarn.lock
@@ -8369,7 +8369,7 @@ __metadata:
"@walmart/rn-mobile-sdk-pairing": "npm:2.1.8"
"@walmart/rn-receiving-mini-app": "npm:2.6.11"
"@walmart/roster-mini-app": "npm:3.8.0"
- "@walmart/schedule-mini-app": "npm:2.6.1"
+ "@walmart/schedule-mini-app": "npm:2.6.2"
"@walmart/shelfavailability-mini-app": "npm:1.5.47"
"@walmart/shop-gnfr-mini-app": "npm:1.0.421"
"@walmart/sidekick-mini-app": "npm:4.231.0"
@@ -9088,12 +9088,10 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/schedule-mini-app@npm:2.6.1":
- version: 2.6.1
- resolution: "@walmart/schedule-mini-app@npm:2.6.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fschedule-mini-app%2F-%2F%40walmart%2Fschedule-mini-app-2.6.1.tgz"
+"@walmart/schedule-mini-app@npm:2.6.2":
+ version: 2.6.2
+ resolution: "@walmart/schedule-mini-app@npm:2.6.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fschedule-mini-app%2F-%2F%40walmart%2Fschedule-mini-app-2.6.2.tgz"
dependencies:
- "@walmart/moment-walmart": "npm:^1.0.4"
- "@walmart/wfm-ui": "npm:^3.0.4"
wfm-allspark-data-library: "npm:7.0.0"
peerDependencies:
"@react-native-community/datetimepicker": ^7.6.2
@@ -9107,9 +9105,11 @@ __metadata:
"@walmart/attendance-mini-app": ">=3.24.3"
"@walmart/core-services": ^6.0.0
"@walmart/gtp-shared-components": ">=0.2.2"
+ "@walmart/moment-walmart": ^1.0.4
"@walmart/react-native-shared-navigation": ">=0.2.0"
"@walmart/redux-store": ">=1.0.15"
"@walmart/ui-components": ">=1.15.0"
+ "@walmart/wfm-ui": ^3.0.4
crypto-js: ">=4.2.0"
i18next: ">=19.8.7"
javascript-time-ago: ">=2.3.4"
@@ -9122,7 +9122,7 @@ __metadata:
react-redux: ">=7.2.1"
redux: ">=4.0.5"
reselect: ">=4.0.0"
- checksum: 10c0/f7b67604ab5d093597665044b3abc7f051628edb7ced232a381281fd90e26b92c8e06c94761fe2879195ca17f0f023aa604dea18dbf3155fb915d6ecb56d8eab
+ checksum: 10c0/fa3364f945ecf3e5674eee2fb8bdd723cade22277f9df10e278d34a9e3a6b1ea9b22e699738af9fe789ccca04c539902a0f5b1779ed16d4c54059de7cc6ee544
languageName: node
linkType: hard
@@ -9545,7 +9545,7 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/wfm-ui@npm:3.0.4, @walmart/wfm-ui@npm:^3.0.4":
+"@walmart/wfm-ui@npm:3.0.4":
version: 3.0.4
resolution: "@walmart/wfm-ui@npm:3.0.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwfm-ui%2F-%2F%40walmart%2Fwfm-ui-3.0.4.tgz"
dependencies:
| Roster weekly hours bugfix (#4780) | Roster weekly hours bugfix (#4780)
|
b1e1f2741c95bc2bde7acb3a77ba65658c58ce33 | --- package-lock.json
@@ -55,7 +55,7 @@
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.9",
- "@walmart/iteminfo-mini-app": "5.3.5",
+ "@walmart/iteminfo-mini-app": "7.0.2",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
"@walmart/metrics-mini-app": "0.9.38",
@@ -80,7 +80,7 @@
"@walmart/schedule-mini-app": "0.33.0",
"@walmart/settings-mini-app": "1.12.0",
"@walmart/shelfavailability-mini-app": "1.5.11",
- "@walmart/taskit-mini-app": "0.49.11",
+ "@walmart/taskit-mini-app": "0.49.12",
"@walmart/time-clock-mini-app": "2.25.0",
"@walmart/ui-components": "1.9.0",
"@walmart/welcomeme-mini-app": "0.76.0",
@@ -5336,9 +5336,9 @@
}
},
"node_modules/@walmart/iteminfo-mini-app": {
- "version": "5.3.5",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-5.3.5.tgz",
- "integrity": "sha512-786nix/xXHvAEPDEL7pJGEdUmH0aHt1FGBXjvzqqYsxFie6Zs2KSMxtS1eQQq/Vd9/hpn+trW88M2EmEzKDGpw==",
+ "version": "7.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.2.tgz",
+ "integrity": "sha512-PhtZPTWbtb2NEX/d/J71gQB+QP7dCttDjAck7uM7R+k7HKCizQNs9hG0mh7ySDzGFy0Gjd46BnuuV47c+f93IQ==",
"peerDependencies": {
"@react-native-community/async-storage": ">=1.12.1",
"@react-native-community/netinfo": ">=9.3.6",
@@ -5357,8 +5357,8 @@
"@walmart/config-components": ">=1.0.8",
"@walmart/counts-component-miniapp": ">=0.0.21",
"@walmart/functional-components": ">=2.0.6",
- "@walmart/gtp-shared-components": ">=2.0.0",
- "@walmart/ims-print-services-ui": ">=1.2.0",
+ "@walmart/gtp-shared-components": ">=2.0.2",
+ "@walmart/ims-print-services-ui": ">=2.0.1",
"@walmart/price-changes-mini-app": ">=1.4.5",
"@walmart/react-native-env": ">=0.2.0",
"@walmart/react-native-logger": ">=1.29.0",
@@ -6064,9 +6064,9 @@
}
},
"node_modules/@walmart/taskit-mini-app": {
- "version": "0.49.11",
- "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.11.tgz",
- "integrity": "sha512-D0Oi1XUgIvxIVjQL2wl0nyeTJr0Sqcvtezbag3ZG0tMlwxGJMXNB2PvkQ5n8JBuAV1YRlggsGtIp+yLz+slgCQ==",
+ "version": "0.49.12",
+ "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.49.12.tgz",
+ "integrity": "sha512-Qv9d7niybQ9sVyN87KI3gpbSa3I+QVLwf+TjW+l+mgG1LHRUou8uCygL5bfKDOB6acg5FqFKQ+x/ccEv74Fhtg==",
"peerDependencies": {
"@terrylinla/react-native-sketch-canvas": "^0.8.0",
"@types/lodash": ">=4.14.176",
@@ -25410,9 +25410,9 @@
}
},
"@walmart/iteminfo-mini-app": {
- "version": "5.3.5",
- "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-5.3.5.tgz",
- "integrity": "sha512-786nix/xXHvAEPDEL7pJGEdUmH0aHt1FGBXjvzqqYsxFie6Zs2KSMxtS1eQQq/Vd9/hpn+trW88M2EmEzKDGpw=="
+ "version": "7.0.2",
+ "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.2.tgz",
+ "integrity": "sha512-PhtZPTWbtb2NEX/d/J71gQB+QP7dCttDjAck7uM7R+k7HKCizQNs9hG0mh7ySDzGFy0Gjd46BnuuV47c+f93IQ=="
},
"@walmart/manager-approvals-miniapp": {
"version": "0.2.1",
--- package.json
@@ -97,7 +97,7 @@
"@walmart/impersonation-mini-app": "1.11.0",
"@walmart/ims-print-services-ui": "1.2.2",
"@walmart/inbox-mini-app": "0.81.9",
- "@walmart/iteminfo-mini-app": "5.3.5",
+ "@walmart/iteminfo-mini-app": "7.0.2",
"@walmart/manager-approvals-miniapp": "0.2.1",
"@walmart/me-field-mini-app": "1.1.45",
"@walmart/metrics-mini-app": "0.9.38",
| bump up iteminfo to 7.0.2 for drop 9.1 | bump up iteminfo to 7.0.2 for drop 9.1
|
08a60a9d8407919af8d40c0bbb5511d0503ae501 | --- package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.16-alpha-10",
+ "version": "1.0.16-alpha-11",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@walmart/myteam-mini-app",
- "version": "1.0.16-alpha-10",
+ "version": "1.0.16-alpha-11",
"hasInstallScript": true,
"devDependencies": {
"@babel/core": "^7.20.0",
@@ -66,9 +66,9 @@
"@walmart/react-native-shared-navigation": "1.0.2",
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
- "@walmart/roster-mini-app": "1.0.17-alpha-10",
+ "@walmart/roster-mini-app": "1.0.17-alpha-11",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16-alpha-10",
+ "@walmart/wmconnect-mini-app": "1.0.16-alpha-11",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
@@ -11817,9 +11817,9 @@
}
},
"node_modules/@walmart/roster-mini-app": {
- "version": "1.0.17-alpha-10",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-10.tgz",
- "integrity": "sha512-lwEpQ3Q2sa6NKMb84tUdwlani5s7l3Vn2kDrYsNkMy/WqUQ8PXsb1/eApaE1QXaISFml90TDshvTat30wVxA3w==",
+ "version": "1.0.17-alpha-11",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-11.tgz",
+ "integrity": "sha512-JgwCJoAea7CTz8sYEtKE7O7FnvZy9BfTwBrVroXBcWEXxVOzMWpzQGB5Zqn6t91UKdEP414exnDgRJWgpqg+fQ==",
"dev": true,
"hasInstallScript": true
},
@@ -11846,9 +11846,9 @@
}
},
"node_modules/@walmart/wmconnect-mini-app": {
- "version": "1.0.16-alpha-10",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-10.tgz",
- "integrity": "sha512-kLIOJY8cvke+QByN7/PuCVgkg5Kp3b07zVvZO+X4EO52WXNvTZ1KIIMBh1aa1uczko4OunO92KtiDBr8bbJbjg==",
+ "version": "1.0.16-alpha-11",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-11.tgz",
+ "integrity": "sha512-HqKyB2VNEmM0ZAfTrmpg4D0mpyWk0VVNgT0O1Douuuk0K5ncO0oboxBOzbvHgnT+HGHKYJaErkf1njgc46EvYA==",
"dev": true,
"hasInstallScript": true
},
@@ -40901,9 +40901,9 @@
}
},
"@walmart/roster-mini-app": {
- "version": "1.0.17-alpha-10",
- "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-10.tgz",
- "integrity": "sha512-lwEpQ3Q2sa6NKMb84tUdwlani5s7l3Vn2kDrYsNkMy/WqUQ8PXsb1/eApaE1QXaISFml90TDshvTat30wVxA3w==",
+ "version": "1.0.17-alpha-11",
+ "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-11.tgz",
+ "integrity": "sha512-JgwCJoAea7CTz8sYEtKE7O7FnvZy9BfTwBrVroXBcWEXxVOzMWpzQGB5Zqn6t91UKdEP414exnDgRJWgpqg+fQ==",
"dev": true
},
"@walmart/ui-components": {
@@ -40918,9 +40918,9 @@
}
},
"@walmart/wmconnect-mini-app": {
- "version": "1.0.16-alpha-10",
- "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-10.tgz",
- "integrity": "sha512-kLIOJY8cvke+QByN7/PuCVgkg5Kp3b07zVvZO+X4EO52WXNvTZ1KIIMBh1aa1uczko4OunO92KtiDBr8bbJbjg==",
+ "version": "1.0.16-alpha-11",
+ "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-11.tgz",
+ "integrity": "sha512-HqKyB2VNEmM0ZAfTrmpg4D0mpyWk0VVNgT0O1Douuuk0K5ncO0oboxBOzbvHgnT+HGHKYJaErkf1njgc46EvYA==",
"dev": true
},
"@whatwg-node/events": {
--- package.json
@@ -1,6 +1,6 @@
{
"name": "@walmart/myteam-mini-app",
- "version": "1.0.16-alpha-10",
+ "version": "1.0.16-alpha-11",
"private": false,
"main": "dist/index.js",
"files": [
@@ -89,8 +89,8 @@
"@walmart/react-native-sumo-sdk": "2.6.0",
"@walmart/redux-store": "3.7.0",
"@walmart/ui-components": "1.15.1",
- "@walmart/wmconnect-mini-app": "1.0.16-alpha-10",
- "@walmart/roster-mini-app": "1.0.17-alpha-10",
+ "@walmart/wmconnect-mini-app": "1.0.16-alpha-11",
+ "@walmart/roster-mini-app": "1.0.17-alpha-11",
"babel-jest": "^29.2.1",
"chance": "^1.1.11",
"eslint": "8.22.0",
--- src/navigation/utils.ts
@@ -116,7 +116,7 @@ export const onNewMessage = () => {
'newMessageNavigation',
{
routeInfo: routeInfo,
- message: 'New message navigation from outside MyTeam',
+ message: 'New message navigation',
},
10,
);
| Update version | Update version
|
84ef5b76cc0c3e16c4b84e4c1390c5dbb807b636 | --- src/components/ChatInput.tsx
@@ -75,7 +75,7 @@ export const ChatInput = (props: {
const [text, setText] = useState('');
const [imageAsset, setImageAsset] = useState<Asset>();
- const disabled = !text;
+ const disabled = !text && !imageAsset;
const progress = useDerivedValue(() => {
return withTiming(disabled ? 0 : 1, {duration: 150});
--- src/components/ChatInput.tsx
@@ -75,7 +75,7 @@ export const ChatInput = (props: {
const [text, setText] = useState('');
const [imageAsset, setImageAsset] = useState<Asset>();
- const disabled = !text;
+ const disabled = !text && !imageAsset;
const progress = useDerivedValue(() => {
return withTiming(disabled ? 0 : 1, {duration: 150});
| Sending image without texting | Sending image without texting
|
bad4d1c0b7dd9597a3e2121a2b2e65e666fffb32 | --- ios/Podfile.lock
@@ -615,6 +615,8 @@ PODS:
- BoringSSL-GRPC/Implementation (0.0.24):
- BoringSSL-GRPC/Interface (= 0.0.24)
- BoringSSL-GRPC/Interface (0.0.24)
+ - BVLinearGradient (2.6.2):
+ - React-Core
- CocoaAsyncSocket (7.6.5)
- CodePush (8.2.2):
- Base64 (~> 1.1)
@@ -2232,7 +2234,7 @@ PODS:
- FirebaseMessaging (<= 10.18.0)
- StructuredLogAssistantIOS (= 0.0.7)
- TOCropViewController (2.6.1)
- - topstock-mini-app (1.9.7):
+ - topstock-mini-app (1.10.8):
- React
- VisionCamera (3.7.1):
- React
@@ -2248,6 +2250,7 @@ PODS:
DEPENDENCIES:
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
+ - BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- CocoaAsyncSocket
- CodePush (from `../node_modules/react-native-code-push`)
- "compass-sdk-rn (from `../node_modules/@walmart/compass-sdk-rn`)"
@@ -2476,6 +2479,8 @@ SPEC REPOS:
EXTERNAL SOURCES:
boost:
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
+ BVLinearGradient:
+ :path: "../node_modules/react-native-linear-gradient"
CodePush:
:path: "../node_modules/react-native-code-push"
compass-sdk-rn:
@@ -2727,6 +2732,7 @@ SPEC CHECKSUMS:
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost: 26fad476bfa736552bbfa698a06cc530475c1505
BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
+ BVLinearGradient: 34a999fda29036898a09c6a6b728b0b4189e1a44
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CodePush: eaa66fc8dd9ff611304ecc48397ce8831ba79ac9
compass-sdk-ios: 8077b7076d749de27c83846bad97ecde13f28657
@@ -2899,12 +2905,12 @@ SPEC CHECKSUMS:
StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1
SumoSDK: 58664bf3b83e2f4bcdfc52704235ab4bca519ceb
TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863
- topstock-mini-app: a58be8e38900135dbfe432bb35d5c9a2acaf6c4a
+ topstock-mini-app: b194faed10e28756619b4105d6de60965bcd2058
VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a
walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c
WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b
wifi-store-locator: 501fca0a220c725ed93ab403635c0f246a8ce7e3
- Yoga: c716aea2ee01df6258550c7505fa61b248145ced
+ Yoga: 47d399a73c0c0caa9ff824e5c657eae31215bfee
PODFILE CHECKSUM: fc93c11e2096b0f20e15b7c98c1efea2b0908817
--- package.json
@@ -146,7 +146,7 @@
"@walmart/store-feature-orders": "1.26.9",
"@walmart/taskit-mini-app": "3.0.2",
"@walmart/time-clock-mini-app": "2.395.0",
- "@walmart/topstock-mini-app": "1.9.7",
+ "@walmart/topstock-mini-app": "1.10.8",
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch",
"@walmart/welcomeme-mini-app": "0.94.0",
"@walmart/wfm-ui": "0.8.12",
--- yarn.lock
@@ -7259,9 +7259,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/topstock-mini-app@npm:1.9.7":
- version: 1.9.7
- resolution: "@walmart/topstock-mini-app@npm:1.9.7"
+"@walmart/topstock-mini-app@npm:1.10.8":
+ version: 1.10.8
+ resolution: "@walmart/topstock-mini-app@npm:1.10.8"
peerDependencies:
"@react-native-firebase/app": ^15.1.1
"@react-native-firebase/crashlytics": ^15.1.1
@@ -7278,7 +7278,7 @@ __metadata:
react-native-haptic-feedback: ^1.13.0
react-native-vector-icons: ">=6.6.0"
react-redux: ">=7.2.0"
- checksum: 10c0/05755222cebe2c0bafd4393e8c80c7a2ae4c046b6c86e4adbfd7fd4a2f95b527b1314b19b29d85e28b1926cd4822d2bc2eb90cacbfb7a0585ccd3fdcb5357780
+ checksum: 10c0/ba43295c85f5376b0cb43bf10e1487d3b9c28ec2bfc94abe01442f4c3a7dd36ef27dea9b3d9305878828e6fa8e6fdb3110920ff9125af31b501a1567ee166281
languageName: node
linkType: hard
@@ -7861,7 +7861,7 @@ __metadata:
"@walmart/store-feature-orders": "npm:1.26.9"
"@walmart/taskit-mini-app": "npm:3.0.2"
"@walmart/time-clock-mini-app": "npm:2.395.0"
- "@walmart/topstock-mini-app": "npm:1.9.7"
+ "@walmart/topstock-mini-app": "npm:1.10.8"
"@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch"
"@walmart/welcomeme-mini-app": "npm:0.94.0"
"@walmart/wfm-ui": "npm:0.8.12"
| Revert "Rollback topstock to 1.9.7" | Revert "Rollback topstock to 1.9.7"
|
fb1c6a59f065231750c239d9c30d2b8e550818b3 | --- package.json
@@ -157,7 +157,7 @@
"@walmart/react-native-scanner-3.0": "0.17.5",
"@walmart/react-native-shared-navigation": "~6.3.28",
"@walmart/react-native-store-map": "0.3.7",
- "@walmart/react-native-sumo-sdk": "2.9.0-alpha.2",
+ "@walmart/react-native-sumo-sdk": "2.9.0",
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.9.25#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.9.25-7da6a41765.patch",
"@walmart/receipt-check-miniapp": "1.34.13",
"@walmart/redux-store": "~6.3.28",
--- yarn.lock
@@ -8919,7 +8919,7 @@ __metadata:
"@walmart/react-native-scanner-3.0": "npm:0.17.5"
"@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.9.0-alpha.2"
+ "@walmart/react-native-sumo-sdk": "npm:2.9.0"
"@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.9.25#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.9.25-7da6a41765.patch"
"@walmart/receipt-check-miniapp": "npm:1.34.13"
"@walmart/redux-store": "npm:~6.3.28"
@@ -9556,14 +9556,14 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/react-native-sumo-sdk@npm:2.9.0-alpha.2":
- version: 2.9.0-alpha.2
- resolution: "@walmart/react-native-sumo-sdk@npm:2.9.0-alpha.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-sumo-sdk%2F-%2F%40walmart%2Freact-native-sumo-sdk-2.9.0-alpha.2.tgz"
+"@walmart/react-native-sumo-sdk@npm:2.9.0":
+ version: 2.9.0
+ resolution: "@walmart/react-native-sumo-sdk@npm:2.9.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Freact-native-sumo-sdk%2F-%2F%40walmart%2Freact-native-sumo-sdk-2.9.0.tgz"
peerDependencies:
"@babel/runtime": "*"
react: "*"
react-native: "*"
- checksum: 10c0/1e2d2bd2009f48db23cd934b4c422b1924bd0b969abc7e2de892444a84d187652122658fca5cfba0484df6e484b59a7d55911310241f23108375cf7a30aaefc2
+ checksum: 10c0/989609aa65a6b59b3fe45bb863e2812ce831e773ddbbe84b7a5c58f0836d4ad72c0dc879cfea08820d38a5b282bf6926a775f416089a8e2b7879262dd569e1b6
languageName: node
linkType: hard
| chore(bump): bumped sumo sdk version (#5291) | chore(bump): bumped sumo sdk version (#5291)
Co-authored-by: Hariharan Sundaram <hariharan.sundaram0@walmart.com> |
d5d66f120bd47c370f78331d9415388b65eb649e | --- package.json
@@ -1,6 +1,6 @@
{
"name": "allspark",
- "workspaces": ["./packages/!(allspark)"],
+ "workspaces": ["./packages/*"],
"version": "1.16.0",
"description": "",
"private": true,
--- packages/allspark/package.json
@@ -2,6 +2,7 @@
"name": "@walmart/allspark",
"version": "5.0.0-beta.2",
"description": "",
+ "private": true,
"publishConfig": {
"registry": "https://npme.walmart.com/"
},
| chore: workspaces fix | chore: workspaces fix
|
bf96108c0a818625c244045b6debe396d5157b09 | --- package.json
@@ -361,7 +361,7 @@
"@walmart/emergency-mini-app": "1.27.0",
"@walmart/exception-mini-app": "1.7.4",
"@walmart/facilities-management-miniapp": "0.8.1",
- "@walmart/feedback-all-spark-miniapp": "0.9.58",
+ "@walmart/feedback-all-spark-miniapp": "0.9.59",
"@walmart/financial-wellbeing-feature-app": "1.20.1",
"@walmart/functional-components": "6.0.2",
"@walmart/gta-react-native-calendars": "0.6.0",
| GDVCVR-16204 Drop 20 Feedback mini app changes | GDVCVR-16204 Drop 20 Feedback mini app changes
|
11df6ef87df2d5628b65a409a1781a33a02df544 | --- android/app/build.gradle
@@ -134,7 +134,7 @@ android {
applicationId "com.walmart.stores.allspark.beta"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 33
+ versionCode 34
versionName "1.0.2"
}
splits {
--- ios/AllSpark/Info.plist
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>33</string>
+ <string>34</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>invmgmt</string>
--- ios/AllSparkTests/Info.plist
@@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>33</string>
+ <string>34</string>
</dict>
</plist>
| Incrementing build number | Incrementing build number
|
f91350bcd32ac81f1d95cb84bed779177a354068 | --- package.json
@@ -95,8 +95,8 @@
"@walmart/associate-exp-hub-team-switcher": "2.19.0",
"@walmart/associate-listening-mini-app": "1.2.59",
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch",
- "@walmart/avp-feature-app": "0.28.31",
- "@walmart/avp-shared-library": "0.27.21",
+ "@walmart/avp-feature-app": "0.28.42",
+ "@walmart/avp-shared-library": "0.27.24",
"@walmart/ax-components": "1.2.3",
"@walmart/backroom-mini-app": "1.17.7",
"@walmart/beneficiary-online-mini-app": "0.1.26",
--- yarn.lock
@@ -7575,9 +7575,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/avp-feature-app@npm:0.28.31":
- version: 0.28.31
- resolution: "@walmart/avp-feature-app@npm:0.28.31::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-feature-app%2F-%2F%40walmart%2Favp-feature-app-0.28.31.tgz"
+"@walmart/avp-feature-app@npm:0.28.42":
+ version: 0.28.42
+ resolution: "@walmart/avp-feature-app@npm:0.28.42::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-feature-app%2F-%2F%40walmart%2Favp-feature-app-0.28.42.tgz"
peerDependencies:
"@react-navigation/native": "*"
"@react-navigation/native-stack": ^7.7.0
@@ -7586,13 +7586,13 @@ __metadata:
react-native: ">=0.72.10"
react-redux: "*"
redux: "*"
- checksum: 10c0/ed67e8c48a37ee685e569b73b2762fca666b7956119914ce79b915a2c7baff313febd2210fb616b65fcf188732145f9ad2293b31df7ab6c8cd951a6ca3f0840b
+ checksum: 10c0/72d71f3daebb87ebd3d2c717a5ff89e82600c6aadbffcbbb3d1654f3b15ce9b8fe959941ba088c8ca01551fad0dd549b87f72bdf442c582d18ae6cf3d82f60c2
languageName: node
linkType: hard
-"@walmart/avp-shared-library@npm:0.27.21":
- version: 0.27.21
- resolution: "@walmart/avp-shared-library@npm:0.27.21::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-shared-library%2F-%2F%40walmart%2Favp-shared-library-0.27.21.tgz"
+"@walmart/avp-shared-library@npm:0.27.24":
+ version: 0.27.24
+ resolution: "@walmart/avp-shared-library@npm:0.27.24::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Favp-shared-library%2F-%2F%40walmart%2Favp-shared-library-0.27.24.tgz"
peerDependencies:
"@walmart/allspark-foundation": "*"
axios: ^1.3.4
@@ -7603,7 +7603,7 @@ __metadata:
redux-saga: ^1.1.3
reduxsauce: ^1.2.0
reselect: ^4.1.7
- checksum: 10c0/b988fc955d717d08d9c46a487f134baf1ac84d01c2d2baf427e567de2cb2e7b607473fae7a5c280d7d7298a0619ee1073d520721445b99c0c9bbc0338cacddda
+ checksum: 10c0/0fb6ad701320d2446665a1f4385689273a8e5001b217482a58d4a0e759d8bd2f87dc63588993ec150b246d4f027306c7927dd4b15128ce11e2362d9a09af3611
languageName: node
linkType: hard
@@ -8493,8 +8493,8 @@ __metadata:
"@walmart/associate-exp-hub-team-switcher": "npm:2.19.0"
"@walmart/associate-listening-mini-app": "npm:1.2.59"
"@walmart/attendance-mini-app": "patch:@walmart/attendance-mini-app@npm:3.176.0#~/.yarn/patches/@walmart-attendance-mini-app-npm-3.176.0-b8336306f0.patch"
- "@walmart/avp-feature-app": "npm:0.28.31"
- "@walmart/avp-shared-library": "npm:0.27.21"
+ "@walmart/avp-feature-app": "npm:0.28.42"
+ "@walmart/avp-shared-library": "npm:0.27.24"
"@walmart/ax-components": "npm:1.2.3"
"@walmart/backroom-mini-app": "npm:1.17.7"
"@walmart/beneficiary-online-mini-app": "npm:0.1.26"
| feat: Add 401k changes and new hire next pay date fix (#5183) | feat: Add 401k changes and new hire next pay date fix (#5183)
Co-authored-by: Madhusudhanan Vridhagiri - m0v069r <Madhusudhanan.Vridha@walmart.com>
Co-authored-by: Shubhang Shah - s0s0zug <Shubhang.Shah@walmart.com>
Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> |
ef2f5d3151187f9918c87897efe79c67888d4c42 | --- package.json
@@ -106,7 +106,7 @@
"@walmart/celebration-mini-app": "1.40.0",
"@walmart/checkout-mini-app": "4.21.4",
"@walmart/clock-status-plugin": "0.13.0",
- "@walmart/comp-shopper-mini-app": "0.0.2",
+ "@walmart/comp-shopper-mini-app": "0.0.3",
"@walmart/compass-sdk-rn": "6.4.16",
"@walmart/config-components": "4.12.3",
"@walmart/core-services": "~6.5.2",
--- yarn.lock
@@ -8189,9 +8189,9 @@ __metadata:
languageName: node
linkType: hard
-"@walmart/comp-shopper-mini-app@npm:0.0.2":
- version: 0.0.2
- resolution: "@walmart/comp-shopper-mini-app@npm:0.0.2::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcomp-shopper-mini-app%2F-%2F%40walmart%2Fcomp-shopper-mini-app-0.0.2.tgz"
+"@walmart/comp-shopper-mini-app@npm:0.0.3":
+ version: 0.0.3
+ resolution: "@walmart/comp-shopper-mini-app@npm:0.0.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fcomp-shopper-mini-app%2F-%2F%40walmart%2Fcomp-shopper-mini-app-0.0.3.tgz"
peerDependencies:
"@walmart/allspark-foundation": 6.62.5
"@walmart/gtp-shared-components-3": "*"
@@ -8202,7 +8202,7 @@ __metadata:
react-native: 0.79.x
react-native-safe-area-context: ">=5.4.x"
react-native-web: "*"
- checksum: 10c0/a32e7155194769cfced194e133edd5a216612179b1fe096a2a6ba5477dad048f19e51c21e720a1dfb17f832c1e559e2fe799aace1392cdecc2b076f432e26a21
+ checksum: 10c0/54eeed9127228f6f603283632095390483167c48eec3437ab32e3e304e8c21667dcae4df0aaf4da71dab91cf0ab6e3e88f0377dd040a1d29a70197615674d6a6
languageName: node
linkType: hard
@@ -8868,7 +8868,7 @@ __metadata:
"@walmart/celebration-mini-app": "npm:1.40.0"
"@walmart/checkout-mini-app": "npm:4.21.4"
"@walmart/clock-status-plugin": "npm:0.13.0"
- "@walmart/comp-shopper-mini-app": "npm:0.0.2"
+ "@walmart/comp-shopper-mini-app": "npm:0.0.3"
"@walmart/compass-sdk-rn": "npm:6.4.16"
"@walmart/config-components": "npm:4.12.3"
"@walmart/core-services": "npm:~6.5.2"
| Compshop FAB changes - Drop 35.1 (#5284) | Compshop FAB changes - Drop 35.1 (#5284)
|
c4c5131fa793c269c3cfd8409cd3e1a315499e64 | --- src/managerExperience/components/ShiftSwitcherContainer/ShiftSwitcherContainer.tsx
@@ -1,7 +1,7 @@
import React from 'react';
-import {View, Text} from 'react-native';
+import {View} from 'react-native';
import {ShiftSwitcherContainerStyles as styles} from './style';
-import {Chip} from '@walmart/gtp-shared-components';
+import {CaretDownIcon, Chip} from '@walmart/gtp-shared-components';
import {translationClient} from '../../../common/translation';
import {Associate} from '../../../types';
import {associateIsClockedIn} from '../../../utils';
@@ -29,7 +29,7 @@ export const ShiftSwitcherContainer = ({
<Chip id='switcher' testID='shiftChip' UNSAFE_style={styles.shiftChip}>
{t('rosterScreen.shiftChip.shift')}
{' | '}
- <Text style={styles.downCaret}>▼</Text>
+ <CaretDownIcon />
</Chip>
)}
| fix: caret fix | fix: caret fix
|
ce5067ed342b958b9804726d1dbd66daf449b7f7 | --- __tests__/components/AssociateRosterItem.test.tsx
@@ -88,7 +88,7 @@ describe('AssociateRosterItem', () => {
fireEvent.press(messageButton);
expect(mockDispatch).toBeCalledWith({
payload: 'Testfirst Testlast',
- type: 'roster/SET_SEARCH_TEXT',
+ type: 'texting/SET_SEARCH_TEXT',
});
});
--- __tests__/components/RecentSearchHistory.test.tsx
@@ -102,10 +102,10 @@ describe('RecentSearchHistory', () => {
const keyExtractor = flashList.props.keyExtractor('Test Item', 111);
expect(keyExtractor).toBe('111');
- renderItem.props.associateLinkHandler.associateLinkHandler('Test Item');
+ renderItem.props.associateLinkHandler('Test Item');
expect(mockDispatch).toHaveBeenCalledWith({
payload: 'Test Item',
- type: 'roster/SET_SEARCH_TEXT',
+ type: 'texting/SET_SEARCH_TEXT',
});
});
});
--- __tests__/harness/athenaQueries/getDailyRoster.ts
@@ -478,6 +478,7 @@ export const createMockDailyRosterResponse = (responseData: any) => {
days: 1,
startDate: currentDay,
storeId: '100',
+ businessUnitNumber: 100,
},
},
result: {
--- __tests__/screens/RosterScreen/__snapshots__/AssociateList.test.tsx.snap
@@ -464,6 +464,25 @@ exports[`AssociateListItem should render StatusChip if show chip prop is defined
}
}
>
+ <Text
+ accessibilityRole="text"
+ style={
+ [
+ {
+ "color": "#2e2f32",
+ "fontFamily": "Bogle",
+ "fontSize": 18,
+ "fontStyle": "normal",
+ "fontWeight": "700",
+ "lineHeight": 24,
+ },
+ {},
+ ]
+ }
+ testID="ListItem-title"
+ >
+ 12345
+ </Text>
<Text
accessibilityRole="text"
numberOfLines={1}
| fixing broken tests | fixing broken tests
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.