commit_hash
stringlengths
40
40
input
stringlengths
13
7.99k
output
stringlengths
5
155
full_message
stringlengths
6
8.96k
1b68191cdb011dd86804509c0a1291acf841a40d
--- packages/allspark-foundation/src/Feature/README.md @@ -202,7 +202,7 @@ MyFeature.createModule({ }); ``` -See [Allspark Translation: Translation Resources](../Translation/README.md#translation-resources) for configuration details. +See [Allspark Translation: Translation Resources](../Translation/README.md#translation-resources) for more details. See [AllsparkFeatureTranslations](#allsparkfeaturetranslations) for a utility to more easily create and type a translation config. @@ -243,7 +243,7 @@ MyFeatureGraphqlClient.useLazyQuery({...}); Creates an `AllsparkTranslationClient` instance that is scoped to the feature. -See [AllsparkTranslationClient](../TranslationClient/README.md#allsparktranslationclient) for configuration and usage details. +See [Allspark Translation: Feature Client](../Translation/README.md#feature-client) for more details. ```typescript const MyFeatureTranslationClient = MyFeature.createTranslationClient(); @@ -256,7 +256,7 @@ MyFeatureTranslationClient.useTranslation(); Creates an `AllsparkLoggerService` instance that is scoped to the feature. -See [AllsparkLogger](../Logger/README.md#allsparklogger) for configuration and usage details. +See [AllsparkLogger]() for configuration and usage details. ```typescript const MyFeatureLogger = MyFeature.createLogger({ @@ -272,7 +272,7 @@ MyFeatureLogger.error('some log'); Creates an `AllsparkTelemetryService` instance that is scoped to the feature. -See [AllsparkTelemetry](../Telemetry/README.md#allsparktelemetry) for configuration and usage details. +See [AllsparkTelemetry]() for configuration and usage details. ```typescript const MyFeatureTelemetry = MyFeature.createTelemetry({ @@ -287,7 +287,7 @@ MyFeatureTelemetry.startTrace('id'); Creates an `AllsparkLocalStorageService` instance that is scoped to the feature. -See [AllsparkLocalStorage](../LocalStorage/README.md#allsparklocalstorage) for configuration and usage details. +See [AllsparkLocalStorage](../LocalStorage/README.md#how-to-use-in-a-feature-app) for more details. ```typescript const MyFeatureLocalStorage = MyFeature.createLocalStorage({ --- packages/allspark-foundation/src/Translation/README.md @@ -1 +1,84 @@ -# Allspark Translation Client \ No newline at end of file +# Allspark Translation Client + +The Allspark Translation Client is an extension of [i18next](https://www.i18next.com/) that adds functionality to create scoped feature clients and configure at runtime. + +## How to use in a Feature App? + +## Feature Client + +Features can create a translation client using the `createTranslationClient` method on their feature instance. + +```ts +const MyFeature = new AllsparkFeature('myFeature'); + +const MyFeatureTranslationClient = MyFeature.createTranslationClient(); +``` + +## Feature Translation + +Features can use their scoped client to access their translations either with the `translate` method or the `useTranslation` hook. + +```ts +MyFeatureTranslationClient.translate('hello'); +// or +const {t} = MyFeatureTranslationClient.useTranslation(); +t('hello'); +``` + +Features translations are added under a namespace matching their `featureId`. So they can also be access with the global `useAllsparkTranslation` hook or the `useTranslation` hook from 'react-i18next'. You'll just need to pass the featureId as the first argument. + +```ts +import { useTranslation } from 'react-i18next'; +import { useAllsparkTranslation } from '@walmart/allspark-foundation/Translation'; + +const {t} = useTranslation('myFeature'); +const {t} = useAllsparkTranslation('myFeature'); +``` + +### Define Feature Translations + +An `AllsparkFeature` should define it [translation resources](#translation-resources) when [creating its feature module](../Feature/README.md#step-3-create-a-feature-module). + +```ts +import { AllsparkFeature } from '@walmart/allspark-foundation/Feature'; + +MyFeature.createModule({ + // ... + translations: { + 'en-US': { + hello: 'Hello', + world: 'World', + }, + 'es-MX': { + hello: 'Hola', + world: 'Mundo', + }, + }, + // ... +}); +``` + +## Translation Resources + +A translation resource is an object that contains the translations for a given language. The keys of the object are the translation keys and the values are the translated strings. + +```typescript +const englishResources = { + hello: 'Hello', + world: 'World', +}; + +const spanishResources = { + hello: 'Hola', + world: 'Mundo', +}; +``` + +Translation resources is an object that contains multiple translation resources. The keys of the object are the language codes and the values are the translation resources. This is what an `AllsparkFeature` uses when [creating a feature module](../Feature/README.md#step-3-create-a-feature-module). + +```typescript +const translationResources = { + 'en-US': englishResources, + 'es-MX': spanishResources, +}; +```
chore: readme updates
chore: readme updates
b1683fdfea690166c2c271bb91d058b0fb2b86a9
--- package-lock.json @@ -3328,9 +3328,9 @@ "integrity": "sha512-EQAXiiNzF4D/LqiAH06fsC9PjtCLgi1XKJhK9wbKf0UPlJvIRruy6lO5mrqVNGo1RdkeuY7Kv/jaQ5bCmOBeUQ==" }, "@walmart/exception-mini-app": { - "version": "0.28.0-rc.1", - "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0-rc.1.tgz", - "integrity": "sha512-4wRGJbkwplJR7ERAi6CZb6Ad/HdyXIfjaYzKzwxbWduqJzyz+KtV4SK8IgR+yj3HuoA7WiEXFw4KhaeXcFxvjQ==" + "version": "0.28.0-rc.5", + "resolved": "https://npme.walmart.com/@walmart/exception-mini-app/-/exception-mini-app-0.28.0-rc.5.tgz", + "integrity": "sha512-WWs9owBsNdQpWOQnDvfM6EIcD09+emK+UHjYVuT6n1nbBPK70Ia28UXyrWoSUXyD+bEbQ8OI18wwfi3lqrZbSA==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.0.55", @@ -3504,9 +3504,9 @@ } }, "@walmart/settings-mini-app": { - "version": "1.2.8", - "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.2.8.tgz", - "integrity": "sha512-7bZ0SydxoyX3Uq6GutvlzAk0XHSm4Qq+h3i/3QyAHYDNQgzcGvY1APV6cKLk2kAP+He85RGN0acAWLg9nW+nDQ==" + "version": "1.3.1", + "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.3.1.tgz", + "integrity": "sha512-evCSqzpF8EiedKJeKmNY5b17IH1Ijam3zzuvcd3v7kxudGNiJBCmH4emFrI+SeqPmyngTLJsuY04Jvd2+qwXcw==" }, "@walmart/shelfavailability-mini-app": { "version": "0.3.61", --- package.json @@ -70,7 +70,7 @@ "@walmart/ask-sam-mini-app": "0.30.10", "@walmart/config-components": "^1.0.26", "@walmart/counts-component-miniapp": "0.0.15", - "@walmart/exception-mini-app": "0.28.0-rc.1", + "@walmart/exception-mini-app": "0.28.0-rc.5", "@walmart/feedback-all-spark-miniapp": "0.0.55", "@walmart/functional-components": "1.0.31", "@walmart/gtp-shared-components": "^1.1.8", @@ -87,7 +87,7 @@ "@walmart/react-native-shared-navigation": "^0.4.0", "@walmart/redux-store": "^1.0.14", "@walmart/schedule-mini-app": "0.2.76", - "@walmart/settings-mini-app": "1.2.8", + "@walmart/settings-mini-app": "1.3.1", "@walmart/time-clock-mini-app": "0.3.8", "@walmart/ui-components": "1.1.50", "@walmart/welcomeme-mini-app": "0.26.2",
pinpoint and settings version bump
pinpoint and settings version bump
bd7fab3b69fc938faa93b4a928a14dcff47d7061
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/wmconnect-mini-app", - "version": "3.7.0-alpha.0", + "version": "3.7.0-alpha.20", "main": "dist/index.js", "files": [ "dist",
chore(wmconnect): bump version to 3.7.0-alpha.20 for QA build
chore(wmconnect): bump version to 3.7.0-alpha.20 for QA build
ae0283b6e8e2f99753c8f93afc7308718de30487
--- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx @@ -473,7 +473,7 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [ clockCheckEnabled: false, }, { - featureId: FEEDBACK_ME, + featureId: MINI_APPS.FEEDBACK_ME, name: 'FeedbackDialogScreen', component: FeedbackDialogScreen, options: {
fix: add MINI_APPS.FEEDBACK_ME
fix: add MINI_APPS.FEEDBACK_ME
2c50a566ba2e10d297c6a4c768b868b7b5b2e89e
--- ios/Podfile.lock @@ -2232,7 +2232,7 @@ PODS: - FirebaseMessaging (<= 10.18.0) - StructuredLogAssistantIOS (= 0.0.7) - TOCropViewController (2.6.1) - - topstock-mini-app (1.10.8): + - topstock-mini-app (1.12.0): - React - VisionCamera (3.7.1): - React @@ -2899,7 +2899,7 @@ SPEC CHECKSUMS: StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1 SumoSDK: 58664bf3b83e2f4bcdfc52704235ab4bca519ceb TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863 - topstock-mini-app: b194faed10e28756619b4105d6de60965bcd2058 + topstock-mini-app: 37f838d08fe79248fc2e39c3f003e07afa51c2df VisionCamera: ef56ac9d3e0fef4b94c7cf75735aaccc2326e35a walmart-react-native-sumo-sdk: a6dc20c0ec3c8ab878886529a0e2fc22e747821c WebexSDK: d652713bd7ad5902e81918121912ba75a0056c3b --- 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.10.8", + "@walmart/topstock-mini-app": "1.12.0", "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch", "@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.10.8": - version: 1.10.8 - resolution: "@walmart/topstock-mini-app@npm:1.10.8" +"@walmart/topstock-mini-app@npm:1.12.0": + version: 1.12.0 + resolution: "@walmart/topstock-mini-app@npm:1.12.0" 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/ba43295c85f5376b0cb43bf10e1487d3b9c28ec2bfc94abe01442f4c3a7dd36ef27dea9b3d9305878828e6fa8e6fdb3110920ff9125af31b501a1567ee166281 + checksum: 10c0/64d49669316e55d8ed1bdce780f830cdf660d919b314d1f351dbc0e9877442cc268c3a1c34d768a1f4ed180f82ddfb6dae0e8cf7fe91483f9f2824c9c0fae105 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.10.8" + "@walmart/topstock-mini-app": "npm:1.12.0" "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.14#~/.yarn/patches/@walmart-ui-components-npm-1.15.14-a6f67304be.patch" "@walmart/welcomeme-mini-app": "npm:0.94.0" "@walmart/wfm-ui": "npm:0.8.12"
reverting yoga and cocopodods changes
reverting yoga and cocopodods changes
7d58c206eaa8cfca317f311778a9b2cc4a29c401
--- android/app/build.gradle @@ -134,7 +134,7 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 140 + versionCode 143 versionName "1.1.0" } splits { --- ios/AllSpark/Info.plist @@ -34,7 +34,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>140</string> + <string>143</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key>
bumping version code/build number
bumping version code/build number
fa938cde629058db30ab5ac5561900923e279d94
--- android/app/build.gradle @@ -153,8 +153,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 888 - versionName "1.7.5" + versionCode 894 + versionName "1.8.0" } splits { abi { --- ios/AllSpark/Info.plist @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.7.5</string> + <string>1.8.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -36,7 +36,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>888</string> + <string>894</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.7.5", + "version": "1.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.7.5", + "version": "1.8.0", "private": true, "scripts": { "android": "react-native run-android",
version bump to 1.8.0
version bump to 1.8.0
47b690aa5dfddcfca73fd01d620c15e8b651fc41
--- __tests__/permissions/__snapshots__/LocationScreenTest.tsx.snap @@ -90,6 +90,7 @@ exports[`LocationScreen matches snapshot 1`] = ` isLoading={false} onPress={[Function]} testID="enableButton" + variant="primary" > continueButton </Button> --- __tests__/permissions/__snapshots__/NotificationsScreenTest.tsx.snap @@ -92,6 +92,7 @@ exports[`NotificationsScreen matches snapshot 1`] = ` isLoading={false} onPress={[Function]} testID="enableButton" + variant="primary" > continueButton </Button> --- src/permissions/LocationScreen.tsx @@ -44,6 +44,7 @@ export const LocationScreen: FC< </Text> </View> <Button + variant='primary' testID='enableButton' onPress={onEnable} isLoading={loading} --- src/permissions/NotificationsScreen.tsx @@ -40,6 +40,7 @@ export const NotificationsScreen: FC<StackScreenProps<RootStackMap>> = () => { </Text> </View> <Button + variant='primary' testID='enableButton' onPress={onEnable} isLoading={loading}
fix(ui): ALLSPARK-5807 add primary variant to continue button (#4045)
fix(ui): ALLSPARK-5807 add primary variant to continue button (#4045) * fix(ui): ALLSPARK-5807 add primary variant to continue button * fix(ui): ALLSPARK-5807 update test snapshots to include variant --------- Co-authored-by: Shubhang Shah <s0s0zug@homeoffice.wal-mart.com>
ab9189db7a03af7cc197eb6ed35a233d35d5c764
--- src/index.tsx @@ -46,7 +46,7 @@ AllsparkComponentContainers.add( RosterWidget, ); -const Header = (props: any) => { +const Header = () => { const {t} = useTranslation([MY_TEAM_I18N_NAMESPACE]); return ( <HubHeader title={t('hubheader.title')} subText={t('hubheader.subText')} /> @@ -59,7 +59,7 @@ AllsparkComponentContainers.add( Header, ); -const Btn = (props: any) => ( +const Btn = () => ( <Button variant='secondary' size='medium' --- src/navigation/index.tsx @@ -30,8 +30,6 @@ import { import {useSelector} from 'react-redux'; import {displaySearchIcon} from '../redux/selectors'; import {AllsparkHubContainer} from '@walmart/allspark-foundation-hub/HubFeature'; -import {MY_TEAM_I18N_NAMESPACE} from '../translations'; -import {useTranslation} from 'react-i18next'; const TextingStack = createStackNavigator<TextingNavParamsMap>(); @@ -107,11 +105,10 @@ export const TextingNavigation = () => { }; export const TeamHub = () => { - const {t} = useTranslation([MY_TEAM_I18N_NAMESPACE]); const MyTeamHubContainer = new AllsparkHubContainer() .create( 'Me@Walmart.ManagerExperience.MyTeam', - 'manager-experience', + 'myTeam', 'myTeam.root', ['roster'], {
Update manager expeirence params
Update manager expeirence params
662a89655574a6bf987774c3317fdbe7a93adfa2
--- packages/allspark-foundation/__tests__/Permissions/PermissionsManager.test.ts @@ -1,5 +1,5 @@ import { PermissionsManager } from '../../src/Permissions/PermissionsManager'; -import { ReactNativePermissionsService } from '../../src/Permissions/ReactNativePermissionsService'; +import { RNPermissionsService } from '../../src/Permissions/RNPermissionsService'; import { PermissionActionCreators } from '../../src/Permissions/redux'; // Mock react-native-permissions @@ -30,12 +30,12 @@ const TEST_CAMERA_PERMISSION = 'ios.permission.CAMERA' as any; const TEST_MICROPHONE_PERMISSION = 'ios.permission.MICROPHONE' as any; describe('PermissionsManager', () => { - let service: ReactNativePermissionsService; + let service: RNPermissionsService; let manager: PermissionsManager; beforeEach(() => { jest.clearAllMocks(); - service = new ReactNativePermissionsService(); + service = new RNPermissionsService(); manager = new PermissionsManager({ service, dispatch: mockDispatch, @@ -131,19 +131,19 @@ describe('PermissionsManager', () => { it('should call openSettings', () => { const mockOpenSettings = require('react-native-permissions').openSettings; - + manager.openSettings(); expect(mockOpenSettings).toHaveBeenCalled(); }); }); -describe('ReactNativePermissionsService', () => { - let service: ReactNativePermissionsService; +describe('RNPermissionsService', () => { + let service: RNPermissionsService; beforeEach(() => { jest.clearAllMocks(); - service = new ReactNativePermissionsService(); + service = new RNPermissionsService(); }); it('should call react-native-permissions methods', async () => { --- packages/allspark-foundation/__tests__/Permissions/RNPermissionsService.test.ts @@ -1,4 +1,4 @@ -import { ReactNativePermissionsService } from '../../src/Permissions/ReactNativePermissionsService'; +import { RNPermissionsService } from '../../src/Permissions/RNPermissionsService'; import { Permission, PermissionStatus, @@ -23,12 +23,12 @@ jest.mock('react-native-permissions', () => ({ openSettings: mockOpenSettings, })); -describe('ReactNativePermissionsService', () => { - let service: ReactNativePermissionsService; +describe('RNPermissionsService', () => { + let service: RNPermissionsService; beforeEach(() => { jest.clearAllMocks(); - service = new ReactNativePermissionsService(); + service = new RNPermissionsService(); }); describe('lazy loading and error handling', () => { @@ -38,9 +38,9 @@ describe('ReactNativePermissionsService', () => { throw new Error('MODULE_NOT_FOUND'); }); - const brokenService = new ReactNativePermissionsService(); + const brokenService = new RNPermissionsService(); await expect(brokenService.check('camera' as Permission)).rejects.toThrow( - /ReactNativePermissionsService: react-native-permissions is required/ + /RNPermissionsService: react-native-permissions is required/ ); // Restore the mock to the original implementation --- packages/allspark-foundation/src/Permissions/README.md @@ -40,7 +40,7 @@ Interface that custom permissions implementations must implement for integration - **Key Features**: Request/check permissions, event listeners, configuration support - **Integration**: Implemented by container-provided services, injected into PermissionsModule -#### 🧩 **ReactNativePermissionsService** – Optional Implementation +#### 🧩 **RNPermissionsService** – Optional Implementation Optional implementation using `react-native-permissions` with Allspark-specific enhancements. @@ -72,9 +72,9 @@ The Permissions module is designed to integrate seamlessly with the Allspark fra ```typescript import { AllsparkContainer } from '@walmart/allspark-foundation/Container'; -import { ReactNativePermissionsService, IPermissionsService } from '@walmart/allspark-foundation/Permissions'; +import { RNPermissionsService, IPermissionsService } from '@walmart/allspark-foundation/Permissions'; -const permissionsService = new ReactNativePermissionsService({ +const permissionsService = new RNPermissionsService({ logger: myLogger, config: { // Custom configuration @@ -241,14 +241,14 @@ const PermissionsAwareFeature = () => { ## Service Implementation -Containers must provide their own permissions service implementation by either using the optional `ReactNativePermissionsService` or creating a custom implementation of the `IPermissionsService` interface. +Containers must provide their own permissions service implementation by either using the optional `RNPermissionsService` or creating a custom implementation of the `IPermissionsService` interface. -### Using ReactNativePermissionsService (Optional) +### Using RNPermissionsService (Optional) ```typescript -import { ReactNativePermissionsService } from '@walmart/allspark-foundation/Permissions'; +import { RNPermissionsService } from '@walmart/allspark-foundation/Permissions'; -const permissionsService = new ReactNativePermissionsService({ logger: myLogger }); +const permissionsService = new RNPermissionsService({ logger: myLogger }); ``` ### Creating a Custom Permissions Service --- packages/allspark-foundation/src/Permissions/RNPermissionsService.ts @@ -16,12 +16,12 @@ import { * This service provides the default permissions functionality for the PermissionsManager. * * @example - * import { ReactNativePermissionsService } from '@walmart/allspark-foundation/Permissions'; + * import { RNPermissionsService } from '@walmart/allspark-foundation/Permissions'; * - * const permissionsService = new ReactNativePermissionsService(); + * const permissionsService = new RNPermissionsService(); * const status = await permissionsService.check('camera'); */ -export class ReactNativePermissionsService implements IPermissionsService { +export class RNPermissionsService implements IPermissionsService { /** * Lazily loads the react-native-permissions module. * @returns The react-native-permissions module @@ -33,7 +33,7 @@ export class ReactNativePermissionsService implements IPermissionsService { return require('react-native-permissions') as typeof RNPermissions; } catch (error) { throw new Error( - 'ReactNativePermissionsService: react-native-permissions is required but not available. ' + + 'RNPermissionsService: react-native-permissions is required but not available. ' + 'Please install it or provide a custom implementation of IPermissionsService.' ); } --- packages/allspark-foundation/src/Permissions/index.ts @@ -1,7 +1,7 @@ export { PERMISSIONS } from 'react-native-permissions'; export * from './deprecated'; export { PermissionsModule } from './PermissionsModule'; -export { ReactNativePermissionsService } from './ReactNativePermissionsService'; +export { RNPermissionsService } from './RNPermissionsService'; export type { PermissionsState, IPermissionAction,
refactor(permissions): renamed permissions service to match other rn prefix
refactor(permissions): renamed permissions service to match other rn prefix
634e2f0656c8b245115bd02992be1f9497b1ddec
--- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/__snapshots__/MeStackNavTest.tsx.snap @@ -3,6 +3,7 @@ exports[`MeStackNav headerLeft of initial screen match snapshot 1`] = ` [ <IconButton + accessibilityLabel="menu.drawerButton" color="white" disabled={false} onPress={[Function]} --- core/__tests__/navigation/USHallway/AssociateHallwayNav/Tabs/__snapshots__/MyTeamStackNavTest.tsx.snap @@ -26,6 +26,7 @@ exports[`MyTeamStackNav matches snapshot - attendanceminiapp false 1`] = ` exports[`MyTeamStackNav matches snapshot - attendanceminiapp false 2`] = ` [ <IconButton + accessibilityLabel="menu.drawerButton" color="white" disabled={false} onPress={[Function]} @@ -77,6 +78,7 @@ exports[`MyTeamStackNav matches snapshot 1`] = ` exports[`MyTeamStackNav matches snapshot 2`] = ` [ <IconButton + accessibilityLabel="menu.drawerButton" color="white" disabled={false} onPress={[Function]}
fix: updated snapshots
fix: updated snapshots
ffe993ededd7bdb8fed258b5f5c7d41ad85d5a53
--- package.json @@ -112,7 +112,7 @@ "@walmart/ims-print-services-ui": "2.11.3", "@walmart/inbox-mini-app": "0.94.6", "@walmart/iteminfo-mini-app": "7.13.2", - "@walmart/learning-mini-app": "20.0.30", + "@walmart/learning-mini-app": "20.0.31", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-at-walmart-athena-queries": "6.1.4", "@walmart/me-at-walmart-common": "6.1.4", --- yarn.lock @@ -6342,9 +6342,9 @@ __metadata: languageName: node linkType: hard -"@walmart/learning-mini-app@npm:20.0.30": - version: 20.0.30 - resolution: "@walmart/learning-mini-app@npm:20.0.30" +"@walmart/learning-mini-app@npm:20.0.31": + version: 20.0.31 + resolution: "@walmart/learning-mini-app@npm:20.0.31" peerDependencies: "@atmt/feedback-component-native": ^8.0.0 "@react-native-firebase/analytics": 17.4.2 @@ -6365,7 +6365,7 @@ __metadata: "@walmart/functional-components": ~4.0.3 "@walmart/gtp-shared-components": 2.2.1-rc.0 "@walmart/homeoffice-impersonation-app": 0.0.23 - "@walmart/impersonation-mini-app": 1.20.6 + "@walmart/impersonation-mini-app": 1.20.8 "@walmart/react-native-encrypted-storage": 1.1.3 "@walmart/react-native-logger": 1.34.8 "@walmart/react-native-scanner-3.0": 0.4.2 @@ -6418,7 +6418,7 @@ __metadata: reduxsauce: ^1.2.0 reselect: ^4.0.0 wifi-store-locator: ^1.0.0-alpha2 - checksum: 10c0/013c9819120d303ddbf915bce5c3ca04553d16ff4bc1d5a98e7e0bdeb092ede58999ae74522dc528e9fdf9f4d2e650970c39631fb9465c6ef082445ec2b07d9e + checksum: 10c0/fdd0bc3d2a2ccc58a16c17cd11a2c4ae27b6d1dbd7e41ca718ebcd10de5472cd690789ae83ef04f43c0bde9e3a4013c6597adbb3caa3a25d5947b30b283ed7c0 languageName: node linkType: hard @@ -7827,7 +7827,7 @@ __metadata: "@walmart/ims-print-services-ui": "npm:2.11.3" "@walmart/inbox-mini-app": "npm:0.94.6" "@walmart/iteminfo-mini-app": "npm:7.13.2" - "@walmart/learning-mini-app": "npm:20.0.30" + "@walmart/learning-mini-app": "npm:20.0.31" "@walmart/manager-approvals-miniapp": "npm:0.2.4" "@walmart/me-at-walmart-athena-queries": "npm:6.1.4" "@walmart/me-at-walmart-common": "npm:6.1.4"
feat: :sparkles: Bump learning mini app version to 20.0.31
feat: :sparkles: Bump learning mini app version to 20.0.31
6b51aaf0ca90e4ed657d75cebe7814c70e5c8119
--- src/screens/MessagesScreen.tsx @@ -160,11 +160,13 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { .limit(PAGE_SIZE) .onSnapshot( (snapshot) => { + if (snapshot.empty) { + setIsLoading(false); + } const docs = snapshot.docs as FirebaseFirestoreTypes.QuerySnapshot<FirebaseMessage>['docs']; - - setIsLoading(false); if (docs.length) { + setIsLoading(false); const newMessages = createMessageList({ docs, viewerId: viewerId!, @@ -318,7 +320,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { style={styles.keyboardAvoidView} behavior={Platform.OS === 'android' ? undefined : 'padding'} keyboardVerticalOffset={top}> - {!messages.length && <ListEmptyComponent />} + {!isLoading && !messages.length && <ListEmptyComponent />} {isLoading && <Spinner />} {!isConnected && <ErrorComponent />} <FlashList --- src/screens/MessagesScreen.tsx @@ -160,11 +160,13 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { .limit(PAGE_SIZE) .onSnapshot( (snapshot) => { + if (snapshot.empty) { + setIsLoading(false); + } const docs = snapshot.docs as FirebaseFirestoreTypes.QuerySnapshot<FirebaseMessage>['docs']; - - setIsLoading(false); if (docs.length) { + setIsLoading(false); const newMessages = createMessageList({ docs, viewerId: viewerId!, @@ -318,7 +320,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { style={styles.keyboardAvoidView} behavior={Platform.OS === 'android' ? undefined : 'padding'} keyboardVerticalOffset={top}> - {!messages.length && <ListEmptyComponent />} + {!isLoading && !messages.length && <ListEmptyComponent />} {isLoading && <Spinner />} {!isConnected && <ErrorComponent />} <FlashList
no messages and data loading screen fix
no messages and data loading screen fix
0e1f90fcbb2503b33826cf78acb317331449561b
--- package-lock.json @@ -36171,4 +36171,4 @@ } } } -} +} \ No newline at end of file --- package.json @@ -336,4 +336,4 @@ "pre-push": "run-p solidarity coverage" } } -} +} \ No newline at end of file
Update profile to 0.138.1
Update profile to 0.138.1
0495a2874b8b94ada601f2c0327fce59004b804a
--- package.json @@ -133,7 +133,7 @@ "@walmart/pay-stub-miniapp": "0.24.11", "@walmart/payrollsolution_miniapp": "0.151.9", "@walmart/persona-hub": "0.3.3", - "@walmart/price-changes-mini-app": "1.13.5", + "@walmart/price-changes-mini-app": "1.14.4", "@walmart/profile-feature-app": "2.8.1-UPV2MyWalmart.6", "@walmart/react-native-barcode-builder": "^1.0.1", "@walmart/react-native-cookies": "1.0.1", --- yarn.lock @@ -8684,7 +8684,7 @@ __metadata: "@walmart/pay-stub-miniapp": "npm:0.24.11" "@walmart/payrollsolution_miniapp": "npm:0.151.9" "@walmart/persona-hub": "npm:0.3.3" - "@walmart/price-changes-mini-app": "npm:1.13.5" + "@walmart/price-changes-mini-app": "npm:1.14.4" "@walmart/profile-feature-app": "npm:2.8.1-UPV2MyWalmart.6" "@walmart/react-native-barcode-builder": "npm:^1.0.1" "@walmart/react-native-cookies": "npm:1.0.1" @@ -9087,9 +9087,9 @@ __metadata: languageName: node linkType: hard -"@walmart/price-changes-mini-app@npm:1.13.5": - version: 1.13.5 - resolution: "@walmart/price-changes-mini-app@npm:1.13.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.13.5.tgz" +"@walmart/price-changes-mini-app@npm:1.14.4": + version: 1.14.4 + resolution: "@walmart/price-changes-mini-app@npm:1.14.4::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fprice-changes-mini-app%2F-%2F%40walmart%2Fprice-changes-mini-app-1.14.4.tgz" peerDependencies: "@react-navigation/native": ">=6.0.0" "@react-navigation/stack": ">=6.2.0" @@ -9108,7 +9108,7 @@ __metadata: redux-saga: ^1.1.3 reduxsauce: ^1.2.0 uuid: ^3.3.2 - checksum: 10c0/d70d30a371ccd1917ef1ae33cd8dc573c7c53dce3d462c3a25e3e656ee6fc9262c4c8cd74eb36c4e90c50e35566d706693f6c3e518e04868fab94b9c51c048af + checksum: 10c0/1765b0922f9c321adb9cf97763073f03f9de4710c689e019f4df52c3e5ca34af5e45bd9607c7100d854f995d55d7c4ffb228247b5a69994d1dc9e0343d6a0c4b languageName: node linkType: hard
feat: OPIF-209344 Updates to SIC/TPA by style grouping flow (#4566)
feat: OPIF-209344 Updates to SIC/TPA by style grouping flow (#4566) * feat: OPIF-209344 Updates to SIC/TPA by style grouping flow * feat: OPIF-209344 Updates to SIC/TPA by style grouping flow * feat: OPIF-209344 Updates to SIC/TPA by style grouping flow * feat(pc): fix conflicts --------- Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com> Co-authored-by: Purnima Ratakonda <purnima.ratakonda@walmart.com> Co-authored-by: Talia Andrews - t0a07tn <Talia.Andrews@walmart.com>
aacb7269c789c604f1d6c421a82b5bbf312b8613
--- src/index.tsx @@ -23,8 +23,6 @@ import {initNotificationListeners} from './notification'; import {initi18n} from './translations'; import {MeganavScreen} from './screens/MeganavScreen'; import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard'; -import {ChannelsContext} from './channels/context'; -import {PresenceContext} from './presence/context'; export {PushToTalkProvider} from './channels/pushToTalkProvider'; export const LOGGER_FIELDS = {id: 'texting-mini-app'}; @@ -98,13 +96,3 @@ export const TextingMiniApp = () => { </LoggerCloneProvider> ); }; - -export const Providers = { - ChannelsProvider, - PresenceProvider, -}; - -export const Context = { - ChannelsContext, - PresenceContext, -}; --- src/index.tsx @@ -23,8 +23,6 @@ import {initNotificationListeners} from './notification'; import {initi18n} from './translations'; import {MeganavScreen} from './screens/MeganavScreen'; import {ClockedOutScreenGuard} from './components/ClockedOutScreenGuard'; -import {ChannelsContext} from './channels/context'; -import {PresenceContext} from './presence/context'; export {PushToTalkProvider} from './channels/pushToTalkProvider'; export const LOGGER_FIELDS = {id: 'texting-mini-app'}; @@ -98,13 +96,3 @@ export const TextingMiniApp = () => { </LoggerCloneProvider> ); }; - -export const Providers = { - ChannelsProvider, - PresenceProvider, -}; - -export const Context = { - ChannelsContext, - PresenceContext, -};
revert file change
revert file change
b079eab56551ac370795c6eea5c7adeb0ef5df41
--- package-lock.json @@ -4398,9 +4398,9 @@ } }, "@walmart/refrigeration-alarms-mini-app": { - "version": "1.22.0", - "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.22.0.tgz", - "integrity": "sha512-UMO/DIFjtepBI4tLDGEMEQJqTT01UFn5aUmL0ya4SNWw151mpK4Ia1tm/rUu/aNKXyT/obdPTFeT811KeTPj6Q==" + "version": "1.23.0", + "resolved": "https://npme.walmart.com/@walmart/refrigeration-alarms-mini-app/-/refrigeration-alarms-mini-app-1.23.0.tgz", + "integrity": "sha512-xqoWbxr+wZs0HFr1v+vtFkaPw47d24UCfYTyAcLBOl4k2yUkRNfJhoQNcbXtnhDp5euwnZyno01/Z2o2VQe1Vg==" }, "@walmart/schedule-mini-app": { "version": "0.10.0",
Version bump
Version bump
58cffa58569edbcd00112b27bf8022e11450bab6
--- package.json @@ -187,11 +187,6 @@ } } }, - "dependencies": { - "expo": "^51.0.0", - "react": "18.2.0", - "react-native": "~0.75.4" - }, "config": { "commitizen": { "path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
feat(ui): update scripts
feat(ui): update scripts
27eec9013dda9570ced1a17ffdd9155f16b9ee1d
--- package.json @@ -49,7 +49,7 @@ "dependencies": { "@react-native-community/art": "^1.2.0", "@react-native-community/async-storage": "^1.11.0", - "@react-native-community/cameraroll": "^4.1.2", + "@react-native-community/cameraroll": "4.1.2", "@react-native-community/clipboard": "^1.5.0", "@react-native-community/datetimepicker": "^3.0.9", "@react-native-community/hooks": "^2.6.0", @@ -145,7 +145,7 @@ "react-native-haptic-feedback": "^1.10.0", "react-native-hyperlink": "0.0.19", "react-native-image-picker": "^4.0.6", - "react-native-image-resizer": "^1.4.5", + "react-native-image-resizer": "1.4.5", "react-native-linear-gradient": "^2.5.6", "react-native-loudness": "^2.0.0", "react-native-maps": "^0.30.1",
Resolved code review comments
Resolved code review comments
a838dce336a95f02c92a8a40cb115679a1c5b643
--- packages/allspark-foundation/__tests__/Navigation/client.test.tsx @@ -134,6 +134,7 @@ 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); }); @@ -444,7 +445,6 @@ describe('NavigationClient', () => { (navigationClient as any)._modalInitialized = true; (navigationClient as any)._updateModalState(); expect(mockGetState).toHaveBeenCalled(); - expect(mockSetState).toHaveBeenCalledWith(expect.any(Function)); }); it('handles dispatch for navigate and other actions', () => { let mockDispatch: jest.SpyInstance;
fix: fixing a failed test - unrelated change
fix: fixing a failed test - unrelated change
fa1d045465f519702211ff7512912fdc6f759467
--- android/gradle.properties @@ -26,7 +26,7 @@ android.useAndroidX=true android.enableJetifier=true # Version of flipper SDK to use with React Native -FLIPPER_VERSION=0.172.0 +FLIPPER_VERSION=0.182.0 # Use this property to specify which architecture you want to build. # You can also override it from the CLI using @@ -50,4 +50,4 @@ systemProp.https.nonProxyHosts=*.wal-mart.com|*.walmart.com org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=4096m -XX:+HeapDumpOnOutOfMemoryError org.gradle.daemon=true org.gradle.parallel=true -org.gradle.configureondemand=true \ No newline at end of file +org.gradle.configureondemand=true --- env.beta.js @@ -17,10 +17,10 @@ export default { format: 'json', }, athena: { - url: 'https://developer.api.us.stg.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1', + url: 'https://developer.api.us.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1', headers: { 'WM_SVC.NAME': 'ATHENA-GATEWAY', - 'WM_SVC.ENV': 'dev', + 'WM_SVC.ENV': 'prod', }, persistedQueries: true, }, --- env.prod.js @@ -17,7 +17,7 @@ export default { format: 'json', }, athena: { - url: 'https://developer.api.us.stg.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1', + url: 'https://developer.api.us.walmart.com/api-proxy/service/ATHENA/GATEWAY/v1', headers: { 'WM_SVC.NAME': 'ATHENA-GATEWAY', 'WM_SVC.ENV': 'prod',
update config and flipper version
update config and flipper version
c6feedfdf5eca4ffe578898a2dd3d7365cef8ecf
--- __tests__/components/AssociateRosterItem.test.tsx @@ -199,8 +199,10 @@ describe('AssociateRosterItem', () => { last={false} />, {preloadedState}, - ) as RenderAPI; + ); const pttButton = component.getByTestId('pttButton'); fireEvent.press(pttButton); + const nestedText = pttButton.findByType('Text'); + expect(nestedText.props.children.props.children).toBe('Call'); }); });
SMDV-5264 - added assertion to ptt button test
SMDV-5264 - added assertion to ptt button test
a287c4b2bf1c7f33b76fd45babbbfefdd722a665
--- 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.27.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.26.0...@walmart/celebration-mini-app@1.27.0) (2025-11-18) + +### Features + +- **ui:** remove isSiteDC check ([4bfdfe0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/commit/4bfdfe0a6e48a552e8b1341d6fee7728e7ea3eb6)) + # [1.26.0](https://gecgithub01.walmart.com/smdv/celebration-mini-app/compare/@walmart/celebration-mini-app@1.25.2...@walmart/celebration-mini-app@1.26.0) (2025-11-13) ### Features --- packages/celebration-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/celebration-mini-app", - "version": "1.26.0", + "version": "1.27.0", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18"
chore(version): updating package version
chore(version): updating package version - @walmart/celebration-mini-app@1.27.0
263286fbbf795fb07a713de904ea2f6f74c1ccd7
--- package.json @@ -91,7 +91,7 @@ "@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.15.8#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.15.8-6fb92a01bb.patch", "@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.8.0#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.8.0-31dfe1d845.patch", "@walmart/ui-components": "1.26.3-423-05e66f8", - "@walmart/wmconnect-mini-app": "3.8.3", + "@walmart/wmconnect-mini-app": "3.11.0", "babel-jest": "^29.6.3", "chance": "^1.1.11", "crypto-js": "~4.2.0", --- yarn.lock @@ -8583,7 +8583,7 @@ __metadata: "@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.15.8#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.15.8-6fb92a01bb.patch" "@walmart/react-native-sumo-sdk": "patch:@walmart/react-native-sumo-sdk@npm%3A2.8.0#~/.yarn/patches/@walmart-react-native-sumo-sdk-npm-2.8.0-31dfe1d845.patch" "@walmart/ui-components": "npm:1.26.3-423-05e66f8" - "@walmart/wmconnect-mini-app": "npm:3.8.3" + "@walmart/wmconnect-mini-app": "npm:3.11.0" babel-jest: "npm:^29.6.3" chance: "npm:^1.1.11" crypto-js: "npm:~4.2.0" @@ -8674,9 +8674,9 @@ __metadata: languageName: node linkType: hard -"@walmart/wmconnect-mini-app@npm:3.8.3": - version: 3.8.3 - resolution: "@walmart/wmconnect-mini-app@npm:3.8.3::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.8.3.tgz" +"@walmart/wmconnect-mini-app@npm:3.11.0": + version: 3.11.0 + resolution: "@walmart/wmconnect-mini-app@npm:3.11.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fwmconnect-mini-app%2F-%2F%40walmart%2Fwmconnect-mini-app-3.11.0.tgz" peerDependencies: "@walmart/allspark-foundation": ">=7.12.0" expo: ~53.0.20 @@ -8687,7 +8687,7 @@ __metadata: dependenciesMeta: "@walmart/me-at-walmart": built: false - checksum: 10c0/e2b1e4bc578d69cedfe618147bb9bf4499e08eb851b12e0199d0d363ff8bc0cd768d890254f65641fdb50847c522db8cad755a582712a0db3810b57e752f2400 + checksum: 10c0/2e05ff7ff342536177926abe363984aa65a1ed07cd802bb380298816d0d56e9978d95d27c5f3d53adf948e400ec4ecb4928752193f9f451a348b0e9f113ba970 languageName: node linkType: hard
feat(ui): update roster and wmconnect version for graphql
feat(ui): update roster and wmconnect version for graphql
3b9e259a20b82253c485a72ba0159a9f60d749d5
--- src/navigation/AssociateHallwayNav/DrawerNav.tsx @@ -76,6 +76,7 @@ export const DrawerNav = () => { const unsubscribe = watchForBadgeChanges(); return unsubscribe; + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); return ( --- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -1,9 +1,5 @@ -import React, {ComponentType} from 'react'; -import { - createStackNavigator, - TransitionPresets, - StackNavigationOptions, -} from '@react-navigation/stack'; +import React from 'react'; +import {createStackNavigator, TransitionPresets} from '@react-navigation/stack'; import {AmpNav} from '@walmart/amp-mini-app/dist/components/AmpNav'; import {AskSamMiniApp} from '@walmart/ask-sam-mini-app';
chore: lint fixes
chore: lint fixes
453047d1c39477af9055cf105893e6a5cc4a9b9b
--- __tests__/components/UnreadBadgeTest.tsx @@ -4,9 +4,11 @@ import {renderWithProviders} from '../harness'; import {useTextingFeatureEnabled} from '../../src/hooks'; import {useUnread} from '../../src/channels/hooks'; +//TODO: Need to move it to harness jest.mock('../../src/channels/hooks', () => ({ useUnread: jest.fn(), })); +//TODO: Need to move it to harness jest.mock('../../src/hooks', () => ({ useTextingFeatureEnabled: jest.fn(), })); --- __tests__/components/UnreadBadgeTest.tsx @@ -4,9 +4,11 @@ import {renderWithProviders} from '../harness'; import {useTextingFeatureEnabled} from '../../src/hooks'; import {useUnread} from '../../src/channels/hooks'; +//TODO: Need to move it to harness jest.mock('../../src/channels/hooks', () => ({ useUnread: jest.fn(), })); +//TODO: Need to move it to harness jest.mock('../../src/hooks', () => ({ useTextingFeatureEnabled: jest.fn(), }));
Adding Todo comments
Adding Todo comments
1c79706641a3ec9d29c676df0a4431ff1d16c2aa
--- package-lock.json @@ -4258,9 +4258,9 @@ "integrity": "sha512-gOjtmh7vtX1XSS1JA8xJWCwoW8vsiED0NxtKNWsXLpRuZfRJ06gESSqLyQUjRXSc40S+kN6dYJYO3EOv3VEPig==" }, "@walmart/inbox-mini-app": { - "version": "0.26.0", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.26.0.tgz", - "integrity": "sha512-Kcf+R1iCgxHOLCwMoW+zrde/AgO41H65qWBwGxBnKfHzy0JRJcdpZBldAksoK6j2RlT6IvCZoju3WydXMElJyw==" + "version": "0.26.0-beta.1", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.26.0-beta.1.tgz", + "integrity": "sha512-Ao6DoS1ze1m7Xd4ch/eFm+vc8Yc2YntGSSgKS74MBLVlqozoq4mz32ffNOI5XzDP/t0FDdAXpEMUMk+yoQBQEQ==" }, "@walmart/iteminfo-mini-app": { "version": "4.0.7", --- package.json @@ -84,7 +84,7 @@ "@walmart/gtp-shared-components": "1.2.0", "@walmart/impersonation-mini-app": "1.0.27", "@walmart/ims-print-services-ui": "0.1.11", - "@walmart/inbox-mini-app": "0.26.0", + "@walmart/inbox-mini-app": "0.26.0-beta.1", "@walmart/iteminfo-mini-app": "4.0.7", "@walmart/manager-approvals-miniapp": "0.0.59", "@walmart/metrics-mini-app": "0.5.21",
inbox version update for survey card
inbox version update for survey card
5f757f28aeb3a603305c7076304056f6609315b2
--- lerna.json @@ -7,7 +7,7 @@ "conventionalCommits": true, "conventionalPrerelease": false, "message": "chore(publish): publish package", - "registry": "https://npme.walmart.com" + "registry": "https://npm.ci.artifacts.walmart.com/artifactory/api/npm/npme-npm" }, "version": { "message": "chore(version): updating package version",
chore(ui): looper yml error log update
chore(ui): looper yml error log update
e39eb041f330f9172544964b9fe9096cf6055d80
--- package-lock.json @@ -3189,9 +3189,9 @@ } }, "@walmart/settings-mini-app": { - "version": "1.1.14", - "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.14.tgz", - "integrity": "sha512-SsYeWcxxTEepE6j5VXuLED8z5GrloWsUXcF9+G8vq3pZz12x8zCsADRdCT/nXVGhWvgbN8IxJ0f3J1AoihtqDA==" + "version": "1.1.15", + "resolved": "https://npme.walmart.com/@walmart/settings-mini-app/-/settings-mini-app-1.1.15.tgz", + "integrity": "sha512-fn7C70cwO1O29kKMJ63dQaQ0qDD2hp+9F5I349j5EU0wUIWh8mI9EiTjOteJatt4UTKGe6SUbU3tN4UjSyzJng==" }, "@walmart/time-clock-mini-app": { "version": "0.1.31", --- package.json @@ -64,7 +64,7 @@ "@walmart/react-native-shared-navigation": "^0.3.0", "@walmart/redux-store": "^1.0.12", "@walmart/schedule-mini-app": "0.2.56", - "@walmart/settings-mini-app": "1.1.14", + "@walmart/settings-mini-app": "1.1.15", "@walmart/time-clock-mini-app": "0.1.31", "@walmart/ui-components": "1.0.95", "@walmart/welcomeme-mini-app": "0.5.27",
settings version bump (#350)
settings version bump (#350)
e3e5e29f1e7a897d129f233b3792b83bc8085f5c
--- ios/AllSpark.xcodeproj/project.pbxproj @@ -230,6 +230,7 @@ buildPhases = ( 53D455D8D940558DAEDE5BA8 /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, + C18683108AECE7D722DBD9B1 /* [CP] Prepare Artifacts */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, @@ -401,7 +402,7 @@ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf", "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf", "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", - "${BUILT_PRODUCTS_DIR}/react-native-wm-barcode/react_native_wm_barcode.framework/AVScannerViewController.nib", + "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/AVScannerViewController.xib", "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/scanbeep.wav", "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/ios/WMBarcodeScanner/WMBarcodeScanner/assets/DIGIMark-custom.ttf", "${PODS_ROOT}/../../node_modules/react-native-wm-voice-text/ios/state-change_confirm-down.wav", @@ -447,17 +448,34 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/DMSDK/DMSDK.framework/DMSDK", + "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DMSDK.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; + C18683108AECE7D722DBD9B1 /* [CP] Prepare Artifacts */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh", + "${PODS_ROOT}/../../node_modules/react-native-wm-barcode/Frameworks/DMSDK.xcframework", + ); + name = "[CP] Prepare Artifacts"; + outputPaths = ( + "${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AllSpark/Pods-AllSpark-artifacts.sh\"\n"; + showEnvVarsInLog = 0; + }; FD10A7F022414F080027D42C /* Start Packager */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; --- ios/Podfile.lock @@ -356,7 +356,7 @@ PODS: - React - react-native-webview (10.10.0): - React-Core - - react-native-wm-barcode (2.25.0): + - react-native-wm-barcode (2.29.0): - React - react-native-wm-voice-text (0.4.1): - React @@ -814,7 +814,7 @@ SPEC CHECKSUMS: react-native-video: 8d97379f3c2322a569f1e27542ad1a646cad9444 react-native-view-shot: 08c46c9e8e92f6681e8f2ffa55ac3d06e7e99070 react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7 - react-native-wm-barcode: eeee6215ce0f2969b7648fee8015745d175269ce + react-native-wm-barcode: 881d483f23fba207961884289c00ff79cd1fac94 react-native-wm-voice-text: 80c0b59ff0fab4daf179ee430e4ea285181e3891 React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5 React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6 @@ -861,4 +861,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 567b62a30f7dd8da9c40b835f39a00c574423a67 -COCOAPODS: 1.10.1 +COCOAPODS: 1.9.3 --- package-lock.json @@ -12920,9 +12920,9 @@ } }, "react-native-wm-barcode": { - "version": "2.28.0", - "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.28.0.tgz", - "integrity": "sha512-vtYsT6w93kjbBfQgFsP32M2WvMjalwLZnv7x7qpu8weOxaZ+cwsJruPV+sbJbwCBDMJVmQSq/KDqNb9DAjgITQ==" + "version": "2.29.0", + "resolved": "https://npme.walmart.com/react-native-wm-barcode/-/react-native-wm-barcode-2.29.0.tgz", + "integrity": "sha512-xXs/c6oyhcDIqTxwVt+H9FegeYYNZ1fF5WfatNA/k9oSfUsbEGEALIxJNc/wJDnra51SeEAm+XAO9SI+mmjOCw==" }, "react-native-wm-config": { "version": "0.1.1", --- package.json @@ -142,7 +142,7 @@ "react-native-video": "^5.1.0-alpha8", "react-native-view-shot": "^3.1.2", "react-native-webview": "^10.7.0", - "react-native-wm-barcode": "2.28.0", + "react-native-wm-barcode": "2.29.0", "react-native-wm-config": "^0.1.1", "react-native-wm-network": "^0.1.0", "react-native-wm-notification": "^1.0.0",
updated scanner version
updated scanner version
50adb0403ae112762bde5ecf5b7466f6cecbdd88
--- babel.config.js @@ -1,14 +1,10 @@ module.exports = (api) => { - const babelEnv = api.env(); - - console.log('sva babelEnv', babelEnv, 'ci', process.env.CI); const plugins = ['react-native-reanimated/plugin']; - //change to 'production' to check if this is working in 'development' mode - if (babelEnv !== 'production') { + if (process.env.CI) { + //remove console.logs only in CI environment. plugins.push('transform-remove-console'); } - console.log(plugins, 'sva'); return { presets: ['module:metro-react-native-babel-preset'], plugins,
log changes
log changes
22f5a64cc2e9c0f6fe7cbf863da6a4ad86a3b294
--- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/Screens/OnboardingScreen/OnboardingScreen.tsx @@ -180,9 +180,11 @@ export const OnboardingScreen = () => { return ( <ErrorScreen errorTitle={t('errorScreen.title')} - errorMessage={t('errorScreen.description')} + errorMessage={t('errorScreen.message')} primaryButtonText={t('errorScreen.button')} handlePrimaryButtonPress={handleRefreshPage} + secondaryButtonText={t('errorScreen.secondaryButtonText')} + handleSecondaryButtonPress={handleSkip} /> ); } --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/translation.ts @@ -84,7 +84,6 @@ export const enUS = { }, errorScreen: { title: 'Something went wrong', - description: 'Refresh this page to try again.', button: 'Refresh page', message: 'Refresh this page to try again.', primaryButtonText: 'Refresh', @@ -184,7 +183,6 @@ export const esMX: typeof enUS = { }, errorScreen: { title: 'Algo salió mal', - description: 'Actualice esta página para volver a intentarlo.', button: 'Actualizar página', message: 'Actualice esta página para volver a intentarlo.', primaryButtonText: 'Actualizar página',
feat: updated error screen
feat: updated error screen
b26fbf049ea5d06573fb95dbbfd935ec3cae0585
--- android/app/build.gradle @@ -158,8 +158,8 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 910 - versionName "1.13.0" + versionCode 911 + versionName "1.13.1" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() if (isNewArchitectureEnabled()) { // We configure the CMake build only if you decide to opt-in for the New Architecture. --- ios/AllSpark/Info.plist @@ -19,7 +19,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.13.0</string> + <string>1.13.1</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> @@ -42,7 +42,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>910</string> + <string>911</string> <key>FirebaseAutomaticScreenReportingEnabled</key> <false /> <key>LSApplicationQueriesSchemes</key> --- package-lock.json @@ -1,12 +1,12 @@ { "name": "allspark-main", - "version": "1.13.0", + "version": "1.13.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "allspark-main", - "version": "1.13.0", + "version": "1.13.1", "hasInstallScript": true, "dependencies": { "@firebase/firestore-types": "^2.5.1", --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.13.0", + "version": "1.13.1", "private": true, "scripts": { "android": "react-native run-android",
updating patch version
updating patch version
c5b78d472a72c3b81fa2249d84d86575e58066bc
--- core/__tests__/PinAccess/ActivityMonitorGuardTest.tsx @@ -4,13 +4,12 @@ import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation' import {render} from '@testing-library/react-native'; import {Text} from 'react-native'; import {ActivityMonitorGuard} from '../../src/PinAccess/ActivityMonitorGuard'; +import {PinAccessActionCreators} from '../../src/PinAccess/PinAccessRedux'; describe('ActivityMonitorGuard tests', () => { - const dispatch = jest.fn(); beforeEach(() => { jest.useFakeTimers(); - (useDispatch as jest.Mock).mockReturnValue(dispatch); (AllsparkNavigationClient.getCurrentRouteName as jest.Mock).mockReturnValue( 'HomeScreen', ); @@ -20,19 +19,17 @@ describe('ActivityMonitorGuard tests', () => { jest.useRealTimers(); jest.clearAllMocks(); }); - + const dispatch = useDispatch(); const children = <Text>Child component</Text>; const props = {children}; - it('matches snapshot', async () => { + it('renders child component and calls dispatch after idle timeout', async () => { const component = render(<ActivityMonitorGuard {...props} />); const onIdleTimeLapsed = component.UNSAFE_root._fiber.child.pendingProps.onIdleTimeLapsed; expect(component.getByText('Child component')).toBeTruthy(); - onIdleTimeLapsed('timeout'); - jest.advanceTimersByTime(400); - expect(dispatch).not.toHaveBeenCalled(); - jest.advanceTimersByTime(200); - expect(dispatch).toHaveBeenCalledTimes(1); + onIdleTimeLapsed('input change'); + jest.advanceTimersByTime(500); + expect(dispatch).toBeCalledWith(PinAccessActionCreators.promptForPasscode('input change')); expect(component.toJSON()).toMatchSnapshot(); }); }); --- core/__tests__/PinAccess/__snapshots__/ActivityMonitorGuardTest.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ActivityMonitorGuard tests matches snapshot 1`] = ` +exports[`ActivityMonitorGuard tests renders child component and calls dispatch after idle timeout 1`] = ` <ActivityMonitor backgroundIdleTime={14400000} enabled={false}
code cleanup
code cleanup
399389593e2e4bef071aeefc8c27d80bae6c4cd1
--- package-lock.json @@ -36,7 +36,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "0.2.13", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.2", + "@walmart/ask-sam-mini-app": "1.3.3", "@walmart/config-components": "4.0.1", "@walmart/core-services": "~1.4.9", "@walmart/core-services-allspark": "~1.10.11", @@ -4639,9 +4639,9 @@ } }, "node_modules/@walmart/ask-sam-mini-app": { - "version": "1.3.2", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.2.tgz", - "integrity": "sha512-RMa4JaieOkL4c1rL8DMQ6iswQsFtwgEGOOsSBE7JcRcGiqYuWclCrumjfucIjRDMjciYVOjm4RCRQNbTmn6Qxw==", + "version": "1.3.3", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.3.tgz", + "integrity": "sha512-LLPQEJ/YPR1cryaCQbkDlPlHkBVc0wV5IrdGdKVVLQjxnl7IL/XtlrG9pj1+diPDn3P9gPn73YeqY0xBtxl24A==", "hasInstallScript": true, "license": "NONE", "dependencies": { @@ -24728,9 +24728,9 @@ } }, "@walmart/ask-sam-mini-app": { - "version": "1.3.2", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.2.tgz", - "integrity": "sha512-RMa4JaieOkL4c1rL8DMQ6iswQsFtwgEGOOsSBE7JcRcGiqYuWclCrumjfucIjRDMjciYVOjm4RCRQNbTmn6Qxw==", + "version": "1.3.3", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.3.tgz", + "integrity": "sha512-LLPQEJ/YPR1cryaCQbkDlPlHkBVc0wV5IrdGdKVVLQjxnl7IL/XtlrG9pj1+diPDn3P9gPn73YeqY0xBtxl24A==", "requires": { "apisauce": "^1.1.2", "axios-cache-adapter": "^2.7.3", --- package.json @@ -79,7 +79,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "0.2.13", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.2", + "@walmart/ask-sam-mini-app": "1.3.3", "@walmart/config-components": "4.0.1", "@walmart/core-services": "~1.4.9", "@walmart/core-services-allspark": "~1.10.11",
Bumped ask-sam version to 1.3.3
Bumped ask-sam version to 1.3.3
1953fb2d6151f589d118f3faab3054e8dc93107d
--- package-lock.json @@ -4476,9 +4476,9 @@ } }, "@walmart/allspark-home-mini-app": { - "version": "0.5.34", - "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.34.tgz", - "integrity": "sha512-0+tzF+vMowiRloct0zsnJwXt3crawbzWBznECQqDAYZ72yM+V19hp0NB2VRAhHG1FzI7wO3QTcQtGPIPLeEL/g==", + "version": "0.5.35", + "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.35.tgz", + "integrity": "sha512-hhOutRn82uLnAKFEECV0Hjtk4FEODpMOQLzjJ4Lvmh+WKdjlSidwEXMd+qhl8mNvWUntKLV+RfiqQRm94SAVEQ==", "requires": { "moment": "^2.29.0", "uuid": "^8.3.1" --- package.json @@ -71,7 +71,7 @@ "@sharcoux/slider": "^5.2.1", "@terrylinla/react-native-sketch-canvas": "^0.8.0", "@walmart/allspark-health-survey-mini-app": "0.0.44", - "@walmart/allspark-home-mini-app": "0.5.34", + "@walmart/allspark-home-mini-app": "0.5.35", "@walmart/allspark-neon-core": "0.1.26", "@walmart/ask-sam-mini-app": "^0.41.8", "@walmart/config-components": "3.0.2",
home tab translation update.
home tab translation update.
b70d2463b89efa09703d443a93412d841a786356
--- package-lock.json @@ -1854,9 +1854,9 @@ } }, "@walmart/allspark-health-survey-mini-app": { - "version": "0.0.10", - "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.10.tgz", - "integrity": "sha512-GQydJCaJpKm8L1M3CG17CLxEGJTYBIuB0l0sYPWzsgsjaPc2S1Pzfz/nHnzfOifwnZf/myu1khKW7aoYJ/QVIQ==", + "version": "0.0.11", + "resolved": "https://npme.walmart.com/@walmart/allspark-health-survey-mini-app/-/allspark-health-survey-mini-app-0.0.11.tgz", + "integrity": "sha512-T8JtxrBxNfvtS9iekwCFg2gCleZLFx9Z+o0tkFCvGxzHGyctrbsoAPJ+QInCD+MB5je74GJSkLbqtaxKbVc+Kg==", "requires": { "@walmart/patient-portal-mobile": "^1.1.15", "moment": "^2.29.1", --- package.json @@ -41,7 +41,7 @@ "@react-navigation/stack": "^5.9.0", "@terrylinla/react-native-sketch-canvas": "^0.8.0", "@types/lodash": "^4.14.159", - "@walmart/allspark-health-survey-mini-app": "0.0.10", + "@walmart/allspark-health-survey-mini-app": "0.0.11", "@walmart/allspark-home-mini-app": "0.1.4", "@walmart/allspark-me-mini-app": "0.0.13", "@walmart/ask-sam-mini-app": "0.6.27",
Chore/bumped health mini app (#191)
Chore/bumped health mini app (#191) * adding schedule view vqa * updated package.json * changed fonts in schedule-mini-app Co-authored-by: Kateryna Palchykova <k0p03fa@m-c02xt902jg5j.homeoffice.wal-mart.com> Co-authored-by: Anthony Helms - awhelms <awhelms@wal-mart.com> Co-authored-by: Kateryna Palchykova <k0p03fa@m-c02xt902jg5j.attlocal.net>
b8eebb8d25cbc07f0955eccc45d919375c9ffa52
--- .yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch @@ -36,13 +36,32 @@ index 219e7b2675fabb2532c018fa2015502d2d1a0e2d..d0382e700a1124b69f51409bd631b74e @interface CallingSDK_Utils : NSObject diff --git a/ios/CallingSdk_Utils.m b/ios/CallingSdk_Utils.m -index ad181db72380580723de50efbf651a61c75f3d26..cbbd035d13a1d98ad484c2aa6a579656af9cf68b 100644 +index ad181db72380580723de50efbf651a61c75f3d26..0d16dc03b99473bdc5e7f6953cc2439302f259eb 100644 --- a/ios/CallingSdk_Utils.m +++ b/ios/CallingSdk_Utils.m -@@ -1,5 +1,5 @@ +@@ -1,10 +1,10 @@ #import "CallingSdk_Utils.h" -#import <SumoSDK-Swift.h> +#import <SumoSDK/SumoSDK-Swift.h> #import <React/RCTBridge.h> #import <React/RCTConvert.h> #import <React/RCTEventDispatcher.h> + #import "ConnectionModule.h" +-#import "CallingSDK-Swift.h" ++#import "CallingSDK/CallingSDK-Swift.h" + + + @implementation CallingSDK_Utils +diff --git a/ios/ConnectionModule.m b/ios/ConnectionModule.m +index 4e4914acafda788c8f1081c2b8616efad80f4356..078e85038c47fdae8425004a505a5a43c035a5b8 100644 +--- a/ios/ConnectionModule.m ++++ b/ios/ConnectionModule.m +@@ -14,7 +14,7 @@ + #import <React/RCTUtils.h> + #import <React/RCTLog.h> + +-#import "CallingSDK-Swift.h" ++#import "CallingSDK/CallingSDK-Swift.h" + + #ifdef DEBUG + static int const OUTGOING_CALL_WAKEUP_DELAY = 10; --- yarn.lock @@ -7443,12 +7443,12 @@ __metadata: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.1#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch": version: 0.8.1 - resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.1#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch::version=0.8.1&hash=ae6a73" + resolution: "@walmart/react-native-webex-sdk@patch:@walmart/react-native-webex-sdk@npm%3A0.8.1#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.8.1-5642793393.patch::version=0.8.1&hash=bb6720" peerDependencies: react: "*" react-native: "*" react-native-logger: "*" - checksum: 10c0/cf47330300eaf74e98af122d38879c3310940884503051ddf12d5198c45b1a816a00525bf118e91da7a6f96928ba40a528a0cde336c34849ff249b58bce72a7c + checksum: 10c0/ec029d3cfe074ca9da57525e972a9adcd14ed9b888ba8a5d0d952e69aa45ed15082d1fd5f514ff3d7fd9508a2491714cb3e81ab6218a3f536bba72a1112eb0a8 languageName: node linkType: hard
fix: update webex patch to fix ios imports
fix: update webex patch to fix ios imports
62ae61be4097ed7af3f635ae7b85c30259604376
--- ios/Podfile.lock @@ -997,7 +997,7 @@ PODS: - nanopb/encode (= 2.30909.1) - nanopb/decode (2.30909.1) - nanopb/encode (2.30909.1) - - native-rfid-scanner (3.9.10): + - native-rfid-scanner (3.9.9): - React-Core - OpenSSL-Universal (1.1.1100) - PromisesObjC (2.4.0) @@ -1922,6 +1922,7 @@ PODS: - React - ScanditBarcodeCapture (= 6.23.2) - ScanditCaptureCore (= 6.23.2) + - SDWebImage (~> 5.0) - react-native-splash-screen (3.3.0): - React-Core - react-native-video (5.2.1): @@ -2787,7 +2788,7 @@ SPEC CHECKSUMS: libvmaf: 27f523f1e63c694d14d534cd0fddd2fab0ae8711 libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009 nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 - native-rfid-scanner: 4c8fe5964b8d4f2179e8d63903ddf5c21da54db4 + native-rfid-scanner: 9ea975aafa627489a99a92a009d9cf0dda05a34a OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 @@ -2832,7 +2833,7 @@ SPEC CHECKSUMS: react-native-pdf: 79aa75e39a80c1d45ffe58aa500f3cf08f267a2e react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe react-native-safe-area-context: dcab599c527c2d7de2d76507a523d20a0b83823d - react-native-scanner-3.0: 0f98e9de9623c293ebbff5aae47555fadc720f75 + react-native-scanner-3.0: 91bee82caee36a0d6dc949d6c5d91efae75ceeca react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457 react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253 react-native-view-shot: 6b7ed61d77d88580fed10954d45fad0eb2d47688 @@ -2892,8 +2893,8 @@ SPEC CHECKSUMS: RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842 RNSVG: ba3e7232f45e34b7b47e74472386cf4e1a676d0a RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8 - ScanditBarcodeCapture: 26e343653b28a92c1bf34a5d571c8a03c2e6e5a2 - ScanditCaptureCore: 0c5c3ce4440b980271235ff935a1752a9bcd970c + ScanditBarcodeCapture: df7e2b2ed1535efb7678bf0bb6b9c4cece0f6729 + ScanditCaptureCore: 88a0df58f5d5b14158ebc05609bf9582b83ebbeb SDWebImage: 750adf017a315a280c60fde706ab1e552a3ae4e9 SDWebImageAVIFCoder: 8348fef6d0ec69e129c66c9fe4d74fbfbf366112 SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c --- package.json @@ -144,7 +144,7 @@ "@walmart/schedule-mini-app": "0.108.0", "@walmart/shelfavailability-mini-app": "1.5.23", "@walmart/store-feature-orders": "1.26.7", - "@walmart/taskit-mini-app": "3.0.1", + "@walmart/taskit-mini-app": "3.1.1-1047-0335a2d", "@walmart/time-clock-mini-app": "2.353.0", "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch", "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch", --- yarn.lock @@ -7103,28 +7103,10 @@ __metadata: languageName: node linkType: hard -"@walmart/taskit-mini-app@npm:3.0.1": - version: 3.0.1 - resolution: "@walmart/taskit-mini-app@npm:3.0.1" - peerDependencies: - "@terrylinla/react-native-sketch-canvas": ^0.8.0 - "@types/lodash": ">=4.14.176" - "@walmart/core-services": ">=1.2.0" - "@walmart/react-native-shared-navigation": 1.0.2 - "@walmart/redux-store": ">=1.0.11" - "@walmart/ui-components": ">=1.1.63" - lodash: ">=4.17.20" - luxon: ">=2.0.1" - react-i18next: ">=11.7.3" - react-native-device-info: ">=8.1.3" - react-native-fs: ^2.18.0 - react-native-image-picker: ">=4.0.6" - react-native-ssmp-sso-allspark: ">=1.1.0" - react-native-svg: ">=12.1.1" - react-native-svg-transformer: ">=0.14.3" - react-native-vision-camera: 1.0.11 - reselect: ^4.1.5 - checksum: 10c0/4700a204e5a62a6e4b8ee1730bd3743a2ffd69e5490b00b960af3993fd0c139f01fbc72c04040baca57d00e9c36e939eaf718631b6520335b77da2c347f39e99 +"@walmart/taskit-mini-app@npm:3.1.1-1047-0335a2d": + version: 3.1.1-1047-0335a2d + resolution: "@walmart/taskit-mini-app@npm:3.1.1-1047-0335a2d" + checksum: 10c0/cfdc24bc9ebbf0d7a94955998e211aab4e793c13e97fcccdf49205148b1396f6249ba4166fa76a06e6889b20a60e4076521908c8739c33c1d77c986fa9542adc languageName: node linkType: hard @@ -7777,7 +7759,7 @@ __metadata: "@walmart/schedule-mini-app": "npm:0.108.0" "@walmart/shelfavailability-mini-app": "npm:1.5.23" "@walmart/store-feature-orders": "npm:1.26.7" - "@walmart/taskit-mini-app": "npm:3.0.1" + "@walmart/taskit-mini-app": "npm:3.1.1-1047-0335a2d" "@walmart/time-clock-mini-app": "npm:2.353.0" "@walmart/topstock-mini-app": "patch:@walmart/topstock-mini-app@npm%3A1.9.7#~/.yarn/patches/@walmart-topstock-mini-app-npm-1.9.7-e6400c510e.patch" "@walmart/ui-components": "patch:@walmart/ui-components@npm%3A1.15.11#~/.yarn/patches/@walmart-ui-components-npm-1.15.11-19ccf914c5.patch"
chore: bump taskit version
chore: bump taskit version
4365c30a25c40aa6b851fee9277863c5d0407f41
--- docs/docs/architecture.md @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 -title: Architecture ---- \ No newline at end of file --- docs/docs/faq.md @@ -38,7 +38,7 @@ For prod changes to allspark-config or prod/beta changes to allspark-meganav, a Teams do not need a CRQ to make changes to allspark-config-beta, but it is recommended to go through the same process as the one above. ## Build/Local Development FAQs -For general troubleshooting advice for Allspark, see the [Allspark Troubleshooting section](./troubleshooting.md#allspark-troubleshooting). For other local development help, reach out to your tech lead. For CI/CD assistance, post your concerns in the #allspark-cicd-help channel. +For general troubleshooting advice for Allspark, see the [Allspark Troubleshooting section](./troubleshooting.md). For other local development help, reach out to your tech lead. For CI/CD assistance, post your concerns in the #allspark-cicd-help channel. ## Process FAQs ### What is the timeline for migrating mini-apps to Foundation? --- docs/docs/getting-started.md @@ -6,7 +6,7 @@ custom_edit_url: null # Getting Started -Allspark Foundation is currently being used in [allspark-core](https://gecgithub01.walmart.com/allspark/allspark-core) and several mini apps. +Allspark Foundation is currently being used in [allspark-core](https://gecgithub01.walmart.com/allspark/allspark-core) and several mini apps. This site documents the components of Allspark Foundation, including its container, clients, services, and other components. It also includes the migration guide for migrating feaure apps from `core-services` to `allspark-foundation`. ## Pre-requisites for Allspark Foundation See the [Introduction](./components/allspark%20foundation/foundation-intro.md) page for Foundation. @@ -22,4 +22,4 @@ See the [Introduction](./components/allspark%20foundation/foundation-intro.md) p For migrating a feature app to Foundation, read the [migration documentation](./components/allspark%20foundation/migration%20guides/foundation-migration.md). There are six phases in total, however the final phase is optional. -For creating a new feature app, see the [feature app template](https://gecgithub01.walmart.com/store-systems-associate-tech-platform/feature-app-template). \ No newline at end of file +For creating a new feature app, see the [feature app template](https://gecgithub01.walmart.com/store-systems-associate-tech-platform/feature-app-template). --- docs/docs/troubleshooting.md @@ -1,7 +1,7 @@ --- sidebar_position: 8 title: Troubleshooting -custom-edit-url: null +custom_edit_url: null --- # Allspark Troubleshooting
FAQ, troubleshooting updates.
FAQ, troubleshooting updates.
d4443ced2261b92e211a61e47ed00412740c0e39
--- packages/me-at-walmart-container/__tests__/redux/logger.test.ts @@ -41,14 +41,14 @@ describe('Logger tests', () => { }); describe('onAppConfigSuccess', () => { - it('should set user info with appConfigLogLevel and designMode', () => { + it('should set user info with configLogLevel and designMode', () => { const containerConfig = {logLevel: 'info'}; const iterator = onAppConfigSuccess(); expect(iterator.next().value).toEqual(select(ConfigSelectors.getContainerConfig)); expect(iterator.next(containerConfig).value).toEqual( call(MyWalmartLoggerServiceInstance.setUserInfo, { - appConfigLogLevel: 'error', + configLogLevel: 'error', }) ); expect(iterator.next().done).toBe(true); @@ -61,7 +61,7 @@ describe('Logger tests', () => { expect(iterator.next().value).toEqual(select(ConfigSelectors.getContainerConfig)); expect(iterator.next(containerConfig).value).toEqual( call(MyWalmartLoggerServiceInstance.setUserInfo, { - appConfigLogLevel: 'error', + configLogLevel: 'error', }) ); expect(iterator.next().done).toBe(true); --- packages/me-at-walmart-container/src/redux/logger.ts @@ -71,11 +71,11 @@ export function* onAppConfigSuccess() { return; } - const appConfigLogLevel = + const configLogLevel = (logLevel as string) in LoggerLevel ? logLevel : LoggerLevel.ERROR; yield call(MyWalmartLoggerServiceInstance.setUserInfo, { - appConfigLogLevel, + configLogLevel, }); } --- packages/me-at-walmart-container/src/services/logger.ts @@ -17,28 +17,33 @@ import {SESSION_ID} from '../session'; export type {TLogLevelOverride}; -// @todo - re-enable app config log level once mini apps move to foundation +/** + * Overrides indicates which user properties should trigger a specific log level. + * For example, if the 'impersonating' property is set to 'true', the log level will be set to DEBUG. + * Or if the 'configLogLevel' property is set to 'error', the log level will be set to ERROR. + * Look for usage of `setUserInfo` in the container to see where these properties are set. + */ export const OVERRIDES = [ - // { - // key: 'appConfigLogLevel', - // value: 'debug', - // level: LoggerLevel.DEBUG, - // }, - // { - // key: 'appConfigLogLevel', - // value: 'info', - // level: LoggerLevel.INFO, - // }, - // { - // key: 'appConfigLogLevel', - // value: 'warn', - // level: LoggerLevel.WARN, - // }, - // { - // key: 'appConfigLogLevel', - // value: 'error', - // level: LoggerLevel.ERROR, - // }, + { + key: 'configLogLevel', + value: 'debug', + level: LoggerLevel.DEBUG, + }, + { + key: 'configLogLevel', + value: 'info', + level: LoggerLevel.INFO, + }, + { + key: 'configLogLevel', + value: 'warn', + level: LoggerLevel.WARN, + }, + { + key: 'configLogLevel', + value: 'error', + level: LoggerLevel.ERROR, + }, { key: 'impersonating', value: 'true', @@ -46,17 +51,14 @@ export const OVERRIDES = [ }, ]; -export type MyWalmartLoggerServiceConfig = TConfig & { fields?: TFields; logLevel?: LoggerLevel; overrides?: TLogLevelOverride[]; sessionId: string; userInfo?: TUserInfo }; +export type MyWalmartLoggerServiceConfig = TConfig & { logLevel?: LoggerLevel; overrides?: TLogLevelOverride[]; sessionId: string; userInfo?: TUserInfo }; export class MyWalmartLoggerService implements ILoggerService { - _logger: ILogger; + private _logger: ILogger = DefaultLogger; + private _loggers: Record<string, ILogger> = {}; constructor(config: MyWalmartLoggerServiceConfig) { - const {fields, logLevel = 'info', overrides = OVERRIDES, sessionId, userInfo, ...restConfig} = config || {}; - this._logger = DefaultLogger.clone(restConfig, { - id: 'allspark-core', - ...fields, - }); + const {logLevel = 'info', overrides = OVERRIDES, sessionId, userInfo} = config || {}; this.setLogLevel(logLevel, overrides); @@ -82,39 +84,40 @@ export class MyWalmartLoggerService implements ILoggerService { }; public setConfig = (config: TConfig) => { - // DefaultLogger.setConfig(config); - this._logger.setConfig({ - ...config, - }); + this._logger.setConfig(config); } public setSessionInfo = (sessionId: string) => { - DefaultLogger.setSessionInfo(sessionId); this._logger.setSessionInfo(sessionId); }; public setLogLevel = (level: LogLevel, overrides?: TLogLevelOverride[]) => { - DefaultLogger.setLogLevel({ - defaultLevel: level as any, - overrides: overrides, - }); - this._logger.setLogLevel({ defaultLevel: level as any, overrides, }); }; + private getLogger = (featureId: string): ILogger => { + if (!this._loggers[featureId]) { + this._loggers[featureId] = this._logger.clone({}, {id: featureId}); + } + return this._loggers[featureId]; + }; + public debug = (message: string, params: Record<string, any>, featureId: string) => { - this._logger.debug(message, {...params, featureId} as TParams); + const logger = this.getLogger(featureId); + logger.debug(message, {...params, featureId} as TParams); }; public warn = (message: string, params: Record<string, any>, featureId: string) => { - this._logger.warn(message, {...params, featureId} as TParams); + const logger = this.getLogger(featureId); + logger.warn(message, {...params, featureId} as TParams); }; public info = (message: string, params: Record<string, any>, featureId: string) => { - this._logger.info(message, {...params, featureId} as TParams); + const logger = this.getLogger(featureId); + logger.info(message, {...params, featureId} as TParams); }; public error = ( @@ -128,14 +131,15 @@ export class MyWalmartLoggerService implements ILoggerService { ); params.message = 'N/A'; } - this._logger.error(message, {...params, featureId} as TParams); + const logger = this.getLogger(featureId); + logger.error(message, {...params, featureId} as TParams); }; /** * Kept for use in me-at-walmart-container. Needed to set user info all other loggers inherit */ public setUserInfo = (userInfo: TUserInfo) => { - DefaultLogger.setUserInfo(userInfo); + this._logger.setUserInfo(userInfo); }; }
fix(logger): logger service incorrectly assigning id field (#5205)
fix(logger): logger service incorrectly assigning id field (#5205) Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
8ae6ec5d61bc4ad84312855da1308e9a6d05bfe9
--- android/app/build.gradle @@ -134,7 +134,7 @@ android { applicationId "com.walmart.stores.allspark.beta" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 68 + versionCode 69 versionName "1.0.5" } splits { --- ios/AllSpark/Info.plist @@ -34,7 +34,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>68</string> + <string>69</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>68</string> + <string>69</string> </dict> </plist>
Incrementing build number
Incrementing build number
b6f75872f998cccdbb25575734bde6bb440bed38
--- babel.config.js @@ -1,4 +1,7 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'], + presets: [ + 'module:metro-react-native-babel-preset', + '@react-native/babel-preset' + ], plugins: ['react-native-reanimated/plugin'], };
fix(ui): undid babel config changes
fix(ui): undid babel config changes
f4071377e77e91d991f32c69d30d6885d9b34302
--- packages/me-at-walmart-common/__tests__/utilsTest.ts @@ -11,7 +11,7 @@ describe('getEncryptionKeyForUser', () => { const user = { domain: UserDomain.store, siteId: 1234, - }; + } as any; const result = getEncryptionKeyForUser(user); expect(result).toBe('1234'); }); @@ -20,7 +20,7 @@ describe('getEncryptionKeyForUser', () => { const user = { domain: UserDomain.homeoffice, siteId: 5678, - }; + } as any; const result = getEncryptionKeyForUser(user); expect(result).toBe(UserDomain.homeoffice); }); @@ -29,7 +29,7 @@ describe('getEncryptionKeyForUser', () => { const user = { domain: undefined, siteId: 5678, - }; + } as any; const result = getEncryptionKeyForUser(user); expect(result).toBe(UserDomain.homeoffice); }); @@ -37,4 +37,22 @@ describe('getEncryptionKeyForUser', () => { it('returns homeoffice if user is null', () => { expect(getEncryptionKeyForUser(null)).toBe(UserDomain.homeoffice); }); + + it('should handle mixed case domain by converting to lowercase for store comparison', () => { + const user = { + domain: 'Store/Club' as UserDomain, + siteId: 7777, + } as any; + const result = getEncryptionKeyForUser(user); + expect(result).toBe('7777'); + }); + + it('should handle uppercase non-store domain by converting to lowercase', () => { + const user = { + domain: 'HOMEOFFICE' as UserDomain, + siteId: 5555, + } as any; + const result = getEncryptionKeyForUser(user); + expect(result).toBe('homeoffice'); + }); }); --- packages/me-at-walmart-common/src/utils.ts @@ -7,7 +7,8 @@ export const getEncryptionKeyForUser = (user: User | null) => { } const {domain, siteId} = user; - return domain === UserDomain.store + const newDomain = !!domain ? domain.toLowerCase() : domain; + return newDomain === UserDomain.store ? String(siteId) - : domain || UserDomain.homeoffice; + : newDomain || UserDomain.homeoffice; };
fix(domain comparison for encrypted key): make domain lowercase
fix(domain comparison for encrypted key): make domain lowercase
5b38cc047c3736310bfc51e2e4075d4b60691348
--- package.json @@ -40,7 +40,7 @@ "uploadBlobToAzure": "node ./scripts/dependencies-map/src/upload-to-azure/upload-to-azure.js", "buildDependenciesMap": "node ./scripts/dependencies-map/src/deps-crawler/index.js -- -f -dm -dc path='./scripts/dependencies-map/src/config/deps-source.json' chunk_size=20", "android": "expo run:android", - "ios": "expo run:ios --device", + "ios": "expo run:ios", "prepare": "husky" }, "dependencies": {
chore: revert ios build command changes
chore: revert ios build command changes
38d17313fc4841bfd096765a1141e19876a5d866
--- yarn.lock @@ -5894,8 +5894,8 @@ __metadata: linkType: hard "@walmart/allspark-foundation-hub@npm:latest": - version: 1.0.1-beta.16 - resolution: "@walmart/allspark-foundation-hub@npm:1.0.1-beta.16" + version: 1.0.1-beta.17 + resolution: "@walmart/allspark-foundation-hub@npm:1.0.1-beta.17" dependencies: "@apollo/client": "npm:^3.8.6" "@graphql-codegen/cli": "npm:^5.0.0" @@ -5991,7 +5991,7 @@ __metadata: allspark-generate-graphql: cli/generate.js allspark-link: cli/link.js allspark-setup: cli/setup.js - checksum: 10c0/76f0b44d40767964d4e1ac8e777a54f8f797a055913344846aadb68bfeab8c589d539309a06e55e0815cb364eb98eb4d15f2d65fa169cf33ebc668de8cf299ef + checksum: 10c0/3aa876a9b0839a2f8200a38dcdab50bcfdb1c1c02c6c779ec6ab29024cf97c7672fd44d3fd26b54d4d531a63ca1d2d18293fbe13d3e96ba1d1fdaea5d5b621bb languageName: node linkType: hard
Update dnd status chip
Update dnd status chip
5a23fe0a351331fbe18f8451adef4b9318315f4c
--- packages/allspark-foundation/src/Feature/AllsparkFeatureManager.ts @@ -429,4 +429,12 @@ export class FeatureModuleManager { return feature?.useFeatureEnabled(); }; + + /** + * Hook to return the name of a feature + */ + public useFeatureName = (featureId: string) => { + const feature = this.getFeature(featureId); + return feature?.name; + }; } --- packages/allspark-foundation/src/Feature/withFeatureToggleGuard.tsx @@ -5,9 +5,15 @@ import React, { useEffect, useMemo, } from 'react'; +import { capitalize } from 'lodash'; import { StyleSheet, View } from 'react-native'; import { useNavigation } from '@react-navigation/native'; -import { Button, ButtonGroup } from '@walmart/gtp-shared-components'; +import { + Body, + Button, + ButtonGroup, + Heading, +} from '@walmart/gtp-shared-components'; import { ActiveAllsparkContainer } from '../Container/ActiveContainerManager'; import { useAllsparkComponent } from '../Components/context'; @@ -16,7 +22,7 @@ import { useAllsparkTranslation } from '../Translation/hooks'; const styles = StyleSheet.create({ container: { flex: 1, - justifyContent: 'center', + padding: 48, }, errorMessage: { flex: 0, @@ -27,6 +33,9 @@ const styles = StyleSheet.create({ marginBottom: 16, alignSelf: 'center', }, + text: { + textAlign: 'center', + }, }); export const FeatureGuardError = (props: { featureId: string }) => { @@ -34,10 +43,13 @@ export const FeatureGuardError = (props: { featureId: string }) => { const navigation = useNavigation(); const { t } = useAllsparkTranslation(); + const name = ActiveAllsparkContainer.features.useFeatureName(featureId); const Image = useAllsparkComponent('Image'); const ErrorMessage = useAllsparkComponent('ErrorMessage'); + const featureName = name || 'this feature'; + useEffect(() => { navigation.setOptions({ title: t('FeatureGuardError.header', { @@ -58,10 +70,15 @@ export const FeatureGuardError = (props: { featureId: string }) => { style={styles.image} /> <ErrorMessage - title={t('FeatureGuardError.title', { - defaultValue: "This feature isn't available right now.", - fallbackLng: 'en-US', - })} + title={ + <Heading size='large' UNSAFE_style={styles.text}> + {t('FeatureGuardError.title', { + featureName: capitalize(featureName), + defaultValue: "{{featureName}} isn't available right now.", + fallbackLng: 'en-US', + })} + </Heading> + } actions={ <ButtonGroup> <Button variant='primary' onPress={navigation.goBack}> @@ -74,12 +91,14 @@ export const FeatureGuardError = (props: { featureId: string }) => { } UNSAFE_style={styles.errorMessage} > - {t('FeatureGuardError.message', { - featureId, - defaultValue: - 'You’ll be able to use {{featureId}} when everything is fixed.', - fallbackLng: 'en-US', - })} + <Body UNSAFE_style={styles.text}> + {t('FeatureGuardError.message', { + featureName, + defaultValue: + 'You’ll be able to use {{featureName}} when everything is fixed.', + fallbackLng: 'en-US', + })} + </Body> </ErrorMessage> </View> );
fix: feature guard style did not match ux. hook added to access readable feature name
fix: feature guard style did not match ux. hook added to access readable feature name
81ea8bb1513aa478d0ad1f62849733d81d34fe1b
--- packages/allspark-authentication/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.9](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/allspark-authentication@2.0.8...@walmart/allspark-authentication@2.0.9) (2023-05-24) + +**Note:** Version bump only for package @walmart/allspark-authentication + + + + + ## [2.0.8](https://gecgithub01.walmart.com/allspark/allspark-core-services/compare/@walmart/allspark-authentication@2.0.7...@walmart/allspark-authentication@2.0.8) (2023-05-24) **Note:** Version bump only for package @walmart/allspark-authentication --- packages/allspark-authentication/package-lock.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-authentication", - "version": "2.0.8", + "version": "2.0.9", "lockfileVersion": 1, "requires": true, "dependencies": { --- packages/allspark-authentication/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-authentication", - "version": "2.0.8", + "version": "2.0.9", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -34,8 +34,8 @@ }, "devDependencies": { "@types/lodash": "~4.14.178", - "@walmart/allspark-foundation": "^2.2.3", - "@walmart/allspark-utils": "^1.6.2", + "@walmart/allspark-foundation": "^2.2.4", + "@walmart/allspark-utils": "^1.6.3", "react-native-app-auth": "^6.4.3" } } --- packages/allspark-foundation/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@2.2.3...@walmart/allspark-foundation@2.2.4) (2023-05-24) + +**Note:** Version bump only for package @walmart/allspark-foundation + + + + + ## [2.2.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@2.2.2...@walmart/allspark-foundation@2.2.3) (2023-05-24) **Note:** Version bump only for package @walmart/allspark-foundation --- packages/allspark-foundation/package-lock.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation", - "version": "2.2.3", + "version": "2.2.4", "lockfileVersion": 1, "requires": true, "dependencies": { --- packages/allspark-foundation/package.json @@ -1,7 +1,7 @@ { "name": "@walmart/allspark-foundation", "private": false, - "version": "2.2.3", + "version": "2.2.4", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ "@apollo/client": "^3.7.3", "@lifeomic/axios-fetch": "3.0.1", "@reduxjs/toolkit": "^1.9.1", - "@walmart/allspark-utils": "^1.6.2", + "@walmart/allspark-utils": "^1.6.3", "@walmart/gtp-shared-components": "^2.0.2", "axios": "~1.2.4", "crypto-js": "~4.1.1", --- packages/allspark-utils/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. +## [1.6.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-utils@1.6.2...@walmart/allspark-utils@1.6.3) (2023-05-24) + +**Note:** Version bump only for package @walmart/allspark-utils + + + + + ## [1.6.2](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-utils@1.6.1...@walmart/allspark-utils@1.6.2) (2023-05-24) **Note:** Version bump only for package @walmart/allspark-utils --- packages/allspark-utils/package-lock.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-utils", - "version": "1.6.2", + "version": "1.6.3", "lockfileVersion": 1, "requires": true, "dependencies": { --- packages/allspark-utils/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-utils", - "version": "1.6.2", + "version": "1.6.3", "description": "> TODO: description", "author": "rlane1 <russell.lane@walmart.com>", "homepage": "", --- 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. +## [2.0.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-container@2.0.3...@walmart/me-at-walmart-container@2.0.4) (2023-05-24) + +**Note:** Version bump only for package @walmart/me-at-walmart-container + + + + + ## [2.0.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-container@2.0.2...@walmart/me-at-walmart-container@2.0.3) (2023-05-24) **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": "2.0.3", + "version": "2.0.4", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -18,8 +18,8 @@ "author": "", "license": "ISC", "dependencies": { - "@walmart/allspark-foundation": "^2.2.3", - "@walmart/allspark-utils": "^1.6.2", + "@walmart/allspark-foundation": "^2.2.4", + "@walmart/allspark-utils": "^1.6.3", "@walmart/config-components": "4.1.0-rc.4", "@walmart/me-at-walmart-athena-queries": "^1.3.9", "jwt-decode": "^3.1.2" @@ -30,7 +30,7 @@ "@react-native-firebase/analytics": "~15.1.1", "@react-native-firebase/crashlytics": "~15.1.1", "@react-native-firebase/perf": "~15.1.1", - "@walmart/allspark-authentication": "^2.0.8", + "@walmart/allspark-authentication": "^2.0.9", "@walmart/react-native-encrypted-storage": "~1.1.13", "@walmart/react-native-logger": "1.29.0", "@walmart/react-native-sumo-sdk": "2.4.0-rc.2",
chore(version): updating package version
chore(version): updating package version - @walmart/allspark-authentication@2.0.9 - @walmart/allspark-foundation@2.2.4 - @walmart/allspark-utils@1.6.3 - @walmart/me-at-walmart-container@2.0.4
492efad3d9cc07e9ec279275ccc2e0a55f3e231d
--- src/settings/timeclock/TimeClockSettings.tsx @@ -19,7 +19,7 @@ export const TimeClockSettings = ( ) => { const {navigation} = props; - const {t} = useTranslation('settings'); + const {t} = useTranslation(); const dispatch = useDispatch(); const snackbar = useSnackbar(); @@ -35,8 +35,8 @@ export const TimeClockSettings = ( const toggleHaptics = async () => { const nextValue = !timeclock.hapticsOn; const message = nextValue - ? 'timeClock:sound-on:snackbarTitle' - : 'timeClock:sound-off:snackbarTitle'; + ? 'settings:timeClock:sound-on:snackbarTitle' + : 'settings:timeClock:sound-off:snackbarTitle'; dispatch(SettingsActionCreators.TIMECLOCK_HAPTICS_CHANGED(nextValue)); snackbar.addSnack({ message: t(message), @@ -53,10 +53,10 @@ export const TimeClockSettings = ( return ( <View style={commonStyles.screen}> <ToggleSetting - labelOn={t('timeClock.sound-on.title')} - labelOff={t('timeClock.sound-off.title')} - descriptionOn={t('timeClock.sound-on.desc')} - descriptionOff={t('timeClock.sound-off.desc')} + labelOn={t('settings:timeClock:sound-on:title')} + labelOff={t('settings:timeClock:sound-off:title')} + descriptionOn={t('settings:timeClock:sound-on:desc')} + descriptionOff={t('settings:timeClock:sound-off:desc')} value={timeclock.hapticsOn} onToggle={toggleHaptics} testID='time_clock_haptics'
timeclock notification string fix
timeclock notification string fix
ef09d85bb1475501d98612106a508dcdbdf40e9b
--- CODEOWNERS @@ -10,4 +10,4 @@ # subdirectories -/packages/ @allspark/allspark-admin-team +/packages/allspark-foundation-hub @allspark/push-to-talk
Update CODEOWNERS
Update CODEOWNERS
9c5dc11366a1c046c7f6bc78406c0ad2a8de8c9c
--- package-lock.json @@ -39,7 +39,7 @@ "@walmart/attendance-mini-app": "0.77.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.15", - "@walmart/core-services-allspark": "~2.10.3", + "@walmart/core-services-allspark": "~2.10.4", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", "@walmart/counts-component-miniapp": "0.1.2", @@ -4737,9 +4737,9 @@ } }, "node_modules/@walmart/allspark-utils": { - "version": "1.5.1", - "resolved": "https://npme.walmart.com/@walmart/allspark-utils/-/allspark-utils-1.5.1.tgz", - "integrity": "sha512-gVzB+AHo5oJiCdf2RzzfqwXUfWAE37Cguzeigd7cw4sIHE+A9fVFPvxwW73v24eaBWMt7D5uPUOZ8IzPPxnNsQ==", + "version": "1.5.2", + "resolved": "https://npme.walmart.com/@walmart/allspark-utils/-/allspark-utils-1.5.2.tgz", + "integrity": "sha512-oz80vjIUh8hY4p9BEVPq3B3aPvGcWiH60kGiPzbogwzh7eYhqryBeHK2qhN1f33B4jNBeZCewE9+eRBIUe6ZAA==", "license": "ISC", "dependencies": { "crypto-js": "~4.1.1", @@ -4946,16 +4946,16 @@ } }, "node_modules/@walmart/core-services-allspark": { - "version": "2.10.3", - "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.3.tgz", - "integrity": "sha512-OD1A70USaAGyQpIiHns5QNo6vSQ/57Qv8ijEN86L5oO5cqj9LDAj6BKDwTuMU0K1l5sW6lJwdIjq8cK5FaV6og==", + "version": "2.10.4", + "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.4.tgz", + "integrity": "sha512-k47aef9+TfxrntIEZ0Dwo57M9ayp3X4Ktfuhx7Tr2KJH1+CFRKg3zqAKLJYQSNv9paTy5bIlHTnPdQs45eFq/w==", "license": "ISC", "dependencies": { - "@walmart/allspark-graphql-client": "^1.4.2", - "@walmart/allspark-http-client": "^2.4.10", - "@walmart/allspark-utils": "^1.5.1", - "@walmart/core-services": "^2.0.16", - "@walmart/me-at-walmart-athena-queries": "^1.3.3", + "@walmart/allspark-graphql-client": "^1.4.3", + "@walmart/allspark-http-client": "^2.4.11", + "@walmart/allspark-utils": "^1.5.2", + "@walmart/core-services": "^2.0.17", + "@walmart/me-at-walmart-athena-queries": "^1.3.4", "crypto-js": "~4.1.1", "jwt-decode": "^3.1.2", "luxon": "^2.4.0", @@ -5425,12 +5425,12 @@ } }, "node_modules/@walmart/me-at-walmart-athena-queries": { - "version": "1.3.3", - "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.3.tgz", - "integrity": "sha512-n074GJ32BlirNwh0DzSQBr/BY9KGiH8NCtemaRTBx1fFALN6ez40ytwm5s6fO5HvDheRICtuiegk2cEmvM0YpA==", + "version": "1.3.4", + "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.4.tgz", + "integrity": "sha512-GxkNPc/dTMOtVwJXwY8Ouj7hFBI9ufiffyV3ytUwyQA4GSkZbfT271BGtXqPKotIAefOPpStSbKJcicyoP05XA==", "license": "ISC", "dependencies": { - "@walmart/allspark-graphql-client": "^1.4.2" + "@walmart/allspark-graphql-client": "^1.4.3" } }, "node_modules/@walmart/me-field-mini-app": { @@ -24924,7 +24924,7 @@ "resolved": "https://npme.walmart.com/@walmart/allspark-http-client/-/allspark-http-client-2.4.10.tgz", "integrity": "sha512-zWQMX2Tkkp3hqYGxNS7hyUHuUS8h4qghIHWyAOOswZFz/trXeYQIBgG+tMW/tXrHKu/ARWvyAZoWeP2Wf+9fEw==", "requires": { - "@walmart/allspark-utils": "^1.5.1", + "@walmart/allspark-utils": "^1.5.2", "axios": "~1.2.6" } }, @@ -24932,9 +24932,9 @@ "version": "0.1.31" }, "@walmart/allspark-utils": { - "version": "1.5.1", - "resolved": "https://npme.walmart.com/@walmart/allspark-utils/-/allspark-utils-1.5.1.tgz", - "integrity": "sha512-gVzB+AHo5oJiCdf2RzzfqwXUfWAE37Cguzeigd7cw4sIHE+A9fVFPvxwW73v24eaBWMt7D5uPUOZ8IzPPxnNsQ==", + "version": "1.5.2", + "resolved": "https://npme.walmart.com/@walmart/allspark-utils/-/allspark-utils-1.5.2.tgz", + "integrity": "sha512-oz80vjIUh8hY4p9BEVPq3B3aPvGcWiH60kGiPzbogwzh7eYhqryBeHK2qhN1f33B4jNBeZCewE9+eRBIUe6ZAA==", "requires": { "crypto-js": "^3.3.0", "lodash": "~4.17.21", @@ -25018,7 +25018,7 @@ "integrity": "sha512-4uZFmJ0Wggv6obn1Nj2ursybQGXUdDk5KV1m3oWYOFfbkCozDvQovfT3zjUMVM2ih6Z+OdNw4N/atsLJJp8XJA==", "requires": { "@walmart/allspark-http-client": "^2.4.10", - "@walmart/allspark-utils": "^1.5.1", + "@walmart/allspark-utils": "^1.5.2", "@walmart/redux-store": "3.1.4", "reduxsauce": "^1.2.1", "reselect": "^4.1.5", @@ -25027,15 +25027,15 @@ } }, "@walmart/core-services-allspark": { - "version": "2.10.3", - "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.3.tgz", - "integrity": "sha512-OD1A70USaAGyQpIiHns5QNo6vSQ/57Qv8ijEN86L5oO5cqj9LDAj6BKDwTuMU0K1l5sW6lJwdIjq8cK5FaV6og==", + "version": "2.10.4", + "resolved": "https://npme.walmart.com/@walmart/core-services-allspark/-/core-services-allspark-2.10.4.tgz", + "integrity": "sha512-k47aef9+TfxrntIEZ0Dwo57M9ayp3X4Ktfuhx7Tr2KJH1+CFRKg3zqAKLJYQSNv9paTy5bIlHTnPdQs45eFq/w==", "requires": { "@walmart/allspark-graphql-client": "^1.4.1", "@walmart/allspark-http-client": "^2.4.10", - "@walmart/allspark-utils": "^1.5.1", + "@walmart/allspark-utils": "^1.5.2", "@walmart/core-services": "~2.0.15", - "@walmart/me-at-walmart-athena-queries": "^1.3.3", + "@walmart/me-at-walmart-athena-queries": "^1.3.4", "crypto-js": "^3.3.0", "jwt-decode": "^3.1.2", "luxon": "^1.28.0", @@ -25055,7 +25055,7 @@ "resolved": "https://npme.walmart.com/@walmart/core-widget-registry/-/core-widget-registry-1.2.2.tgz", "integrity": "sha512-gSezs9XZBxvJMgEE86vx8I+1vW/tVKhW+BfVtErFuxF/+wNMAPiTwNfsTa22/wY8ZMlRSdfyvXRlvdZiFRlHqg==", "requires": { - "@walmart/allspark-utils": "^1.5.1" + "@walmart/allspark-utils": "^1.5.2" } }, "@walmart/counts-component-miniapp": { @@ -25145,9 +25145,9 @@ "version": "0.2.1" }, "@walmart/me-at-walmart-athena-queries": { - "version": "1.3.3", - "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.3.tgz", - "integrity": "sha512-n074GJ32BlirNwh0DzSQBr/BY9KGiH8NCtemaRTBx1fFALN6ez40ytwm5s6fO5HvDheRICtuiegk2cEmvM0YpA==", + "version": "1.3.4", + "resolved": "https://npme.walmart.com/@walmart/me-at-walmart-athena-queries/-/me-at-walmart-athena-queries-1.3.4.tgz", + "integrity": "sha512-GxkNPc/dTMOtVwJXwY8Ouj7hFBI9ufiffyV3ytUwyQA4GSkZbfT271BGtXqPKotIAefOPpStSbKJcicyoP05XA==", "requires": { "@walmart/allspark-graphql-client": "^1.4.1" } --- package.json @@ -81,7 +81,7 @@ "@walmart/attendance-mini-app": "0.77.0", "@walmart/config-components": "4.1.0-rc.4", "@walmart/core-services": "~2.0.15", - "@walmart/core-services-allspark": "~2.10.3", + "@walmart/core-services-allspark": "~2.10.4", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", "@walmart/counts-component-miniapp": "0.1.2", @@ -220,7 +220,7 @@ }, "overrides": { "@react-native-community/datetimepicker": "$@react-native-community/datetimepicker", - "@walmart/allspark-utils": "^1.5.1", + "@walmart/allspark-utils": "^1.5.2", "@walmart/allspark-graphql-client": "$@walmart/allspark-graphql-client", "@walmart/allspark-http-client": "^2.4.10", "@walmart/core-services": "$@walmart/core-services",
update core service and utils
update core service and utils
1e0405e102ec24057fe5f5cf0298f2688cc12806
--- src/screens/MessagesScreen.tsx @@ -206,6 +206,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { }, ); }; + // To calculate messages length const extraData = useMemo( () => ({listLength: messages.length}), [messages.length], --- src/screens/MessagesScreen.tsx @@ -206,6 +206,7 @@ export const MessagesScreen: FC<MessagesScreenProps> = (props) => { }, ); }; + // To calculate messages length const extraData = useMemo( () => ({listLength: messages.length}), [messages.length],
adding comments
adding comments
466d5b90eddf7ce0ff9bdb5a6c2d275402f7ccdb
--- graphql.yml @@ -41,6 +41,11 @@ applications: queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql' tags: - 'v1' + - name: 'GetSupplyChainTeamsByStore' + hash: '628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1' + queryTemplate: 'packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql' + tags: + - 'v1' - name: 'getTeamByIdHome' hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0' queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql' @@ -98,6 +103,11 @@ applications: # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamPreferenceQuery.graphql" # tags: # - "v1" + # - name: "GetSupplyChainTeamsByStore" + # hash: "628c21f19457c4deea7fd9d2dd15138c11da598add9f4f67441e0d7d9318c8d1" + # queryTemplate: "packages/me-at-walmart-athena-queries/src/getSupplyChainTeamsByStore.graphql" + # tags: + # - "v1" - name: 'getTeamByIdHome' hash: '6b4b876250309d85dd51831ace4595bd1764b3d41ef7fd65c08df03b4c4982e0' queryTemplate: 'packages/me-at-walmart-athena-queries/src/getTeamByIdHome.graphql'
feat(ui): resolved conflicts
feat(ui): resolved conflicts
78ebf5e85c7e393e49d6a83c29e806996b88c1cd
--- packages/allspark-graphql-client/src/apollo/links.ts @@ -1,31 +0,0 @@ -import { print } from 'graphql'; -import { ApolloLink } from '@apollo/client'; -import { createPersistedQueryLink } from '@apollo/client/link/persisted-queries'; - -import { generateQueryHash } from '../utils/generateQueryHash'; - -export const persistedQueriesLink = createPersistedQueryLink({ - generateHash: generateQueryHash, -}); - -export const operationNameLink = new ApolloLink((operation, forward) => { - operation.setContext({ - http: { - includeExtensions: false, - }, - }); - - const operationName = - // @ts-ignore - operation.query.definitions[0]?.selectionSet?.selections[0]?.name.value; - - if (!operationName) { - throw new Error( - `Unable to find operation name for query: \n ${print(operation.query)}` - ); - } - - operation.extensions.operationName = operationName; - - return forward(operation); -}); --- packages/allspark-graphql-client/src/apollo/provider.tsx @@ -5,19 +5,29 @@ import { ApolloProvider, HttpLink, from, + ApolloLink, } from '@apollo/client'; +import { createPersistedQueryLink } from '@apollo/client/link/persisted-queries'; import { buildAxiosFetch } from '@lifeomic/axios-fetch'; // Eventually we can remove the reliance on this type and instead // have a dependency on allspark-http-client import { AxiosInstance } from '@lifeomic/axios-fetch/src/axios-types'; import { typePolicies } from '../athena'; -import { operationNameLink, persistedQueriesLink } from './links'; +import { generateQueryHash } from '../utils/generateQueryHash'; + +export const persistedQueriesLink = createPersistedQueryLink({ + generateHash: generateQueryHash, +}); export const AllsparkApolloProvider = ( - props: PropsWithChildren<{ url: string; httpClient: AxiosInstance }> + props: PropsWithChildren<{ + url: string; + httpClient: AxiosInstance; + links?: ApolloLink[]; + }> ) => { - const { url, httpClient, children } = props; + const { url, httpClient, links = [], children } = props; const client = useMemo(() => { const httpLink = new HttpLink({ @@ -29,7 +39,7 @@ export const AllsparkApolloProvider = ( cache: new InMemoryCache({ typePolicies, }), - link: from([operationNameLink, persistedQueriesLink, httpLink]), + link: from([persistedQueriesLink, ...links, httpLink]), connectToDevTools: __DEV__, }); --- packages/allspark-graphql-client/src/athena/policies.ts @@ -1,88 +1,95 @@ import { StrictTypedTypePolicies } from './apollo-helpers'; export const typePolicies: StrictTypedTypePolicies = { + // -- Type policy for root queries -- // + Query: { + fields: { + getAssociateById: { + // Transform query args into cache lookup + read(_, { args, toReference }) { + return toReference({ + __typename: 'Associate', + associateId: args?.id, + }); + }, + }, + getTeamById: { + // Transform query args into cache lookup + read(_, { args, toReference }) { + return toReference({ + __typename: 'Team', + teamId: args?.teamId, + site: args?.storeNbr, + }); + }, + }, + }, + }, + // -- Type policy for root mutations -- // + // Mutation: {}, + // -- Type Policies for entities -- // Associate: { keyFields: ['associateId'], + merge: true, + }, + MewAssociate: { + keyFields: ['associateId'], + merge: true, + }, + MewTeam: { + keyFields: ['teamId', 'site'], + }, + Team: { + keyFields: ['teamId', 'site'], + merge: true, + }, + UserInfo: { + keyFields: ['userPrincipalName'], }, WorkdayAssociate: { keyFields: ['associateId'], }, + WorkdayTeam: { + keyFields: ['teamId'], + }, + // AssociateDisplayPreference: { keyFields: ['win'], }, + MewTeamAssociateMapping: { + keyFields: [], + }, + MewImPresence: { + keyFields: ['groupId'], + }, + TeamAssociateMapping: { + keyFields: [], + }, ProfilePicture: { keyFields: ['profilePic'], }, CRQActivity: { keyFields: ['crqNumber'], }, - // PayStub: { - // keyFields: [] - // }, - MewAssociate: { - keyFields: ['associateId'], - }, WFMSchedule: { keyFields: ['winNbr'], }, - EmploymentHistoryDetail: { - keyFields: ['id'], - }, GlobalTimeAndAttendance: { keyFields: ['associateId'], }, MetaDataUpdatedCRQ: { keyFields: ['crqNumber'], }, - UserInfo: { - keyFields: ['userPrincipalName'], - }, RoleAndOrgs: { keyFields: ['employeeId'], }, PayStubSummary: { keyFields: ['checkNbr'], }, - WorkdayTeam: { - keyFields: ['teamId'], - }, Talent: { keyFields: ['win'], }, - Team: { - keyFields: ['teamId'], - }, - TimeOffReason: { - keyFields: ['id'], - }, - TimeOffStatus: { - keyFields: ['id'], - }, - TimeOffType: { - keyFields: ['id'], - }, - TimeOffValidateReason: { - keyFields: ['id'], - }, - TimeOffEligible: { - keyFields: ['id'], - }, - // AssociateSearchResponse: {}, - CertficationSearchResult: { - keyFields: ['id'], - }, - CompanySearchResult: { - keyFields: ['id'], - }, - // SearchCourses:{}, - Degree: { - keyFields: ['id'], - }, - FieldOfStudy: { - keyFields: ['id'], - }, - // MilitaryStatusResult: {}, - School: { - keyFields: ['id'], + Schedule: { + keyFields: ['scheduleId', 'storeId'], }, }; --- packages/allspark-graphql-client/src/types.ts @@ -19,6 +19,7 @@ export type GraphqlClientConfig = { applicationKey?: string; description?: string; }; + environments: string[]; }; }; }; --- packages/allspark-redux-store/src/store/createStore.ts @@ -28,9 +28,9 @@ export const createStore = (config?: CreateStoreOptions): SharedReduxStore => { const dynamicMiddleware = createDynamicMiddleware(); const defaultMiddleware = [sagas, dynamicMiddleware.middleware]; - if (config?.flipper) { + if (config?.flipper?.enabled) { const createDebugger = require('redux-flipper').default; - defaultMiddleware.push(createDebugger()); + defaultMiddleware.push(createDebugger(config.flipper)); } const middleware = config?.middleware --- packages/allspark-redux-store/src/store/types.ts @@ -3,6 +3,7 @@ import { ConfigureStoreOptions, EnhancedStore } from '@reduxjs/toolkit'; import { Saga, Task } from 'redux-saga'; import type { GlobalState } from '../types'; +import { Configuration } from 'redux-flipper'; export type CreateStoreOptions = Omit< ConfigureStoreOptions<GlobalState>, @@ -10,7 +11,7 @@ export type CreateStoreOptions = Omit< > & { reducers?: Record<string, Reducer>; middleware?: Middleware[]; - flipper?: boolean; + flipper?: Configuration & { enabled: boolean }; }; export type SharedStoreMiddleware = Middleware<{}, GlobalState>;
feat: add links prop to apollo provider. removed allspark specific link. update policies
feat: add links prop to apollo provider. removed allspark specific link. update policies
c12ab20f99e738c8bb93594e7cfdae8fc63fcea2
--- __tests__/__mocks__/@walmart/backroom-mini-app.js @@ -0,0 +1,3 @@ +module.exports = { + BackroomMiniApp: 'BackroomMiniApp', +}; --- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap @@ -82,6 +82,11 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects name="Checkout" options={{}} /> + <Screen + component="Guarded[object Object]" + name="Backroom" + options={{}} + /> <Screen component="InboxScreen" name="inbox" @@ -459,6 +464,11 @@ exports[`AssociateHallwayNav matches snapshot; handles mount and unmount effects name="Checkout" options={{}} /> + <Screen + component="Guarded[object Object]" + name="Backroom" + options={{}} + /> <Screen component="InboxScreen" name="inbox" --- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -26,6 +26,8 @@ import {ApprovalsMiniApp} from '@walmart/manager-approvals-miniapp'; import {ModFlexMiniApp} from '@walmart/mod-flex-mini-app'; import {FieldLearningApp} from '@walmart/learning-mini-app'; +import BackroomMiniApp from '@walmart/backroom-mini-app'; + import {PaymentSelectionMiniApp} from '@walmart/payrollsolution_miniapp'; import {PriceChangesMiniApp} from '@walmart/price-changes-mini-app'; import { @@ -179,6 +181,10 @@ const WorkAppScreens = CreateGuardedScreens([ name: 'Checkout', component: CheckoutMiniApp, }, + { + name: 'Backroom', + component: BackroomMiniApp, + }, ] as const); const MetricsScreens = metricsNavigationScreens --- src/navigation/AssociateHallwayNav/types.ts @@ -41,6 +41,7 @@ export type MainStackMap = { askSam: undefined; Attendance: undefined; AVP_NAV_SCREEN_NAME: undefined; + Backroom: undefined; ConnectedCalling: undefined; 'Core.ChangeStoreModal': undefined; 'Core.FeatureRestrictions': FeatureRestrictionsScreenProps; --- src/settings/versions/utils.ts @@ -14,6 +14,7 @@ export const LISTED_DEPENDENCIES = [ '@walmart/attendance-mini-app', '@walmart/avp-shared-library', '@walmart/avp-feature-app', + '@walmart/backroom-mini-app', '@walmart/calling-mini-app', '@walmart/checkout-mini-app', '@walmart/copilot-mini-app', --- src/translations/en-US.ts @@ -7,6 +7,7 @@ export const enUS_common = { '@walmart/attendance-mini-app': 'Attendance', '@walmart/avp-feature-app': 'AVP', '@walmart/avp-shared-library': 'AVP shared', + '@walmart/backroom-mini-app': 'Backroom', '@walmart/calling-mini-app': 'Calls', '@walmart/checkout-mini-app': 'Checkout', '@walmart/copilot-mini-app': 'Copilot', --- src/translations/es-MX.ts @@ -7,6 +7,7 @@ export const esMX_common = { '@walmart/attendance-mini-app': 'Attendance', '@walmart/avp-feature-app': 'AVP', '@walmart/avp-shared-library': 'AVP shared', + '@walmart/backroom-mini-app': 'Backroom', '@walmart/calling-mini-app': 'llamadas', '@walmart/checkout-mini-app': 'Checkout', '@walmart/copilot-mini-app': 'Copilot',
Integrate @walmart/backroom-mini-app
Integrate @walmart/backroom-mini-app
e7f90de2099be0b38a8cd853f46ef2f30c3e6816
--- src/channels/provider.tsx @@ -178,7 +178,9 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => { let totalUnreadChannelsCount = 0; for (const id of Object.keys(channelState.dataById)) { const channelData = channelState.dataById[id]; - const lastReadTime = channelData.recentRead?.[viewerId]?.toDate() || SEVEN_DAYS_AGO_TIMESTAMP.toDate(); + const lastReadTime = + channelData.recentRead?.[viewerId]?.toDate() || + SEVEN_DAYS_AGO_TIMESTAMP.toDate(); // get count of messages created after last read time by viewer if (lastReadTime) { try { --- src/channels/provider.tsx @@ -178,7 +178,9 @@ export const ChannelsProvider = (props: PropsWithChildren<{}>) => { let totalUnreadChannelsCount = 0; for (const id of Object.keys(channelState.dataById)) { const channelData = channelState.dataById[id]; - const lastReadTime = channelData.recentRead?.[viewerId]?.toDate() || SEVEN_DAYS_AGO_TIMESTAMP.toDate(); + const lastReadTime = + channelData.recentRead?.[viewerId]?.toDate() || + SEVEN_DAYS_AGO_TIMESTAMP.toDate(); // get count of messages created after last read time by viewer if (lastReadTime) { try {
fix lint issue
fix lint issue
5efc3e153d10bfc63d00b10c8bb5acecfba12ce0
--- core/src/manifest.ts @@ -103,6 +103,7 @@ export const getAssociateFeatures = (): AllsparkFeatureModule[] => { require('@walmart/pay-stub-miniapp').default, require('@walmart/money-auth-shared-components').default, require('@walmart/store-feature-orders').default, + require('@walmart/payrollsolution_miniapp').default, require('@walmart/pay-stub-miniapp').default, require('@walmart/money-auth-shared-components').default, require('@walmart/exception-mini-app').default,
feat(ui): update the myteam and roster mini app version
feat(ui): update the myteam and roster mini app version
a943df5d2c9654798661f4a3032a55f43996ad9e
--- targets/US/package.json @@ -152,7 +152,7 @@ "@walmart/shop-gnfr-mini-app": "1.0.137", "@walmart/sidekick-mini-app": "4.168.19", "@walmart/store-feature-orders": "1.27.9", - "@walmart/taskit-mini-app": "5.24.1", + "@walmart/taskit-mini-app": "5.25.3", "@walmart/time-clock-mini-app": "2.448.1", "@walmart/topstock-mini-app": "1.20.4", "@walmart/translator-mini-app": "1.4.2", --- yarn.lock @@ -7389,7 +7389,7 @@ __metadata: "@walmart/shop-gnfr-mini-app": "npm:1.0.137" "@walmart/sidekick-mini-app": "npm:4.168.19" "@walmart/store-feature-orders": "npm:1.27.9" - "@walmart/taskit-mini-app": "npm:5.24.1" + "@walmart/taskit-mini-app": "npm:5.25.3" "@walmart/time-clock-mini-app": "npm:2.448.1" "@walmart/topstock-mini-app": "npm:1.20.4" "@walmart/translator-mini-app": "npm:1.4.2" @@ -8340,12 +8340,12 @@ __metadata: languageName: node linkType: hard -"@walmart/taskit-mini-app@npm:5.24.1": - version: 5.24.1 - resolution: "@walmart/taskit-mini-app@npm:5.24.1" +"@walmart/taskit-mini-app@npm:5.25.3": + version: 5.25.3 + resolution: "@walmart/taskit-mini-app@npm:5.25.3" peerDependencies: "@walmart/allspark-foundation": "*" - checksum: 10c0/ef3da5d70f30c426c5a00e1f233bc66f6625251bd04315e0f522212252da1135fd424fde08a6297acadcbd38ba9cf5b16cd3d1b60bf753765f3bb84e023ba8b5 + checksum: 10c0/54580b2894329292e8ca8cb415caa77f8492b499ad4bb4765915930bd60d7f00f46c7612c28daf1153d69a6b80f2d9d6369e79d1cb3e865db478449d1985f426 languageName: node linkType: hard
chore: bump taskit-mini-app@5.25.3
chore: bump taskit-mini-app@5.25.3
fc7efbe2d543907f0d93e6fb1261bf8dc3fddbc0
--- package-lock.json @@ -4331,9 +4331,9 @@ } }, "@walmart/push-to-talk-mini-app": { - "version": "0.5.68", - "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.68.tgz", - "integrity": "sha512-40p8BqIIplHMPjfkhBwfDd/xe/v8IvuhY4S07yPAMz257k5rBFsIC+n1GibyxIBCay57uMK7B2XC6RmsgY3/BA==" + "version": "0.5.69", + "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-0.5.69.tgz", + "integrity": "sha512-PZziHUCd2KUPwGJu0FxK/A/Als3mAoNwP7dgFASiNUFrO9ZkfFGdxTlDzGesWSw0pTMZMhunDTUM5HJwqpx1Dw==" }, "@walmart/react-native-collapsible": { "version": "1.5.3", --- package.json @@ -88,7 +88,7 @@ "@walmart/manager-approvals-miniapp": "0.0.58", "@walmart/metrics-mini-app": "0.4.14", "@walmart/moment-walmart": "1.0.4", - "@walmart/push-to-talk-mini-app": "0.5.68", + "@walmart/push-to-talk-mini-app": "0.5.69", "@walmart/react-native-env": "^0.2.0", "@walmart/react-native-logger": "^1.28.0", "@walmart/react-native-shared-navigation": "^0.4.0",
bumping version to hopefully fix the crash
bumping version to hopefully fix the crash
769d1d04399bbd3e53ce36b0cebc81856e6f9c25
--- package-lock.json @@ -1,12 +1,12 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.1.4", + "version": "1.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@walmart/myteam-mini-app", - "version": "1.1.4", + "version": "1.1.5", "hasInstallScript": true, "devDependencies": { "@babel/core": "^7.20.0", @@ -66,9 +66,9 @@ "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-sumo-sdk": "2.6.0", "@walmart/redux-store": "3.7.0", - "@walmart/roster-mini-app": "1.1.4", + "@walmart/roster-mini-app": "1.1.5", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "1.1.4", + "@walmart/wmconnect-mini-app": "1.1.5", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0", @@ -11817,9 +11817,9 @@ } }, "node_modules/@walmart/roster-mini-app": { - "version": "1.1.4", - "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.4.tgz", - "integrity": "sha512-EAY8cWebMmx/OaUiSMvjjLf7Ok//kAxibf6sa6FQBlfwgcWlvJzIK5oblCtIwpmk2Y/qcuSY3V6FQX7ciO9LaQ==", + "version": "1.1.5", + "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.5.tgz", + "integrity": "sha512-7sCioyivT+L57LBNg9QaagIVwawXYJpQAx+GngGRfw/+IKie6P1mT2IBuJ/cPHQxKvDhm38IMcsFCq1fBtuSCg==", "dev": true, "hasInstallScript": true }, @@ -11846,9 +11846,9 @@ } }, "node_modules/@walmart/wmconnect-mini-app": { - "version": "1.1.4", - "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.4.tgz", - "integrity": "sha512-IYOqK4yBeKVDZZH2YJDXyh92Fq8604uArHdyi+9u5gj0BjOa2emKPW0q31Chc+MHTytS4NE0kL0nuzpPKjEIeA==", + "version": "1.1.5", + "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.5.tgz", + "integrity": "sha512-xfDsIC9jYhQLMkuTSIPZfwijcYok88Blp2y+gIBMNCWVqytKErEKxD4nMexDjlCYxcu1g72xYGKvhPQdWsZpog==", "dev": true, "hasInstallScript": true }, @@ -40901,9 +40901,9 @@ } }, "@walmart/roster-mini-app": { - "version": "1.1.4", - "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.4.tgz", - "integrity": "sha512-EAY8cWebMmx/OaUiSMvjjLf7Ok//kAxibf6sa6FQBlfwgcWlvJzIK5oblCtIwpmk2Y/qcuSY3V6FQX7ciO9LaQ==", + "version": "1.1.5", + "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.1.5.tgz", + "integrity": "sha512-7sCioyivT+L57LBNg9QaagIVwawXYJpQAx+GngGRfw/+IKie6P1mT2IBuJ/cPHQxKvDhm38IMcsFCq1fBtuSCg==", "dev": true }, "@walmart/ui-components": { @@ -40918,9 +40918,9 @@ } }, "@walmart/wmconnect-mini-app": { - "version": "1.1.4", - "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.4.tgz", - "integrity": "sha512-IYOqK4yBeKVDZZH2YJDXyh92Fq8604uArHdyi+9u5gj0BjOa2emKPW0q31Chc+MHTytS4NE0kL0nuzpPKjEIeA==", + "version": "1.1.5", + "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.1.5.tgz", + "integrity": "sha512-xfDsIC9jYhQLMkuTSIPZfwijcYok88Blp2y+gIBMNCWVqytKErEKxD4nMexDjlCYxcu1g72xYGKvhPQdWsZpog==", "dev": true }, "@whatwg-node/events": { --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.1.4", + "version": "1.1.5", "private": false, "main": "dist/index.js", "files": [ @@ -89,8 +89,8 @@ "@walmart/react-native-sumo-sdk": "2.6.0", "@walmart/redux-store": "3.7.0", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "1.1.4", - "@walmart/roster-mini-app": "1.1.4", + "@walmart/wmconnect-mini-app": "1.1.5", + "@walmart/roster-mini-app": "1.1.5", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0",
Update version
Update version
3578568deb668985d48584e0a9bdecd3615a1a40
--- targets/US/android/app/src/main/java/com/walmart/stores/allspark/beta/MainActivity.kt @@ -1,7 +1,4 @@ package com.walmart.stores.allspark.beta -import android.content.Context -import android.content.Intent -import android.os.Bundle import com.facebook.react.ReactActivity import com.facebook.react.ReactActivityDelegate @@ -22,6 +19,9 @@ import org.devio.rn.splashscreen.SplashScreen // @customization - Expo modules import expo.modules.ReactActivityDelegateWrapper +// @customization - added for sumo +import android.content.Intent + class MainActivity: ReactActivity() { /** --- targets/US/src/features/root/sideKey/SideButtonSagas.ts @@ -1,7 +1,7 @@ import {Platform} from 'react-native'; import {call, take, select, takeLatest} from 'redux-saga/effects'; import DeviceInfo from 'react-native-device-info'; - +import KeyEvent from '@walmart/allspark-cope-key-listener'; import { ConfigActionTypes, ConfigSelectors, @@ -73,7 +73,7 @@ export const processKeyEvent = async (keyEvent: {keyCode: number}) => { }; export function* onConfigSuccess() { - const KeyEvent = require('@walmart/allspark-cope-key-listener'); + // requiring KeyEvent later would not add the listener correctly const settingsConfig = yield select(getSettingsAppConfig); const isEnabled = settingsConfig?.enableSideKey ?? true;
fixing build issue and side button
fixing build issue and side button
347c764cb3c0d75b5d0cc880d1ed9a133dd5306b
--- package-lock.json @@ -46,7 +46,7 @@ "@walmart/counts-component-miniapp": "0.1.2", "@walmart/emergency-mini-app": "1.19.0", "@walmart/exception-mini-app": "1.0.16", - "@walmart/facilities-management-miniapp": "0.5.33", + "@walmart/facilities-management-miniapp": "0.5.34", "@walmart/feedback-all-spark-miniapp": "0.9.10", "@walmart/financial-wellbeing-feature-app": "1.1.2", "@walmart/functional-components": "2.0.6", @@ -5070,9 +5070,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.5.33", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.33.tgz", - "integrity": "sha512-jWTa/tWP2C5bTabtgKZVx8KPEKSHUz6FxQ/NjiUWGs+MjP9f6asdOIUC//nNfadFcDWo8XvYsnzhaGCW9CBj4w==", + "version": "0.5.34", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.34.tgz", + "integrity": "sha512-0BdFMIzCwNHUeaPMwsuVJDYfSsJg8cWD/oK8V0smDw2CMMWkYN0qptL1sZtN04Xtyi+FYoOymL9Ty9IXcSpA2w==", "hasInstallScript": true, "peerDependencies": { "@react-native-community/async-storage": "^1.12.1", @@ -25325,9 +25325,9 @@ "integrity": "sha512-mzesUeNPUwAWFUrFs6104aZ3NCM5eXa2uD8TrjL+BV+ZVgYG/A58k1xUUxNayw26w7Z41J7m4bxA9ctgNiNVMQ==" }, "@walmart/facilities-management-miniapp": { - "version": "0.5.33", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.33.tgz", - "integrity": "sha512-jWTa/tWP2C5bTabtgKZVx8KPEKSHUz6FxQ/NjiUWGs+MjP9f6asdOIUC//nNfadFcDWo8XvYsnzhaGCW9CBj4w==" + "version": "0.5.34", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.34.tgz", + "integrity": "sha512-0BdFMIzCwNHUeaPMwsuVJDYfSsJg8cWD/oK8V0smDw2CMMWkYN0qptL1sZtN04Xtyi+FYoOymL9Ty9IXcSpA2w==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.10", --- package.json @@ -88,7 +88,7 @@ "@walmart/counts-component-miniapp": "0.1.2", "@walmart/emergency-mini-app": "1.19.0", "@walmart/exception-mini-app": "1.0.16", - "@walmart/facilities-management-miniapp": "0.5.33", + "@walmart/facilities-management-miniapp": "0.5.34", "@walmart/feedback-all-spark-miniapp": "0.9.10", "@walmart/financial-wellbeing-feature-app": "1.1.2", "@walmart/functional-components": "2.0.6",
version update
version update
06939f1d5da1d859b2fad489f39a7e423be98719
--- package-lock.json @@ -82,7 +82,6 @@ "@walmart/redux-store": "3.5.0", "@walmart/returns-mini-app": "1.9.0", "@walmart/schedule-mini-app": "0.47.0", - "@walmart/settings-mini-app": "1.19.1", "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8", "@walmart/texting-mini-app": "2.0.29", --- package.json @@ -123,7 +123,6 @@ "@walmart/redux-store": "3.5.0", "@walmart/returns-mini-app": "1.9.0", "@walmart/schedule-mini-app": "0.47.0", - "@walmart/settings-mini-app": "1.19.1", "@walmart/shelfavailability-mini-app": "1.5.16", "@walmart/taskit-mini-app": "2.40.8", "@walmart/texting-mini-app": "2.0.29",
removed unnecessary dependency
removed unnecessary dependency
d27412f41f4970b869db73f830d815446906fe53
--- android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.java @@ -4,7 +4,6 @@ import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; -import org.devio.rn.splashscreen.SplashScreenReactPackage; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; --- android/app/src/main/res/layout/launch_screen.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/background_splash" + android:orientation="vertical" + > +</LinearLayout> + --- android/app/src/main/res/values/strings.xml @@ -1,3 +1,4 @@ <resources> <string name="app_name">Me@Walmart Beta</string> + <string name="splash_description">Splash screen image</string> </resources> --- android/app/src/main/res/values/styles.xml @@ -7,7 +7,7 @@ </style> <style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar"> - <item name="android:windowBackground">@drawable/background_splash</item> + <item name="android:windowBackground">@layout/launch_screen</item> <item name="android:statusBarColor">@color/blue</item> </style> </resources>
partial android
partial android
7b63666c5bf25db319b4a9f6a623ec7575f69000
--- ios/AllSpark.xcodeproj/project.pbxproj @@ -500,7 +500,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 212ACBF9F6EA1B3866D5D388 /* Pods-AllSpark.debug.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Dev"; + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Beta"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -540,7 +540,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 18C7AF990A657BA8B527E5F6 /* Pods-AllSpark.release.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Dev"; + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-Beta"; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; --- ios/AllSpark/Info.plist @@ -106,7 +106,7 @@ <string>remote-notification</string> </array> <key>UILaunchStoryboardName</key> - <string>LaunchScreen-Dev</string> + <string>LaunchScreen-Beta</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> --- ios/Podfile.lock @@ -342,6 +342,8 @@ PODS: - React-cxxreact (= 0.63.4) - React-jsi (= 0.63.4) - React-jsinspector (0.63.4) + - react-native-background-timer (2.4.1): + - React-Core - react-native-biometrics (2.1.4): - React - react-native-encrypted-storage (4.0.2): @@ -664,6 +666,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/jsiexecutor" React-jsinspector: :path: "../node_modules/react-native/ReactCommon/jsinspector" + react-native-background-timer: + :path: "../node_modules/react-native-background-timer" react-native-biometrics: :path: "../node_modules/react-native-biometrics" react-native-encrypted-storage: --- package-lock.json @@ -3254,9 +3254,9 @@ } }, "@walmart/allspark-home-mini-app": { - "version": "0.4.0", - "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.4.0.tgz", - "integrity": "sha512-MccFfk+3k/0sxOAgg5ixgO2jB3JJXVVMGg0OyulxJeTi1CjeSfWLk1RMHnGZ0d2gT4iWyXVuQBNKkcw7zwvhkQ==", + "version": "0.4.13-test.0", + "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.4.13-test.0.tgz", + "integrity": "sha512-haj1W3P6GfnyCOMToykyht/aIZrYgkL1nRUtT72Up5Ah9oZQFyzEfDXg60IaHpguCVbpy/M6p9nwU8qfuIZbhQ==", "requires": { "moment": "^2.29.0", "uuid": "^8.3.1" @@ -3936,7 +3936,7 @@ }, "axios-cache-adapter": { "version": "2.7.3", - "resolved": "https://npme.walmart.com/axios-cache-adapter/-/axios-cache-adapter-2.7.3.tgz", + "resolved": "http://localhost:4873/axios-cache-adapter/-/axios-cache-adapter-2.7.3.tgz", "integrity": "sha512-A+ZKJ9lhpjthOEp4Z3QR/a9xC4du1ALaAsejgRGrH9ef6kSDxdFrhRpulqsh9khsEnwXxGfgpUuDp1YXMNMEiQ==", "requires": { "cache-control-esm": "1.0.0", @@ -4329,7 +4329,7 @@ }, "cache-control-esm": { "version": "1.0.0", - "resolved": "https://npme.walmart.com/cache-control-esm/-/cache-control-esm-1.0.0.tgz", + "resolved": "http://localhost:4873/cache-control-esm/-/cache-control-esm-1.0.0.tgz", "integrity": "sha512-Fa3UV4+eIk4EOih8FTV6EEsVKO0W5XWtNs6FC3InTfVz+EjurjPfDXY5wZDo/lxjDxg5RjNcurLyxEJBcEUx9g==" }, "caller-callsite": { @@ -4410,7 +4410,7 @@ }, "charenc": { "version": "0.0.2", - "resolved": "https://npme.walmart.com/charenc/-/charenc-0.0.2.tgz", + "resolved": "http://localhost:4873/charenc/-/charenc-0.0.2.tgz", "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" }, "ci-info": { @@ -4774,7 +4774,7 @@ }, "crypt": { "version": "0.0.2", - "resolved": "https://npme.walmart.com/crypt/-/crypt-0.0.2.tgz", + "resolved": "http://localhost:4873/crypt/-/crypt-0.0.2.tgz", "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" }, "crypto-js": { @@ -10785,7 +10785,7 @@ }, "md5": { "version": "2.3.0", - "resolved": "https://npme.walmart.com/md5/-/md5-2.3.0.tgz", + "resolved": "http://localhost:4873/md5/-/md5-2.3.0.tgz", "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", "requires": { "charenc": "0.0.2", @@ -12577,7 +12577,7 @@ }, "react-native-linear-gradient": { "version": "2.5.6", - "resolved": "https://npme.walmart.com/react-native-linear-gradient/-/react-native-linear-gradient-2.5.6.tgz", + "resolved": "http://localhost:4873/react-native-linear-gradient/-/react-native-linear-gradient-2.5.6.tgz", "integrity": "sha512-HDwEaXcQIuXXCV70O+bK1rizFong3wj+5Q/jSyifKFLg0VWF95xh8XQgfzXwtq0NggL9vNjPKXa016KuFu+VFg==" }, "react-native-material-menu": {
saving changes
saving changes
14648059750b6977ca6575c56502eaee7b5e3145
--- __tests__/screens/MyWalmartV2/AssociateRosterDetailHoc.test.tsx @@ -74,6 +74,13 @@ jest.mock('@walmart/my-walmart-hub', () => ({ TOTAL_SITE_TEAM_ID: 'total', })); +// Mock WorkSelectors to properly extract work context from test state +jest.mock('@walmart/allspark-foundation/Work', () => ({ + WorkSelectors: { + getContext: (state: any) => state?.work?.context || {}, + }, +})); + // Mock logger as a global (global as any).logger = { info: jest.fn(),
feat(ui): update tests for roster
feat(ui): update tests for roster
3d3c56e76acae9d158dc2a1a819ce834d43f7c52
--- __tests__/components/WarningBanner.test.tsx @@ -3,10 +3,34 @@ import {render, screen, fireEvent} from '@testing-library/react-native'; import {useSelector} from 'react-redux'; import {WarningBanner} from '../../src/components/WarningBanner'; +// Mock react-redux jest.mock('react-redux', () => ({ useSelector: jest.fn(), })); +// Mock @walmart/gtp-shared-components +jest.mock('@walmart/gtp-shared-components', () => { + const React = require('react'); + const ReactNative = require('react-native'); + + return { + Banner: ({children, onClose, testID}) => + React.createElement(ReactNative.View, {testID}, [ + React.createElement( + ReactNative.TouchableOpacity, + { + key: 'close-button', + onPress: onClose, + accessibilityRole: 'button', + }, + 'Close', + ), + children, + ]), + Body: ({children}) => React.createElement(ReactNative.Text, {}, children), + }; +}); + describe('WarningBanner', () => { const mockUseSelector = useSelector as jest.Mock;
fix(bug): fixing failing WarningBanner.test.tsx tests
fix(bug): fixing failing WarningBanner.test.tsx tests
98fb9a804b4546065c51a9c7bd0085bbf6e5c39f
--- packages/allspark-foundation/src/Components/ComponentContainers.md @@ -53,7 +53,6 @@ const ALLOW_LIST = ['emergency-card', ...]; <HomeScreen.List allow={ALLOW_LIST} {...props} /> ``` - #### Render a single component Use the `Component` component and pass required props. --- packages/allspark-foundation/src/Core/docs/Migrating.md @@ -140,6 +140,28 @@ If there is an issue with a subdependency or a version requirement you believe t > NOTE: Use overrides sparingly. If you find yourself needing to use overrides, please reach out to that libraries team to discuss the issue. +### Allspark Link + +The foundation provides a script that will automatically link any native modules required by the foundations dependencies. Before running this, lets remove any pods from your Podfile that are no longer needed. + +Remove any pods you might've manually added for the core libraries or Me@Walmart. The permission pods are the common example: + +```ruby +pod 'Permission-LocationWhenInUse', :path => "../node_modules/react-native-permissions/ios/LocationWhenInUse" +pod 'Permission-Notificaitons', :path => "../node_modules/react-native-permissions/ios/Notifications" +``` + +Any added lines in your Podfile that specify modular headers for a pod are fine to keep: + +```ruby +pod 'FirebaseSessions', :modular_headers => true +``` + +Now run the following commands: + +* npx allspark-link (should modify your podfile and react-native.config.js files) +* cd ios && pod install + ### STOP & REVIEW At this point you should be able to build your feature app without any code changes. Libraries deprecated by the foundation should be marked as such in your IDE. However, they're mapped to their foundation counterparts so your code should still work.
doc: add missing details to migration doc
doc: add missing details to migration doc
f7c760919f1683c526106a2c24094ea27f789ecd
--- package.json @@ -78,7 +78,8 @@ "@walmart/allspark-foundation": "6.62.5", "@walmart/allspark-foundation-hub": "1.20.0-beta.5420+c86c72e88", "@walmart/allspark-utils": "6.5.1", - "@walmart/associate-exp-hub-mini-app": "1.4.0-beta.507+a47871e", + "@walmart/associate-exp-hub-hub": "2.1.0", + "@walmart/associate-exp-hub-mini-app": "1.4.0-alpha.24", "@walmart/config-components": "4.6.5", "@walmart/expo-config-plugins": "0.1.4", "@walmart/gtp-shared-components": "2.2.4", --- src/components/MyWalmartv2/Widgets/Hourly/HourlyRosterWidget.tsx @@ -27,7 +27,7 @@ import {CalendarIcon, Alert} from '@walmart/gtp-shared-components'; import {useFeatureFlags} from '../../../../hooks/useFeatureFlags'; import {Skeleton} from '@walmart/gtp-shared-components'; //@ts-ignore -import {ActivityAwareWidget} from '@walmart/associate-exp-hub-mini-app'; +import {ActivityAwareWidget} from '@walmart/associate-exp-hub-hub'; /** * @typedef {Object} Punch --- src/components/MyWalmartv2/Widgets/SalariedOrTeamLead/SalariedOrTeamLeadRosterWidget.tsx @@ -59,7 +59,7 @@ import {WarningAlert} from '../../../WarningAlert/WarningAlert'; import {styles} from './styles'; import {AllsparkNavigationClient} from '@walmart/allspark-foundation'; //@ts-ignore -import {ActivityAwareWidget} from '@walmart/associate-exp-hub-mini-app'; +import {ActivityAwareWidget} from '@walmart/associate-exp-hub-hub'; /** * WIDGET PROPS INTERFACE --- yarn.lock @@ -7650,19 +7650,36 @@ __metadata: languageName: node linkType: hard -"@walmart/associate-exp-hub-mini-app@npm:1.4.0-beta.507+a47871e": - version: 1.4.0-beta.507 - resolution: "@walmart/associate-exp-hub-mini-app@npm:1.4.0-beta.507::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fassociate-exp-hub-mini-app%2F-%2F%40walmart%2Fassociate-exp-hub-mini-app-1.4.0-beta.507.tgz" +"@walmart/associate-exp-hub-hub@npm:2.1.0": + version: 2.1.0 + resolution: "@walmart/associate-exp-hub-hub@npm:2.1.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fassociate-exp-hub-hub%2F-%2F%40walmart%2Fassociate-exp-hub-hub-2.1.0.tgz" + dependencies: + lodash: "npm:^4.17.21" + peerDependencies: + "@walmart/allspark-foundation": 6.62.5 + "@walmart/allspark-foundation-hub": 1.20.0-beta.5420+c86c72e88 + "@walmart/gtp-shared-components": ^2.2.4 + "@walmart/my-walmart-hub": 1.1.0-beta.5422+b8fa96d16 + react: ^18.0.0 + react-native: ^0.76.0 + react-redux: ^8.0.0 + checksum: 10c0/a7a11158c15ead444c81381c1573a32036def8584c4871a496e800c5f6ce8719bbd5d2dde47b8c9bac83eed6d1fd098e2c72af30afbebe63d752ea6b7b95ca91 + languageName: node + linkType: hard + +"@walmart/associate-exp-hub-mini-app@npm:1.4.0-alpha.24": + version: 1.4.0-alpha.24 + resolution: "@walmart/associate-exp-hub-mini-app@npm:1.4.0-alpha.24::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fassociate-exp-hub-mini-app%2F-%2F%40walmart%2Fassociate-exp-hub-mini-app-1.4.0-alpha.24.tgz" peerDependencies: "@walmart/allspark-foundation": ">=6.32.0" "@walmart/allspark-foundation-hub": 1.20.0-beta.5420+c86c72e88 - "@walmart/my-walmart-hub": 1.1.0-beta.5420+c86c72e88 + "@walmart/my-walmart-hub": 1.1.0-beta.5422+b8fa96d16 expo: 52.x expo-image: "*" react: "*" react-native: "*" react-native-safe-area-context: "*" - checksum: 10c0/604bf93fd7883ac87443a49da85d56a547a079709e29e506d2730995aedd8e09fcfc1bb9a1a51029931e83eb8542924b68c28070bcdeb163093232211f697ff6 + checksum: 10c0/2d7bc5b823f64b7e1046d583b15e021a8bba59b7c6c2bcbe6e0f38dae54fdbbc9a76edff6a115fe1849aa37af8be0f449e7d35dd6fa2f2e9f79fb2de0d337d6c languageName: node linkType: hard @@ -7942,7 +7959,8 @@ __metadata: "@walmart/allspark-foundation": "npm:6.62.5" "@walmart/allspark-foundation-hub": "npm:1.20.0-beta.5420+c86c72e88" "@walmart/allspark-utils": "npm:6.5.1" - "@walmart/associate-exp-hub-mini-app": "npm:1.4.0-beta.507+a47871e" + "@walmart/associate-exp-hub-hub": "npm:2.1.0" + "@walmart/associate-exp-hub-mini-app": "npm:1.4.0-alpha.24" "@walmart/config-components": "npm:4.6.5" "@walmart/expo-config-plugins": "npm:0.1.4" "@walmart/gtp-shared-components": "npm:2.2.4"
feat(ui): update packages
feat(ui): update packages
e8d97de92d042b8f8f149b2f4340c789b0f0d310
--- sonar-project.properties @@ -5,7 +5,7 @@ sonar.host.url=http://sonar.looper.prod.walmartlabs.com sonar.sources=packages/allspark-authentication/src, packages/allspark-foundation/src, packages/allspark-utils/src sonar.tests=packages/allspark-authentication/__tests__, packages/allspark-foundation/__tests__, packages/allspark-utils/__tests__ -sonar.exclusions=packages/allspark-authentication/src/Authentication.ts, packages/allspark-foundation/src/cli/*, packages/allspark-foundation/src/Container/*, packages/allspark-foundation/src/Core/*, packages/allspark-foundation/src/Feature/*, packages/allspark-foundation/src/GraphQL/**/*, packages/allspark-foundation/src/HTTP/**/*, packages/allspark-foundation/src/LocalStorage/*, packages/allspark-foundation/src/Navigation/*, packages/allspark-foundation/src/Notification/*, packages/allspark-foundation/src/Scanner/*, packages/allspark-foundation/src/Translation/*, packages/allspark-foundation/src/utils/*, packages/allspark-foundation/src/Network/*, packages/allspark-foundation/src/Telemetry/* +sonar.exclusions=packages/allspark-authentication/src/Authentication.ts, packages/allspark-foundation/src/cli/*, packages/allspark-foundation/src/Container/*, packages/allspark-foundation/src/Core/*, packages/allspark-foundation/src/Feature/*, packages/allspark-foundation/src/GraphQL/**/*, packages/allspark-foundation/src/HTTP/**/*, packages/allspark-foundation/src/LocalStorage/*, packages/allspark-foundation/src/Notification/*, packages/allspark-foundation/src/Scanner/*, packages/allspark-foundation/src/Translation/*, packages/allspark-foundation/src/utils/*, packages/allspark-foundation/src/Network/*, packages/allspark-foundation/src/Telemetry/* sonar.sourceEncoding=UTF-8 sonar.typescript.lcov.reportPaths=coverage/lcov.info sonar.testExecutionReportPaths=test-report.xml \ No newline at end of file
remove navigation from sonar
remove navigation from sonar
d018ec994fa1744c658eb39922ae5e4aca4b0590
--- core/__tests__/features/welcomeMeTest.ts @@ -2,7 +2,7 @@ import {WelcomeMeFeature} from '../../src/features/welcomeMe'; describe('WelcomeMeFeature', () => { it('should have the correct name', () => { - expect(WelcomeMeFeature.name).toBe('WelcomeMe'); + expect(WelcomeMeFeature.name).toBe('Temporary WelcomeMe'); }); it('has expected screen components', () => { --- core/__tests__/startup/AppFlowTest.ts @@ -36,7 +36,6 @@ import { } from '../../src/startup/AppFlow'; import {candidateStartupFlow} from '../../src/startup/CandidateStartup'; import {associateStartupFlow} from '../../src/startup/AssociateStartup'; -import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translation'; jest.mock('../../src/startup/AuthFlow', () => ({ waitForAuth: jest.fn(), --- core/src/startup/AppFlow.ts @@ -45,7 +45,7 @@ export function* captureMissedMiniAppEvents(): any { const getUserAction = yield take(UserActionTypes.FETCH_SUCCESS); // Wait for mini app load - yield take(ContainerActionTypes.STARTUP_COMPLETE); + yield take(ContainerActionTypes.SAFE_FOR_FEATURES); // Dispatch missed actions / emit missed events const networkType = yield select(NetworkSelectors.getNetworkType); --- packages/me-at-walmart-container/__tests__/http/interceptors/addToken.test.ts @@ -6,7 +6,7 @@ const {AuthService} = require('@walmart/allspark-foundation/Auth'); const {HttpLogger} = require('../../../src/http/logger'); const {CancelToken} = require('@walmart/allspark-foundation/HTTP'); -// Our super advanced secuirty scan doens't like the certain words in the code...even tests +// Our super advanced secuirty scan doens't like certain words in the code...even tests // This is our temporary hacky way around it :) const access = 'access'; const token = 'token';
chore: fix tests and lint
chore: fix tests and lint
9d3202018283c9ab62ffdd1e89207da64891431a
--- docs/docs/components/allspark foundation/services/foundation-config.md @@ -115,3 +115,13 @@ import { useContainerService } from '@walmart/allspark-foundation/Container'; const ConfigService = useContainerService('config'); ``` + +## Config Service API +### `initialize()` +Initializes the config service. + +### `fetch()` +Fetches the configuration data for the specified scope. + +### `addChangeListener()` +Adds a change listener to the config service. \ No newline at end of file --- docs/docs/components/allspark foundation/services/foundation-device.md @@ -117,4 +117,8 @@ import { useContainerService } from '@walmart/allspark-foundation/Container'; const DeviceService = useContainerService('device'); ``` -See [selectors](https://gecgithub01.walmart.com/allspark/allspark/blob/main/packages/allspark-foundation/src/Device/selectors.ts) for more details on device information provided by this service. \ No newline at end of file +See [selectors](https://gecgithub01.walmart.com/allspark/allspark/blob/main/packages/allspark-foundation/src/Device/selectors.ts) for more details on device information provided by this service. + +## Device Service API +### `fetch()` +Fetches the device data. See DeviceConfig for latest device information. \ No newline at end of file --- docs/docs/components/allspark foundation/services/foundation-site.md @@ -115,3 +115,12 @@ import { useContainerService } from '@walmart/allspark-foundation/Container'; const SiteService = useContainerService('site'); ``` + +## Site Service API +### `fetchHomeSite()` +Fetches the home site for the given site and parameters. +Returns a Promise that resolves to the fetched Site. + +### `fetchWorkingSite()` +Fetches the working site for the given site and parameters. +Returns a Promise that resolves to the fetched Site. \ No newline at end of file
Updates for remaining services.
Updates for remaining services.
94065706838d4ae0d142469764dc5f2b429af437
--- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "3.8.1", + "version": "3.8.0-alpha.0", "main": "dist/index.js", "files": [ "dist", @@ -89,7 +89,7 @@ "@walmart/react-native-scanner-3.0": "0.10.4", "@walmart/react-native-sumo-sdk": "2.8.0", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "3.7.1", + "@walmart/wmconnect-mini-app": "3.7.0-alpha.0", "babel-jest": "^29.6.3", "chance": "^1.1.11", "crypto-js": "~4.2.0",
feat(ada): update versions
feat(ada): update versions
b1df141ba7a5f89786a291869ad9757f98f5449f
--- package-lock.json @@ -54,7 +54,7 @@ "@walmart/impersonation-mini-app": "1.11.0", "@walmart/ims-print-services-ui": "2.0.6", "@walmart/inbox-mini-app": "0.81.9", - "@walmart/iteminfo-mini-app": "7.0.7", + "@walmart/iteminfo-mini-app": "7.0.8", "@walmart/manager-approvals-miniapp": "0.2.1", "@walmart/me-field-mini-app": "1.1.45", "@walmart/metrics-mini-app": "0.9.42", @@ -5214,9 +5214,9 @@ } }, "node_modules/@walmart/iteminfo-mini-app": { - "version": "7.0.7", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.7.tgz", - "integrity": "sha512-sYSXlrd2+gd4kKEKrz6kfv88kyBs5SRIW0WwqqqQNhjU+k2TU2WaKll9KFavztkfTOcH90MaXBX/wD9COvaXSQ==", + "version": "7.0.8", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.8.tgz", + "integrity": "sha512-JFfv3YV9Crxa3dlrfmKL3lLB+xyeklfoguvvMmdCWleKcME6B10PtrwIlffy+/78XumkfRh2mIx8biLevK7BIw==", "peerDependencies": { "@react-native-community/async-storage": ">=1.12.1", "@react-native-community/netinfo": ">=9.3.6", @@ -25099,9 +25099,9 @@ } }, "@walmart/iteminfo-mini-app": { - "version": "7.0.7", - "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.7.tgz", - "integrity": "sha512-sYSXlrd2+gd4kKEKrz6kfv88kyBs5SRIW0WwqqqQNhjU+k2TU2WaKll9KFavztkfTOcH90MaXBX/wD9COvaXSQ==" + "version": "7.0.8", + "resolved": "https://npme.walmart.com/@walmart/iteminfo-mini-app/-/iteminfo-mini-app-7.0.8.tgz", + "integrity": "sha512-JFfv3YV9Crxa3dlrfmKL3lLB+xyeklfoguvvMmdCWleKcME6B10PtrwIlffy+/78XumkfRh2mIx8biLevK7BIw==" }, "@walmart/manager-approvals-miniapp": { "version": "0.2.1", --- package.json @@ -96,7 +96,7 @@ "@walmart/impersonation-mini-app": "1.11.0", "@walmart/ims-print-services-ui": "2.0.6", "@walmart/inbox-mini-app": "0.81.9", - "@walmart/iteminfo-mini-app": "7.0.7", + "@walmart/iteminfo-mini-app": "7.0.8", "@walmart/manager-approvals-miniapp": "0.2.1", "@walmart/me-field-mini-app": "1.1.45", "@walmart/metrics-mini-app": "0.9.42",
upgrade iteminfo version to include MIP for drop 9.1
upgrade iteminfo version to include MIP for drop 9.1
62bc90394d6ecbda8aef71600d84bc684267925f
--- src/settings/privacy/PrivacyPreferences.tsx @@ -1,6 +1,7 @@ import React from 'react'; import {StyleSheet, View} from 'react-native'; import {useTranslation} from 'react-i18next'; +import {getVersion} from 'react-native-device-info'; import {Heading, Body} from '@walmart/gtp-shared-components'; import { useUpsertAssociatePreferenceMutation, @@ -46,6 +47,8 @@ export const PrivacyPreferences = () => { context: { headers: { 'wm_consumer.id': env.consumerId, + 'x-o-platform': 'allspark-core', + 'x-o-platform-version': getVersion(), }, }, errorPolicy: 'all',
chore: add mgql header to settings mutation
chore: add mgql header to settings mutation
c17b715cee993899cac2bb516a4a80ae4fcd45a7
--- __tests__/navigation/AssociateHallwayNav/__snapshots__/MainStackNavTest.tsx.snap @@ -230,12 +230,6 @@ Array [ <Screen name="paymentselection" /> - <Screen - name="paymentselection.PayMethodScreen" - /> - <Screen - name="paymentselection.OneAppScreen" - /> </Group> </Navigator>, <NotificationsContainer />,
update unit test
update unit test
ab15e67b84a4fce100c2a84e3c84327c49b579d0
--- package.json @@ -154,7 +154,7 @@ "@walmart/schedule-mini-app": "2.2.1", "@walmart/shelfavailability-mini-app": "1.5.45", "@walmart/shop-gnfr-mini-app": "1.0.418", - "@walmart/sidekick-mini-app": "4.201.13", + "@walmart/sidekick-mini-app": "4.205.5", "@walmart/store-feature-orders": "1.33.5", "@walmart/taskit-mini-app": "5.39.1", "@walmart/time-clock-mini-app": "3.19.2", --- yarn.lock @@ -8708,7 +8708,7 @@ __metadata: "@walmart/schedule-mini-app": "npm:2.2.1" "@walmart/shelfavailability-mini-app": "npm:1.5.45" "@walmart/shop-gnfr-mini-app": "npm:1.0.418" - "@walmart/sidekick-mini-app": "npm:4.201.13" + "@walmart/sidekick-mini-app": "npm:4.205.5" "@walmart/store-feature-orders": "npm:1.33.5" "@walmart/taskit-mini-app": "npm:5.39.1" "@walmart/time-clock-mini-app": "npm:3.19.2" @@ -9509,9 +9509,9 @@ __metadata: languageName: node linkType: hard -"@walmart/sidekick-mini-app@npm:4.201.13": - version: 4.201.13 - resolution: "@walmart/sidekick-mini-app@npm:4.201.13::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fsidekick-mini-app%2F-%2F%40walmart%2Fsidekick-mini-app-4.201.13.tgz" +"@walmart/sidekick-mini-app@npm:4.205.5": + version: 4.205.5 + resolution: "@walmart/sidekick-mini-app@npm:4.205.5::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fsidekick-mini-app%2F-%2F%40walmart%2Fsidekick-mini-app-4.205.5.tgz" peerDependencies: "@apollo/client": "*" "@react-navigation/native": ^6.0.0 @@ -9532,7 +9532,7 @@ __metadata: dependenciesMeta: "@walmart/me-at-walmart": built: false - checksum: 10c0/feb5403627674ddcdcca39ba410b946626238bdc744ac1d2b9b58bfdd7795220392c35403523a4ce03130c9cae8dc6228e374259111bb0c8a9ab4b8817894bc1 + checksum: 10c0/c2968b2a3d2b19278e2c46a625fd4b2c7902c078683cd27850cc918dc849725c4892878db964d83bb026cdf426347387326127e8a405f90467a04a0dacfc44d3 languageName: node linkType: hard
feat(sidekick): DWORK-8646 at/pl access, palletized stocking, fastpass backroom (#4489)
feat(sidekick): DWORK-8646 at/pl access, palletized stocking, fastpass backroom (#4489) * feat(sidekick): DWORK-8646 at/pl access, palletized stocking, fastpass backroom * feat(sidekick): DWORK-8646 bump sidekick@4.205.1 * feat(sidekick): DWORK-8646 bump sidekick@4.205.3 * feat(sidekick): DWORK-8646 bump sidekick@4.205.5 --------- Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
9c2c58815b84bddf2f519ece72684c0dc1955f6b
--- lerna.json @@ -21,9 +21,13 @@ "**/__tests__/**" ], "packages": [ + "packages/allspark-http-client", + "packages/allspark-graphql-client", "packages/allspark-utils", - "packages/allspark-foundation", - "packages/allspark-authentication", - "packages/me-at-walmart-container" + "packages/core-services", + "packages/core-services-allspark", + "packages/core-utils", + "packages/core-widget-registry", + "packages/me-at-walmart-athena-queries" ] }
chore: fix lerna packages config
chore: fix lerna packages config
cb11121359da0109a2e9a4cc2b2e5047bb2904a1
--- docs/CHANGELOG.md @@ -1,3 +1,20 @@ +# [2.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.4.0...v2.5.0) (2024-06-26) + + +### Bug Fixes + +* **ui:** updated imports SMDV-5878 ([e4ce17b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/e4ce17b0f9eb5116669b29aa3e12b2f9a575a455)) +* **ui:** updated imports SMDV-5878 ([70b2060](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/70b2060f3537067e0097b00a2d9f82dc8b7b907b)) +* **ui:** updated selectors on develop SMDV-5882 ([8661302](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/8661302c1ca5a62ca7b6775093da4fa2dfb53841)) + + +### Features + +* **ui:** Merge changes for drop 23 SMDV-5921 ([a1a51be](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/a1a51be203de10705880532bd7eaf3b66884e9e3)) +* **ui:** Merge changes for drop 23 SMDV-5921 ([211d325](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/211d3252a18fc7cd47824f3e406838e621c2c96f)) +* **ui:** Merge changes for drop 23 SMDV-5921 ([e689b07](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/e689b07a84259e64e9bc3a3bff2c204f97d576ca)) +* **ui:** Merge changes for drop 23 version 1 SMDV-5921 ([5643982](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/56439821f213072754bf8923e9464e693719d611)) + # [2.4.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.3.1...v2.4.0) (2024-06-17) --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "2.4.0", + "version": "2.5.0", "main": "dist/index.js", "files": [ "dist"
chore(release): 2.5.0 [skip ci]
chore(release): 2.5.0 [skip ci] # [2.5.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.4.0...v2.5.0) (2024-06-26) ### Bug Fixes * **ui:** updated imports SMDV-5878 ([e4ce17b](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/e4ce17b0f9eb5116669b29aa3e12b2f9a575a455)) * **ui:** updated imports SMDV-5878 ([70b2060](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/70b2060f3537067e0097b00a2d9f82dc8b7b907b)) * **ui:** updated selectors on develop SMDV-5882 ([8661302](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/8661302c1ca5a62ca7b6775093da4fa2dfb53841)) ### Features * **ui:** Merge changes for drop 23 SMDV-5921 ([a1a51be](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/a1a51be203de10705880532bd7eaf3b66884e9e3)) * **ui:** Merge changes for drop 23 SMDV-5921 ([211d325](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/211d3252a18fc7cd47824f3e406838e621c2c96f)) * **ui:** Merge changes for drop 23 SMDV-5921 ([e689b07](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/e689b07a84259e64e9bc3a3bff2c204f97d576ca)) * **ui:** Merge changes for drop 23 version 1 SMDV-5921 ([5643982](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/56439821f213072754bf8923e9464e693719d611))
1245ead46ae3a790cf8a4e96d07a5b50527f3e2d
--- targets/US/package.json @@ -146,7 +146,7 @@ "@walmart/shelfavailability-mini-app": "1.5.37", "@walmart/shop-gnfr-mini-app": "1.0.137", "@walmart/sidekick-mini-app": "4.84.14", - "@walmart/store-feature-orders": "1.27.1", + "@walmart/store-feature-orders": "1.27.8", "@walmart/taskit-mini-app": "4.25.8", "@walmart/time-clock-mini-app": "2.448.1", "@walmart/topstock-mini-app": "1.19.4", --- yarn.lock @@ -7348,7 +7348,7 @@ __metadata: "@walmart/shelfavailability-mini-app": "npm:1.5.37" "@walmart/shop-gnfr-mini-app": "npm:1.0.137" "@walmart/sidekick-mini-app": "npm:4.84.14" - "@walmart/store-feature-orders": "npm:1.27.1" + "@walmart/store-feature-orders": "npm:1.27.8" "@walmart/taskit-mini-app": "npm:4.25.8" "@walmart/time-clock-mini-app": "npm:2.448.1" "@walmart/topstock-mini-app": "npm:1.19.4" @@ -8269,18 +8269,23 @@ __metadata: languageName: node linkType: hard -"@walmart/store-feature-orders@npm:1.27.1": - version: 1.27.1 - resolution: "@walmart/store-feature-orders@npm:1.27.1" +"@walmart/store-feature-orders@npm:1.27.8": + version: 1.27.8 + resolution: "@walmart/store-feature-orders@npm:1.27.8" peerDependencies: - "@react-navigation/native": ^6.0.0 - "@react-navigation/stack": ^6.1.0 - "@walmart/core-services": ~2.0.11 - "@walmart/gtp-shared-components": 2.2.1-rc.0 - "@walmart/react-native-env": 0.2.0 - react: ^18.2.0 - react-native: ^0.73.7 - checksum: 10c0/e87feae039b262d37ba745ba5e211b3cf4eaf9e484f7d69aacc8be716ace4c6d2df31ae523282e81a08c8b9b70dd70a72f3133821789a649264278c815651283 + "@react-navigation/native": ">=6.0.0" + "@react-navigation/stack": ">=6.1.0" + "@walmart/allspark-foundation": 6.17.0 + "@walmart/core-services": ">=6.4.3" + "@walmart/gtp-shared-components": ">=2.2.4" + "@walmart/react-native-env": ">=6.0.16" + "@walmart/react-native-shared-navigation": ">=6.3.22" + "@walmart/wfm-ui": 2.2.0 + react: ">=18.2.0" + react-native: ">=0.73.7" + redux: ^4.2.1 + reduxsauce: 1.2.0 + checksum: 10c0/ab8d301a94f8aa769dd40ca6fe3b60f3d1d49ecd300dd44784db1046065e9ce83ff70547729178de1eeb51664ec5ed4e011a77864bf1f6bcd07a7a620d1e6474 languageName: node linkType: hard
sfot version update
sfot version update
1ccc8093b2df9e394b459824406a95ccca8678b3
--- package-lock.json @@ -63,7 +63,7 @@ "@walmart/iteminfo-mini-app": "7.4.0", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-field-mini-app": "13.0.3", - "@walmart/metrics-mini-app": "0.15.7", + "@walmart/metrics-mini-app": "0.15.10", "@walmart/mod-flex-mini-app": "1.10.4", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16", @@ -8675,9 +8675,9 @@ } }, "node_modules/@walmart/metrics-mini-app": { - "version": "0.15.7", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.7.tgz", - "integrity": "sha512-uD+exgQPtMYYTMwG0jhXu6U4forY8u4gc2qPBUYeunNu/TbyDTZLKnuE93ygSPTyPT7s3nRptcJLmzWPxPk0Rg==", + "version": "0.15.10", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.10.tgz", + "integrity": "sha512-RSDvXRi045HGlw9YOKyNqmHRTjOp4LbSL5Ijbi22zmUSJyQbZjJk8AGS8aegOtviGXktifInkrkl9E5UNs8RLg==", "dependencies": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2", @@ -8688,12 +8688,12 @@ "peerDependencies": { "@react-navigation/native": ">=6.0.0", "@walmart/ask-sam-chat-components": ">0.2.7", - "@walmart/gtp-shared-components": ">=2.0.5", + "@walmart/gtp-shared-components": ">=2.0.10", "@walmart/react-native-shared-navigation": ">=1.0.2", "@walmart/redux-store": ">=3.1.4", "axios-cache-adapter": ">=2.7.3", "lodash": ">=4.17.21", - "react": "18.1.0", + "react": "18.2.0", "react-native": "0.70.9", "react-native-get-random-values": ">=1.8.0", "react-native-linear-gradient": ">=2.6.2", @@ -33686,9 +33686,9 @@ "integrity": "sha512-JvV5AUWQ51uTUyD3LNk0UD8W5nQjUTRnMdJMvh2x3OHmKAhqTGctHoKjcpBzrtZlBie6e6Az3CUWtPrcA2TZwA==" }, "@walmart/metrics-mini-app": { - "version": "0.15.7", - "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.7.tgz", - "integrity": "sha512-uD+exgQPtMYYTMwG0jhXu6U4forY8u4gc2qPBUYeunNu/TbyDTZLKnuE93ygSPTyPT7s3nRptcJLmzWPxPk0Rg==", + "version": "0.15.10", + "resolved": "https://npme.walmart.com/@walmart/metrics-mini-app/-/metrics-mini-app-0.15.10.tgz", + "integrity": "sha512-RSDvXRi045HGlw9YOKyNqmHRTjOp4LbSL5Ijbi22zmUSJyQbZjJk8AGS8aegOtviGXktifInkrkl9E5UNs8RLg==", "requires": { "@types/base-64": "^1.0.0", "apisauce": "1.1.2", --- package.json @@ -104,7 +104,7 @@ "@walmart/iteminfo-mini-app": "7.4.0", "@walmart/manager-approvals-miniapp": "0.2.4", "@walmart/me-field-mini-app": "13.0.3", - "@walmart/metrics-mini-app": "0.15.9", + "@walmart/metrics-mini-app": "0.15.10", "@walmart/mod-flex-mini-app": "1.10.4", "@walmart/moment-walmart": "1.0.4", "@walmart/onewalmart-miniapp": "1.0.16",
Bumping metrics version to 0.15.10
Bumping metrics version to 0.15.10
ea401a85b6d23e5b833cbcf362e15e9fd3cbb797
--- package-lock.json @@ -1,12 +1,12 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.0.16-alpha-7", + "version": "1.0.16-alpha-8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@walmart/myteam-mini-app", - "version": "1.0.16-alpha-7", + "version": "1.0.16-alpha-8", "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-6", + "@walmart/roster-mini-app": "1.0.17-alpha-7", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "1.0.16-alpha-7", + "@walmart/wmconnect-mini-app": "1.0.16-alpha-8", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0", @@ -11817,9 +11817,9 @@ } }, "node_modules/@walmart/roster-mini-app": { - "version": "1.0.17-alpha-6", - "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-6.tgz", - "integrity": "sha512-ki2geJQgNQQmdonRnOz21IvpkcBa10NXVzBo2y1I5EYHnJcqobbQFDJj3qWTDgA0rH2ys6tvvpAmLCIYapumOQ==", + "version": "1.0.17-alpha-7", + "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-7.tgz", + "integrity": "sha512-B9q+9DWcBaPnsmM5UyhVd670kcYAi5xbTbhIBfwzixPoH5n2EzJSNObPK8DIHRa6QSUtiJFgmY35eAJGFqFJxQ==", "dev": true, "hasInstallScript": true }, @@ -11846,9 +11846,9 @@ } }, "node_modules/@walmart/wmconnect-mini-app": { - "version": "1.0.16-alpha-7", - "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-7.tgz", - "integrity": "sha512-+3Kjc6mvzbpxdWAT732DF/u2IvgWagV15oL3AjdTTGs7f+FBa/y6xvj/yCExfO3sNdRb2b7wX3AA5pT5BW4bLQ==", + "version": "1.0.16-alpha-8", + "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-8.tgz", + "integrity": "sha512-VU/B9nQVSeeqJphA5mdGTZpE1ZsDGV+AlWeotFRLXDZtZ/SUHV+FbDgcsmgHsA+m55BwRVazPjhU8Fp9+/kK8w==", "dev": true, "hasInstallScript": true }, @@ -40901,9 +40901,9 @@ } }, "@walmart/roster-mini-app": { - "version": "1.0.17-alpha-6", - "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-6.tgz", - "integrity": "sha512-ki2geJQgNQQmdonRnOz21IvpkcBa10NXVzBo2y1I5EYHnJcqobbQFDJj3qWTDgA0rH2ys6tvvpAmLCIYapumOQ==", + "version": "1.0.17-alpha-7", + "resolved": "https://npme.walmart.com/@walmart/roster-mini-app/-/roster-mini-app-1.0.17-alpha-7.tgz", + "integrity": "sha512-B9q+9DWcBaPnsmM5UyhVd670kcYAi5xbTbhIBfwzixPoH5n2EzJSNObPK8DIHRa6QSUtiJFgmY35eAJGFqFJxQ==", "dev": true }, "@walmart/ui-components": { @@ -40918,9 +40918,9 @@ } }, "@walmart/wmconnect-mini-app": { - "version": "1.0.16-alpha-7", - "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-7.tgz", - "integrity": "sha512-+3Kjc6mvzbpxdWAT732DF/u2IvgWagV15oL3AjdTTGs7f+FBa/y6xvj/yCExfO3sNdRb2b7wX3AA5pT5BW4bLQ==", + "version": "1.0.16-alpha-8", + "resolved": "https://npme.walmart.com/@walmart/wmconnect-mini-app/-/wmconnect-mini-app-1.0.16-alpha-8.tgz", + "integrity": "sha512-VU/B9nQVSeeqJphA5mdGTZpE1ZsDGV+AlWeotFRLXDZtZ/SUHV+FbDgcsmgHsA+m55BwRVazPjhU8Fp9+/kK8w==", "dev": true }, "@whatwg-node/events": { --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/myteam-mini-app", - "version": "1.0.16-alpha-7", + "version": "1.0.16-alpha-8", "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-7", - "@walmart/roster-mini-app": "1.0.17-alpha-6", + "@walmart/wmconnect-mini-app": "1.0.16-alpha-8", + "@walmart/roster-mini-app": "1.0.17-alpha-7", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0",
Update version
Update version
4f121714a660313a2e20af5d5259d34e193abd32
--- package-lock.json @@ -39,7 +39,7 @@ "@walmart/attendance-mini-app": "0.190.2", "@walmart/compass-sdk-rn": "4.0.0", "@walmart/config-components": "4.1.0-rc.4", - "@walmart/copilot-mini-app": "^1.56.0", + "@walmart/copilot-mini-app": "^1.60.0", "@walmart/core-services": "~2.0.19", "@walmart/core-services-allspark": "~2.11.0", "@walmart/core-utils": "~2.0.5", @@ -4935,9 +4935,9 @@ } }, "node_modules/@walmart/copilot-mini-app": { - "version": "1.56.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.56.0.tgz", - "integrity": "sha512-QHEbhfIHUXLREz7kCVxWau8oppiUfumeeAR6Uu9wIeduEFN1LlpxC0Io3cupBKjZzqmGMSkz4ZFNhdPahFNQ+Q==", + "version": "1.60.0", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.60.0.tgz", + "integrity": "sha512-E0SZJjOtqdVjKjb9hJL8OMEQH4GScXxmrKqssoc/eYABk/+eIiMepvUP1ET1Nz6Ybd9VYVIs7QZEwYqQOhtUEw==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -25130,9 +25130,9 @@ } }, "@walmart/copilot-mini-app": { - "version": "1.56.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.56.0.tgz", - "integrity": "sha512-QHEbhfIHUXLREz7kCVxWau8oppiUfumeeAR6Uu9wIeduEFN1LlpxC0Io3cupBKjZzqmGMSkz4ZFNhdPahFNQ+Q==" + "version": "1.60.0", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.60.0.tgz", + "integrity": "sha512-E0SZJjOtqdVjKjb9hJL8OMEQH4GScXxmrKqssoc/eYABk/+eIiMepvUP1ET1Nz6Ybd9VYVIs7QZEwYqQOhtUEw==" }, "@walmart/core-services": { "version": "2.0.19", --- package.json @@ -81,7 +81,7 @@ "@walmart/attendance-mini-app": "0.190.2", "@walmart/compass-sdk-rn": "4.0.0", "@walmart/config-components": "4.1.0-rc.4", - "@walmart/copilot-mini-app": "^1.56.0", + "@walmart/copilot-mini-app": "^1.60.0", "@walmart/core-services": "~2.0.19", "@walmart/core-services-allspark": "~2.11.0", "@walmart/core-utils": "~2.0.5", --- src/navConfig/NavConfigRedux.ts @@ -88,7 +88,7 @@ export const DEFAULT_BOTTOM_NAV = { askSam: {enabled: true} as BottomTabNav, myTeam: {enabled: true} as BottomTabNav, taskit: {enabled: true} as BottomTabNav, - copilot: {enabled: true} as BottomTabNav, + copilot: {enabled: false} as BottomTabNav, }; export const getBottomNavConfigMap = createSelector(
chore: bump copilot@1.60.0
chore: bump copilot@1.60.0
8e1afcc0207c1847d4c49819a8d96a4435724767
--- ios/AllSpark/Info.plist @@ -82,6 +82,14 @@ <string>We use your gallery for scanning images of barcodes</string> <key>NSSpeechRecognitionUsageDescription</key> <string>We would like to use speech recognition to perform voice searches</string> + <key>NSCameraUsageDescription</key> + <string>$(PRODUCT_NAME) needs access to your Camera.</string> + <key>NSPhotoLibraryUsageDescription</key> + <string>$(PRODUCT_NAME) needs access to your Photo Library.</string> + <key>NSPhotoLibraryAddUsageDescription</key> + <string>$(PRODUCT_NAME) needs access to your Photo Library.</string> + <key>NSMicrophoneUsageDescription</key> + <string>$(PRODUCT_NAME) needs access to your Microphone.</string> <key>UIAppFonts</key> <array> <string>Bogle-ThinItalic.otf</string> @@ -100,6 +108,21 @@ <string>MaterialCommunityIcons.ttf</string> <string>icomoon.ttf</string> <string>PTMono-Regular.ttf</string> + <string>AntDesign.ttf</string> + <string>Entypo.ttf</string> + <string>EvilIcons.ttf</string> + <string>Feather.ttf</string> + <string>FontAwesome.ttf</string> + <string>FontAwesome5_Brands.ttf</string> + <string>FontAwesome5_Regular.ttf</string> + <string>FontAwesome5_Solid.ttf</string> + <string>Fontisto.ttf</string> + <string>Foundation.ttf</string> + <string>Ionicons.ttf</string> + <string>Octicons.ttf</string> + <string>SimpleLineIcons.ttf</string> + <string>Zocial.ttf</string> + <string>DIGIMark-custom.ttf</string> </array> <key>UIBackgroundModes</key> <array>
Info.plist update
Info.plist update
6d8c4fb50ebb921ab37504f6aedc36fe4f4ce574
--- package.json @@ -135,7 +135,7 @@ "@walmart/me-at-walmart-container": "workspace:^", "@walmart/me-at-walmart-location": "^1.2.20", "@walmart/metrics-mini-app": "1.34.9", - "@walmart/mod-flex-mini-app": "1.31.7", + "@walmart/mod-flex-mini-app": "1.31.8", "@walmart/moment-walmart": "1.0.4", "@walmart/money-auth-shared-components": "2.4.3", "@walmart/my-walmart-hub": "1.8.2", --- yarn.lock @@ -8873,7 +8873,7 @@ __metadata: "@walmart/me-at-walmart-container": "workspace:^" "@walmart/me-at-walmart-location": "npm:^1.2.20" "@walmart/metrics-mini-app": "npm:1.34.9" - "@walmart/mod-flex-mini-app": "npm:1.31.7" + "@walmart/mod-flex-mini-app": "npm:1.31.8" "@walmart/moment-walmart": "npm:1.0.4" "@walmart/money-auth-shared-components": "npm:2.4.3" "@walmart/my-walmart-hub": "npm:1.8.2" @@ -9156,9 +9156,9 @@ __metadata: languageName: node linkType: hard -"@walmart/mod-flex-mini-app@npm:1.31.7": - version: 1.31.7 - resolution: "@walmart/mod-flex-mini-app@npm:1.31.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.31.7.tgz" +"@walmart/mod-flex-mini-app@npm:1.31.8": + version: 1.31.8 + resolution: "@walmart/mod-flex-mini-app@npm:1.31.8::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fmod-flex-mini-app%2F-%2F%40walmart%2Fmod-flex-mini-app-1.31.8.tgz" peerDependencies: "@react-native-segmented-control/segmented-control": ^2.5.7 "@react-navigation/drawer": ">=7" @@ -9191,7 +9191,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 uuid: ^3.3.2 - checksum: 10c0/c4c8d81a06800f1658baedce014393428f3b17c7e43c77b898ba2b826fd26a42c8440e356d9aaa3730ab2ce09cbfc91b348222a0c951ed782f16b0fa3537961b + checksum: 10c0/df5e49a7e69a5d946757323a540186de4efcec49d98df2972918fb0afed7c3012c378147df426ce65f922f76db7675765c8823e3367f38bc037449c553c17c87 languageName: node linkType: hard
feat(mod-flex-mini-app): ModFlex drop 35 version bump (#5247)
feat(mod-flex-mini-app): ModFlex drop 35 version bump (#5247) Co-authored-by: Yarien Mendez Suarez - y0m07dz <Yarien.Mendez.Suarez@walmart.com>
bf7b15ea32bbcbb1dfe2b6c5ba5762de0d3deaf3
--- packages/allspark-foundation-hub/src/HubFeature/translation.ts @@ -47,6 +47,12 @@ export const enUS = { description: 'You have successfully updated your teams', buttonText: 'Got it', }, + errorBottomsheet: { + title: 'Saving teams failed', + description: + 'Unable to save additional teams to view on your Team and Work hubs. Try again later.', + buttonText: 'Got it', + }, hubWidget: { restrictedContent: { message: @@ -105,6 +111,12 @@ export const esMX = { description: 'Ha actualizado con éxito sus equipos', buttonText: 'Entiendo', }, + errorBottomsheet: { + title: 'Equipo de salvamento fallido', + description: + 'No se pueden guardar equipos adicionales para verlos en los centros de equipo y trabajo. Vuelva a intentarlo más tarde.', + buttonText: 'Entiendo', + }, hubWidget: { restrictedContent: { message: --- packages/allspark-foundation/src/HubFeature/Hub/Container/AllsparkHubContainer.tsx @@ -97,22 +97,40 @@ export class AllsparkHubContainer { const userIsOnboarded = useSelector( ManagerExperienceSelectors.getUserOnboardingComplete ); + const isMutationError = useSelector( + ManagerExperienceSelectors.getUserOnboardingError + ); const { t } = useAllsparkTranslation(FEATURE_ID); return ( <> <HubDashboard name={this.containerName} widgets={this.validWidgets} /> - <BottomSheet - ref={bottomSheetRef} - isVisible={userIsOnboarded} - content={HubOnboardingImage({ - title: t('bottomSheet.title'), - description: t('bottomSheet.description'), - source: - 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png', - })} - onPrimaryButtonPress={closeBottomSheet} - primaryButtonText={t('bottomSheet.buttonText')} - /> + {isMutationError ? ( + <BottomSheet + ref={bottomSheetRef} + isVisible={userIsOnboarded as boolean} + content={HubOnboardingImage({ + title: t('errorBottomsheet.title'), + description: t('errorBottomsheet.description'), + source: + 'https://i5-me.walmartimages.com/images/metrics/cone-error-3212fb53c5.png', + })} + onPrimaryButtonPress={closeBottomSheet} + primaryButtonText={t('errorBottomsheet.buttonText')} + /> + ) : ( + <BottomSheet + ref={bottomSheetRef} + isVisible={userIsOnboarded as boolean} + content={HubOnboardingImage({ + title: t('bottomSheet.title'), + description: t('bottomSheet.description'), + source: + 'https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png', + })} + onPrimaryButtonPress={closeBottomSheet} + primaryButtonText={t('bottomSheet.buttonText')} + /> + )} </> ); };
Adding error bottomsheet
Adding error bottomsheet
e91887324528ce432463e1340c90c5577f69f454
--- docs/CHANGELOG.md @@ -1,3 +1,10 @@ +# [2.37.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.36.0...v2.37.0) (2025-05-07) + + +### Features + +* **ui:** update looper yml ([d1aaa52](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d1aaa528ac8b7103260cd4e9bb888fe218619870)) + # [2.35.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.34.0...v2.35.0) (2025-05-05) --- package.json @@ -1,6 +1,6 @@ { "name": "@walmart/roster-mini-app", - "version": "2.36.0", + "version": "2.37.0", "main": "dist/index.js", "files": [ "dist/"
chore(release): 2.37.0 [skip ci]
chore(release): 2.37.0 [skip ci] # [2.37.0](https://gecgithub01.walmart.com/smdv/roster-miniapp/compare/v2.36.0...v2.37.0) (2025-05-07) ### Features * **ui:** update looper yml ([d1aaa52](https://gecgithub01.walmart.com/smdv/roster-miniapp/commit/d1aaa528ac8b7103260cd4e9bb888fe218619870))
65dd98d0a9c9c9755f1f130f419664dc4f2fc2f2
--- src/hooks/user.ts @@ -98,3 +98,7 @@ export const useTotalSiteOrTotalStore = (): string => { const isSiteDC = useSelector(SiteSelectors.getWorkingSiteIsDC); return isSiteDC ? 'Total site' : 'Total store'; }; + +export const useIsStoreDC = (): boolean => { + return useSelector(SiteSelectors.getHomeSiteIsDC); +}; --- src/managerExperience/screens/RosterDetailScreen/RosterDetailScreen.tsx @@ -14,6 +14,7 @@ import { useGetTeamsByStore, useGetViewersPrimaryTeamId, useGetViewersPrimaryTeamName, + useIsStoreDC, useTotalSiteOrTotalStore, } from '../../../hooks'; import {useSelector} from 'react-redux'; @@ -60,7 +61,6 @@ 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/Site'; //Todo: Refactor some functionalities in this component export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => { @@ -74,6 +74,7 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => { const teamLeads = useSelector(teamLeadJobDescriptions) as string[]; const storeId = useSelector(UserSelectors.getSiteId); const siteTranslationContext = useTotalSiteOrTotalStore(); + const siteIsDC = useIsStoreDC(); const countryCode: string | undefined = useSelector( UserSelectors.getCountryCode, ); @@ -98,8 +99,6 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => { }); const isPrimaryTeam = primaryTeamId === teamState.teamIds?.[0]; - const isDCStore = useSelector(SiteSelectors.getWorkingSiteIsDC); - const AllsparkImage = useAllsparkImage(); const currentSiteId = useSelector(UserSelectors.getSiteId); @@ -394,7 +393,7 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => { subText={headerAndSubtext.subText} teamId={teamState.teamIds?.[0]} linkText={t( - isDCStore + siteIsDC ? 'rosterScreen.viewTeamLink.linkLabel_site' : 'rosterScreen.viewTeamLink.linkLabel_store', )}
fix: use SiteContext
fix: use SiteContext
fd6a2f0a2f832571d2b47f2afcf6c29cfc94e68c
--- ios/AllSpark/Info.plist @@ -60,6 +60,8 @@ <true/> <key>NSAppTransportSecurity</key> <dict> + <key>NSAllowsArbitraryLoads</key> + <true/> <key>NSExceptionDomains</key> <dict> <key>i5.walmartimages.com</key> --- package-lock.json @@ -104,7 +104,7 @@ "@walmart/schedule-mini-app": "0.94.1", "@walmart/shelfavailability-mini-app": "1.5.23", "@walmart/store-feature-orders": "1.26.5", - "@walmart/taskit-mini-app": "2.81.0", + "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a", "@walmart/time-clock-mini-app": "2.338.1", "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.11", @@ -12461,9 +12461,9 @@ } }, "node_modules/@walmart/taskit-mini-app": { - "version": "2.81.0", - "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.0.tgz", - "integrity": "sha512-7rKsM5dZ+TkTztg+1gGxOsFY43Q9TfOouyuXvTbiMdK/PUAc/l7DL1dpPyaMj5GL6KYRKxGOZp0fisopxkWqUA==", + "version": "2.81.0-1009-a2c5a1a", + "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-2.81.0-1009-a2c5a1a.tgz", + "integrity": "sha512-3WI2I7h4zRbc3ewEtQc8hPZJMvpHL5dKFRilClihy1nkl1Sm77DoHRBCnbQ9/OeHz4utTR3VCE6rDh//atD4nA==", "peerDependencies": { "@terrylinla/react-native-sketch-canvas": "^0.8.0", "@types/lodash": ">=4.14.176", --- package.json @@ -145,7 +145,7 @@ "@walmart/schedule-mini-app": "0.94.1", "@walmart/shelfavailability-mini-app": "1.5.23", "@walmart/store-feature-orders": "1.26.5", - "@walmart/taskit-mini-app": "2.81.0", + "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a", "@walmart/time-clock-mini-app": "2.338.1", "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.11", @@ -406,7 +406,7 @@ "@walmart/schedule-mini-app": "0.94.1", "@walmart/shelfavailability-mini-app": "1.5.23", "@walmart/store-feature-orders": "1.26.5", - "@walmart/taskit-mini-app": "2.81.0", + "@walmart/taskit-mini-app": "2.81.0-1009-a2c5a1a", "@walmart/time-clock-mini-app": "2.338.1", "@walmart/topstock-mini-app": "1.8.5", "@walmart/ui-components": "1.15.11",
Updated taskit with dev url
Updated taskit with dev url
25395a80c28c855cf8164c56b5ee399a75cc875c
--- package.json @@ -84,7 +84,7 @@ "@walmart/core-widget-registry": "0.3.2", "@walmart/counts-component-miniapp": "0.0.35", "@walmart/exception-mini-app": "0.42.1", - "@walmart/facilities-management-miniapp": "0.0.13", + "@walmart/facilities-management-miniapp": "0.0.14", "@walmart/feedback-all-spark-miniapp": "0.6.0", "@walmart/functional-components": "2.0.5", "@walmart/gta-react-native-calendars": "0.0.15",
facility management miniapp drop8 bugfix
facility management miniapp drop8 bugfix
b8fe88a020a4f690cebae19488751c398e508aa2
--- packages/allspark-foundation-hub/__tests__/HubFeature/Hub/Container/HubDashboard.test.tsx @@ -143,6 +143,7 @@ describe('HubDashboard', () => { expect(mockOnPress).toHaveBeenCalled(); }); + //@todo - Fix this broken test it.skip('renders TeamOnboardingScreen if showOnboarding is true', () => { (ManagerExperienceSelectors.getDefaultWidgets as jest.Mock).mockReturnValue( ['roster']
feat(ui): added a todo
feat(ui): added a todo
1751637c5f633f24a5f680e2d30474ee3bc2a5c1
--- .yarn/patches/@walmart-me-at-walmart-common-npm-6.25.1-53e1c47768.patch @@ -0,0 +1,112 @@ +diff --git a/lib/components/TeamHub.d.ts b/lib/components/TeamHub.d.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..bf08c22846dcfb10a8cc7ddbe2ece7553a09c5ed +--- /dev/null ++++ b/lib/components/TeamHub.d.ts +@@ -0,0 +1,33 @@ ++import { ReactNode } from 'react'; ++import { Icons } from '@walmart/gtp-shared-components'; ++export interface BaseTeamHubWidgetProps { ++ loading?: boolean; ++ iconName: keyof typeof Icons; ++ moduleTitle: string; ++ variant: 'actionable' | 'informational' | 'content-only'; ++ restricted?: boolean; ++ shortIntro?: string; ++ content?: ReactNode; ++ actionText?: string; ++ actionBtnText?: string; ++ onActionPress?: () => void; ++ isActionBtnDisabled?: boolean; ++ infoText?: string; ++ routeName: string; ++ routeParams?: { ++ [key: string]: any; ++ } | undefined; ++ refresh?: boolean; ++} ++export interface TeamHubWidgetProps { ++ selectedTeamPreference?: string; ++ selectedTeamIds?: string[]; ++ refresh?: string | null; ++} ++export declare const TEAM_HUB_KEY = "Me@Walmart.ManagerExperience.MyTeam"; ++export declare const TEAM_HUB_CCM_NAMESPACE = "myteam"; ++export declare const TEAM_HUB_SCREEN_NAME = "myTeam"; ++/** ++ * Component container for Team Hub Manager experience. ++ */ ++export declare const TeamHubContainer: import("@walmart/allspark-foundation/Components").ComponentContainer<any> | import("@walmart/allspark-foundation/Components").ComponentContainer<TeamHubWidgetProps>; +diff --git a/lib/components/TeamHub.js b/lib/components/TeamHub.js +new file mode 100644 +index 0000000000000000000000000000000000000000..07b58bec5332e59280cb2df5799ccd663d318107 +--- /dev/null ++++ b/lib/components/TeamHub.js +@@ -0,0 +1,11 @@ ++"use strict"; ++Object.defineProperty(exports, "__esModule", { value: true }); ++exports.TeamHubContainer = exports.TEAM_HUB_SCREEN_NAME = exports.TEAM_HUB_CCM_NAMESPACE = exports.TEAM_HUB_KEY = void 0; ++const Components_1 = require("@walmart/allspark-foundation/Components"); ++exports.TEAM_HUB_KEY = 'Me@Walmart.ManagerExperience.MyTeam'; ++exports.TEAM_HUB_CCM_NAMESPACE = 'myteam'; ++exports.TEAM_HUB_SCREEN_NAME = 'myTeam'; ++/** ++ * Component container for Team Hub Manager experience. ++ */ ++exports.TeamHubContainer = Components_1.AllsparkComponentContainers.create(exports.TEAM_HUB_KEY); +diff --git a/lib/components/WorkHub.d.ts b/lib/components/WorkHub.d.ts +new file mode 100644 +index 0000000000000000000000000000000000000000..08dbaba6da3aadf3cb415626b654cda9fce647cf +--- /dev/null ++++ b/lib/components/WorkHub.d.ts +@@ -0,0 +1,33 @@ ++import { ReactNode } from 'react'; ++import { Icons } from '@walmart/gtp-shared-components'; ++export interface BaseWorkHubWidgetProps { ++ loading?: boolean; ++ iconName: keyof typeof Icons; ++ moduleTitle: string; ++ variant: 'actionable' | 'informational' | 'content-only'; ++ restricted?: boolean; ++ shortIntro?: string; ++ content?: ReactNode; ++ actionText?: string; ++ actionBtnText?: string; ++ onActionPress?: () => void; ++ isActionBtnDisabled?: boolean; ++ infoText?: string; ++ routeName: string; ++ routeParams?: { ++ [key: string]: any; ++ } | undefined; ++ refresh?: boolean; ++} ++export interface WorkHubWidgetProps { ++ selectedTeamPreference?: string; ++ selectedTeamIds?: string[]; ++ refresh?: string | null; ++} ++export declare const WORK_HUB_KEY = "Me@Walmart.ManagerExperience.Work"; ++export declare const WORK_HUB_CCM_NAMESPACE = "copilot"; ++export declare const WORK_HUB_SCREEN_NAME = "copilot"; ++/** ++ * Component container for Team Hub Manager experience. ++ */ ++export declare const WorkHubContainer: import("@walmart/allspark-foundation/Components").ComponentContainer<any> | import("@walmart/allspark-foundation/Components").ComponentContainer<WorkHubWidgetProps>; +diff --git a/lib/components/WorkHub.js b/lib/components/WorkHub.js +new file mode 100644 +index 0000000000000000000000000000000000000000..dfcd94ecd28d5c2200636ee44ee49c02f8dae188 +--- /dev/null ++++ b/lib/components/WorkHub.js +@@ -0,0 +1,11 @@ ++"use strict"; ++Object.defineProperty(exports, "__esModule", { value: true }); ++exports.WorkHubContainer = exports.WORK_HUB_SCREEN_NAME = exports.WORK_HUB_CCM_NAMESPACE = exports.WORK_HUB_KEY = void 0; ++const Components_1 = require("@walmart/allspark-foundation/Components"); ++exports.WORK_HUB_KEY = 'Me@Walmart.ManagerExperience.Work'; ++exports.WORK_HUB_CCM_NAMESPACE = 'copilot'; ++exports.WORK_HUB_SCREEN_NAME = 'copilot'; ++/** ++ * Component container for Team Hub Manager experience. ++ */ ++exports.WorkHubContainer = Components_1.AllsparkComponentContainers.create(exports.WORK_HUB_KEY); --- package.json @@ -91,7 +91,7 @@ "@walmart/functional-components": "6.1.4", "@walmart/gtp-shared-components": "2.2.1", "@walmart/me-at-walmart-athena-queries": "6.25.1", - "@walmart/me-at-walmart-common": "latest", + "@walmart/me-at-walmart-common": "patch:@walmart/me-at-walmart-common@npm%3A6.25.1#~/.yarn/patches/@walmart-me-at-walmart-common-npm-6.25.1-53e1c47768.patch", "@walmart/me-at-walmart-container": "latest", "@walmart/react-native-encrypted-storage": "~1.1.3", "@walmart/react-native-logger": "1.34.8", --- yarn.lock @@ -6308,7 +6308,7 @@ __metadata: languageName: node linkType: hard -"@walmart/me-at-walmart-common@npm:latest": +"@walmart/me-at-walmart-common@npm:6.25.1": version: 6.25.1 resolution: "@walmart/me-at-walmart-common@npm:6.25.1" peerDependencies: @@ -6319,6 +6319,17 @@ __metadata: languageName: node linkType: hard +"@walmart/me-at-walmart-common@patch:@walmart/me-at-walmart-common@npm%3A6.25.1#~/.yarn/patches/@walmart-me-at-walmart-common-npm-6.25.1-53e1c47768.patch": + version: 6.25.1 + resolution: "@walmart/me-at-walmart-common@patch:@walmart/me-at-walmart-common@npm%3A6.25.1#~/.yarn/patches/@walmart-me-at-walmart-common-npm-6.25.1-53e1c47768.patch::version=6.25.1&hash=b7dc53" + peerDependencies: + "@reduxjs/toolkit": "*" + "@walmart/allspark-foundation": "*" + redux-saga: "*" + checksum: 10c0/d21c72598e8da502a9741c42bc8cdc3c0ca0d93517b186b2c1a15436a923d1c764afd2c2867df5951da43706984af72eec8b51e99779a90862b45f3acbbab4e6 + languageName: node + linkType: hard + "@walmart/me-at-walmart-container@npm:latest": version: 6.25.1 resolution: "@walmart/me-at-walmart-container@npm:6.25.1" @@ -6420,7 +6431,7 @@ __metadata: "@walmart/functional-components": "npm:6.1.4" "@walmart/gtp-shared-components": "npm:2.2.1" "@walmart/me-at-walmart-athena-queries": "npm:6.25.1" - "@walmart/me-at-walmart-common": "npm:latest" + "@walmart/me-at-walmart-common": "patch:@walmart/me-at-walmart-common@npm%3A6.25.1#~/.yarn/patches/@walmart-me-at-walmart-common-npm-6.25.1-53e1c47768.patch" "@walmart/me-at-walmart-container": "npm:latest" "@walmart/react-native-encrypted-storage": "npm:~1.1.3" "@walmart/react-native-logger": "npm:1.34.8"
Update me at common patch
Update me at common patch
3e9a61987f1e7d2abf09524d13c0fbb6dbda5f3d
--- .looper.multibranch.yml @@ -278,16 +278,16 @@ flows: - if: | %{ buildType == "SNAPSHOT" } then: - - group(dev): + - group("$os dev"): - call: build-snapshot(dev) - - group(beta): + - group("$os beta"): - call: build-snapshot(beta) - - group(prod): + - group("$os prod"): - call: build-snapshot(prod) else: - - group(beta): + - group("$os beta"): - call: build-release(beta) - - group(prod): + - group("$os prod"): - call: build-release(prod) # this is for producing builds that will get uploaded to proximity as snapshot
add os to group
add os to group
73a5800b58c80c0204e4ad1673ff3df016171dee
--- package-lock.json @@ -69,7 +69,7 @@ "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", "@walmart/react-native-logger": "1.31.0-rc.1", - "@walmart/react-native-scanner-3.0": "0.1.29", + "@walmart/react-native-scanner-3.0": "0.1.30-rc.2", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.5.1", @@ -5696,9 +5696,9 @@ } }, "node_modules/@walmart/react-native-scanner-3.0": { - "version": "0.1.29", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.29.tgz", - "integrity": "sha512-Ii5vAy0QvH1LDukm3zPU4AINGYtvH4u/mUsK81xcz6hZN66qKJcu7DG1OkdfSUoTUdD1Se4QELjZqIEdP54uyQ==", + "version": "0.1.30-rc.2", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.30-rc.2.tgz", + "integrity": "sha512-pFI/pln++KCINuNX/fiP3YzIhyG8bqoon5bcfSbdLq0zosxel0sm8lvoVjwIXYXqxH3tBHxwTNjOaDDCl38F/w==", "license": "ISC", "peerDependencies": { "react-native": ">=0.47.1" @@ -25216,9 +25216,9 @@ "integrity": "sha512-ZZEh/qRdjMPdX87EzSpAMRO9urGTsqBeqlctPk6b4EbMjJe2vwcbBawaamzhO+33zbxdv2riZ7yRukii7E5uXA==" }, "@walmart/react-native-scanner-3.0": { - "version": "0.1.29", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.29.tgz", - "integrity": "sha512-Ii5vAy0QvH1LDukm3zPU4AINGYtvH4u/mUsK81xcz6hZN66qKJcu7DG1OkdfSUoTUdD1Se4QELjZqIEdP54uyQ==" + "version": "0.1.30-rc.2", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.30-rc.2.tgz", + "integrity": "sha512-pFI/pln++KCINuNX/fiP3YzIhyG8bqoon5bcfSbdLq0zosxel0sm8lvoVjwIXYXqxH3tBHxwTNjOaDDCl38F/w==" }, "@walmart/react-native-shared-navigation": { "version": "1.0.2", --- package.json @@ -111,7 +111,7 @@ "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", "@walmart/react-native-logger": "1.31.0-rc.1", - "@walmart/react-native-scanner-3.0": "0.1.29", + "@walmart/react-native-scanner-3.0": "0.1.30-rc.2", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.5.1",
Updated Scanner 3.0 to 0.1.30-rc.2(Ask-sam Digital bridge testing)
Updated Scanner 3.0 to 0.1.30-rc.2(Ask-sam Digital bridge testing)
082e08d79b0b05e769d7ea906b668229c9496c7a
--- package-lock.json @@ -4350,7 +4350,7 @@ "@walmart/react-native-collapsible": { "version": "1.5.3", "resolved": "https://npme.walmart.com/@walmart/react-native-collapsible/-/react-native-collapsible-1.5.3.tgz", - "integrity": "sha512-A/eHjceqHN2FJVaimSrKO/wIHgP5ymIoiyTMRa10ce8NZ7ejhPelIkCqzwjvQ328HG38y7HPelvu/6xlsiFlUQ==", + "integrity": "sha1-XoOvTwTbUqaib/9Ii//qp9yNBQk=", "requires": { "prop-types": "^15.6.2" } @@ -4475,9 +4475,9 @@ } }, "@walmart/taskit-mini-app": { - "version": "0.159.0-rc.1", - "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.159.0-rc.1.tgz", - "integrity": "sha512-YlT+3JBPjfGA2lFmSh6DkSgp/lLzVTRiGzG57Z7O/8ZA2VeRsjOlYmoxPf4WNvgLYSg26XybnLr6dmmIbwn3ZA==" + "version": "0.167.0-rc.1", + "resolved": "https://npme.walmart.com/@walmart/taskit-mini-app/-/taskit-mini-app-0.167.0-rc.1.tgz", + "integrity": "sha512-OYpzZHJaDdNpphiqq1KQmNdnYzkoi/RcDzXBeiZZ9lCNkpRvIDRemdK80Gof0U2u7/IcGivPYYX7k23DvK/wOw==" }, "@walmart/time-clock-mini-app": { "version": "0.4.27", @@ -19772,7 +19772,7 @@ "wfm-allspark-data-library": { "version": "0.0.11", "resolved": "https://npme.walmart.com/wfm-allspark-data-library/-/wfm-allspark-data-library-0.0.11.tgz", - "integrity": "sha512-o34ej3nNhCcy3uwWkOJcU/3zjXmX+VvbqiZrEgQwrxbO6cbJGxiK1Tz/JQX8j1lwi6cZFJKvDOucJtlduzVQrg==", + "integrity": "sha1-E27LsiPO+Sbj5h3p0FQpcH9VU8g=", "requires": { "@walmart/functional-components": "^1.0.22", "@walmart/react-native-env": "^0.1.0", @@ -19786,7 +19786,7 @@ "@walmart/react-native-env": { "version": "0.1.0", "resolved": "https://npme.walmart.com/@walmart/react-native-env/-/react-native-env-0.1.0.tgz", - "integrity": "sha512-ooH0AqLGhS5PNcLaOWRHAEIIvrYIyTUXqshlHkgEKDLhLtGW8WvFu0mlcCXb1FEUc/PVmKEzHNHYV1gzGNBqxQ==" + "integrity": "sha1-ojNwDE5pPTzF1RuQXDc//Fnlpz0=" }, "moment": { "version": "2.24.0", @@ -19796,7 +19796,7 @@ "react-native-ssmp-sso-allspark": { "version": "0.0.1-rc8", "resolved": "https://npme.walmart.com/react-native-ssmp-sso-allspark/-/react-native-ssmp-sso-allspark-0.0.1-rc8.tgz", - "integrity": "sha512-4ZWTteIvddzP7Lg3EM0KP1fDfcN8nx7v5yvHASCLUpoZvhxHQUkjj8uTt4TkJxvTuEK16w7mTwHDauTrIC/BJg==" + "integrity": "sha1-/SHw48C+3muBMp2bynExhYPZl0s=" } } }, --- package.json @@ -100,7 +100,7 @@ "@walmart/settings-mini-app": "1.5.0", "@walmart/refrigeration-alarms-mini-app": "1.26.0", "@walmart/schedule-mini-app": "0.10.0", - "@walmart/taskit-mini-app": "0.159.0-rc.1", + "@walmart/taskit-mini-app": "0.167.0-rc.1", "@walmart/shelfavailability-mini-app": "0.8.0", "@walmart/ui-components": "v1.3.0-rc.9", "@walmart/time-clock-mini-app": "0.4.27",
Updating taskIt version
Updating taskIt version
f23f52a700ab11cdc0bafe6b0fa7db3ebcca7fe6
--- android/app/build.gradle @@ -135,7 +135,7 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 92 - versionName "1.0.6" + versionName "1.0.7" } splits { abi { --- ios/AllSpark/Info.plist @@ -17,7 +17,7 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.0.6</string> + <string>1.0.7</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleURLTypes</key> --- ios/AllSparkTests/Info.plist @@ -15,7 +15,7 @@ <key>CFBundlePackageType</key> <string>BNDL</string> <key>CFBundleShortVersionString</key> - <string>1.0.6</string> + <string>1.0.7</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> --- package-lock.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.0.6", + "version": "1.0.7", "lockfileVersion": 1, "requires": true, "dependencies": { --- package.json @@ -1,6 +1,6 @@ { "name": "allspark-main", - "version": "1.0.6", + "version": "1.0.7", "private": true, "scripts": { "firebase:dev": "cp ./ios/GoogleService-Info-Dev.plist ./ios/GoogleService-Info.plist && cp ./android/app/google-services-dev.json ./android/app/google-services.json",
version bump (#421)
version bump (#421) * version bump * package lock bump * version bump Co-authored-by: Hitesh Arora <>
6ee88ced0d81e29bd6962358d92c492c888d3fdf
--- __tests__/navigation/AssociateHallwayNav/Tabs/MainTabsNavTest.tsx @@ -292,7 +292,7 @@ describe('MainTabsNav', () => { askSam: config, myTeam: config, taskit: config, - copilot: false, + copilot: {enabled: false}, }); // bottomNavConfig component.update(<MainTabsNav />); @@ -323,7 +323,7 @@ describe('MainTabsNav', () => { askSam: disabledConfig, myTeam: disabledConfig, taskit: disabledConfig, - copilot: config, + copilot: {enabled: true}, }); // bottomNavConfig component.update(<MainTabsNav />); --- __tests__/navigation/AssociateHallwayNav/Tabs/__snapshots__/MainTabsNavTest.tsx.snap @@ -18,9 +18,13 @@ exports[`MainTabsNav matches snapshot when disabled from config 1`] = ` name="copilot" options={ { + "tabBarAccessibilityLabel": "Work undefined function translate(t) { + return t; +},[object Object]", "tabBarBadge": undefined, "tabBarBadgeStyle": undefined, "tabBarIcon": [Function], + "tabBarTestID": "Work", } } /> @@ -74,6 +78,9 @@ exports[`MainTabsNav matches snapshot with badges 1`] = ` name="taskit" options={ { + "tabBarAccessibilityLabel": "taskit undefined function translate(t) { + return t; +},[object Object]", "tabBarBadge": undefined, "tabBarBadgeStyle": undefined, "tabBarIcon": [Function], @@ -130,6 +137,9 @@ exports[`MainTabsNav matches snapshot with inbox shown and badges 1`] = ` name="inbox" options={ { + "tabBarAccessibilityLabel": "inbox 2 function translate(t) { + return t; +},[object Object]", "tabBarBadge": "", } } @@ -184,9 +194,13 @@ exports[`MainTabsNav matches snapshot with no badges 1`] = ` name="copilot" options={ { + "tabBarAccessibilityLabel": "Work undefined function translate(t) { + return t; +},[object Object]", "tabBarBadge": undefined, "tabBarBadgeStyle": undefined, "tabBarIcon": [Function], + "tabBarTestID": "Work", } } /> --- package-lock.json @@ -43,7 +43,7 @@ "@walmart/attendance-mini-app": "1.62.13", "@walmart/compass-sdk-rn": "5.7.4", "@walmart/config-components": "4.2.8", - "@walmart/copilot-mini-app": "^3.5.1", + "@walmart/copilot-mini-app": "3.22.12", "@walmart/core-services": "~2.2.1", "@walmart/core-services-allspark": "~2.12.8", "@walmart/core-utils": "~2.0.5", @@ -123,6 +123,7 @@ "react-native-circular-progress": "^1.3.7", "react-native-code-push": "7.1.0", "react-native-device-info": "^10.3.0", + "react-native-drop-shadow": "^0.0.7", "react-native-error-boundary": "^1.1.6", "react-native-fast-image": "^8.6.3", "react-native-flipper": "0.182.0", @@ -8570,9 +8571,9 @@ } }, "node_modules/@walmart/copilot-mini-app": { - "version": "3.5.1", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.5.1.tgz", - "integrity": "sha512-J8eStDXDrJ/TOZAJbhbNYkm4qLZvaUGTGXvTYKdTyE1xJfgUFH3eRpUxPyMqx85xwaiunXmaWHnPbJEYb8z8IA==", + "version": "3.22.12", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.22.12.tgz", + "integrity": "sha512-/ncbokaHlPFNxZIysZfaZQExMfSTcZcbgpDjgHmPx+bPijZQuQ/pdOrlVjqR3pNZ87/098vqNDRiJPSTmmmlbQ==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -33193,9 +33194,9 @@ } }, "@walmart/copilot-mini-app": { - "version": "3.5.1", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.5.1.tgz", - "integrity": "sha512-J8eStDXDrJ/TOZAJbhbNYkm4qLZvaUGTGXvTYKdTyE1xJfgUFH3eRpUxPyMqx85xwaiunXmaWHnPbJEYb8z8IA==" + "version": "3.22.12", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-3.22.12.tgz", + "integrity": "sha512-/ncbokaHlPFNxZIysZfaZQExMfSTcZcbgpDjgHmPx+bPijZQuQ/pdOrlVjqR3pNZ87/098vqNDRiJPSTmmmlbQ==" }, "@walmart/core-services": { "version": "2.2.1", --- package.json @@ -84,7 +84,7 @@ "@walmart/attendance-mini-app": "1.62.13", "@walmart/compass-sdk-rn": "5.7.4", "@walmart/config-components": "4.2.8", - "@walmart/copilot-mini-app": "3.5.1", + "@walmart/copilot-mini-app": "3.22.12", "@walmart/core-services": "~2.2.1", "@walmart/core-services-allspark": "~2.12.8", "@walmart/core-utils": "~2.0.5", @@ -164,6 +164,7 @@ "react-native-circular-progress": "^1.3.7", "react-native-code-push": "7.1.0", "react-native-device-info": "^10.3.0", + "react-native-drop-shadow": "^0.0.7", "react-native-error-boundary": "^1.1.6", "react-native-fast-image": "^8.6.3", "react-native-flipper": "0.182.0", --- src/navigation/AssociateHallwayNav/Tabs/index.tsx @@ -173,10 +173,17 @@ export const MainTabsNav = () => { const [t] = useTranslation('common'); const {bottom} = useSafeAreaInsets(); + const A11Y_PAUSE = ', :'; const badgesCount = useSelector(getInboxBadgeCount); const taskTabBadge = getTaskTabBarBadge(); const myTeamTabBadge = MyTeamHooks.useMessagesUnreadCount(); const {total} = useWorkBadgeCount(); + const workTabA11yTranslate = + t('navigation.work') + + A11Y_PAUSE + + total + + A11Y_PAUSE + + t('navigation.notifications'); const configMap = useSelector(getBottomNavConfigMap); const {home, me, askSam, myTeam, taskit, copilot} = configMap; @@ -248,6 +255,10 @@ export const MainTabsNav = () => { name='copilot' component={ClockOutGuardedCopilotMiniapp} options={{ + tabBarTestID: 'Work', + tabBarAccessibilityLabel: total + ? workTabA11yTranslate + : t('navigation.work'), tabBarIcon: renderTabBarIcon.bind({ icon: 'inactive-task', iconSelected: 'task-active', --- src/translations/en-US.ts @@ -119,6 +119,7 @@ export const enUS_common = { main: 'Me@Walmart', me: 'Profile', myTeam: 'My Team', + notifications: 'notifications', settings: { '3rd_party_notices': '3rd Party Notices', data_saver: 'Data saver', @@ -135,6 +136,7 @@ export const enUS_common = { taskit: 'Notes', terms_of_use: 'Terms of Use', whatsNew: "What's New", + work: 'Work', }, permissions: { continueButton: 'Continue', --- src/translations/es-MX.ts @@ -126,6 +126,7 @@ export const esMX_common = { main: 'Me@Walmart', me: 'Perfil', myTeam: 'Mi equipo', + notifications: 'notificaciones', settings: { '3rd_party_notices': 'Avisos de terceros', data_saver: 'Ahorro de datos', @@ -142,6 +143,7 @@ export const esMX_common = { taskit: 'Notas', terms_of_use: 'Condiciones de uso', whatsNew: 'Novedades en la app', + work: 'Trabajar', }, permissions: { continueButton: 'Seguir',
fix(DWORK-1559): changes for core for yellow badge count
fix(DWORK-1559): changes for core for yellow badge count
7a547c8f7ca15a457fff86529a70371c2412fc5c
--- src/hooks/useForceCloseOnClockOut.ts @@ -38,49 +38,10 @@ export const useForceCloseOnClockOut = ( ): void => { const isClockedOut: boolean = useSelector(ClockSelectors.getIsClockedOut); - // DIAGNOSTIC: Track previous state to detect changes - const prevClockedOutRef = useRef<boolean | null>(null); - // Use refs to maintain stable references for logging const screenNameRef = useRef(screenName); const contextRef = useRef(additionalContext); - // DIAGNOSTIC: Log initial state and any state changes - useEffect(() => { - if (prevClockedOutRef.current === null) { - console.log('%c[🚀 HOOK INIT] useForceCloseOnClockOut initialized', 'color: #9370DB; font-weight: bold; background: #1a0a2a; padding: 3px 6px; border-radius: 3px', { - screenName, - initialClockedOutState: isClockedOut, - timestamp: new Date().toISOString(), - ...additionalContext - }); - logger.info('[DIAGNOSTIC] useForceCloseOnClockOut initialized', { - screenName, - initialClockedOutState: isClockedOut, - timestamp: new Date().toISOString(), - ...additionalContext - }); - } else if (prevClockedOutRef.current !== isClockedOut) { - console.warn('%c[⚡ STATE CHANGE] Clock state changed!', 'color: #FF1493; font-weight: bold; background: #2a0a2a; padding: 4px 8px; border: 2px solid #FF1493; border-radius: 4px; font-size: 14px', { - screenName, - previousState: prevClockedOutRef.current, - newState: isClockedOut, - stateChange: prevClockedOutRef.current ? 'CLOCKED_IN' : 'CLOCKED_OUT', - timestamp: new Date().toISOString(), - ...additionalContext - }); - logger.warn('[DIAGNOSTIC] Clock state changed!', { - screenName, - previousState: prevClockedOutRef.current, - newState: isClockedOut, - stateChange: prevClockedOutRef.current ? 'CLOCKED_IN' : 'CLOCKED_OUT', - timestamp: new Date().toISOString(), - ...additionalContext - }); - } - prevClockedOutRef.current = isClockedOut; - }, [isClockedOut, screenName, additionalContext]); - // Update refs when values change useEffect(() => { screenNameRef.current = screenName; @@ -90,10 +51,6 @@ export const useForceCloseOnClockOut = ( useEffect(() => { if (isClockedOut && closeModal) { try { - console.error('%c[🚪 MODAL CLOSING] User clocked out - Force closing modal!', 'color: #FFFFFF; font-weight: bold; background: #DC143C; padding: 5px 10px; border-radius: 5px; font-size: 16px', { - screen: screenNameRef.current, - ...contextRef.current - }); logger.info(`${screenNameRef.current} - User clocked out, closing modal`, { ...contextRef.current });
fix(compensable): SMDV-8430 remove console logs
fix(compensable): SMDV-8430 remove console logs
b4ef7ef6c7487e13dd0a631cc190e6bb50474636
--- package-lock.json @@ -46,7 +46,7 @@ "@walmart/counts-component-miniapp": "0.1.2", "@walmart/emergency-mini-app": "1.19.0", "@walmart/exception-mini-app": "1.0.16", - "@walmart/facilities-management-miniapp": "0.5.34", + "@walmart/facilities-management-miniapp": "0.5.35", "@walmart/feedback-all-spark-miniapp": "0.9.10", "@walmart/financial-wellbeing-feature-app": "1.1.2", "@walmart/functional-components": "2.0.6", @@ -5070,9 +5070,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.5.34", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.34.tgz", - "integrity": "sha512-0BdFMIzCwNHUeaPMwsuVJDYfSsJg8cWD/oK8V0smDw2CMMWkYN0qptL1sZtN04Xtyi+FYoOymL9Ty9IXcSpA2w==", + "version": "0.5.35", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.35.tgz", + "integrity": "sha512-XQa4jnKGCkWFGYCcSkBHJthmvjxQbIQww+z+St5pSWTgGrlQhcqqKxrH3bvraVrByw2Jv9+YKLYLCNgLtVaatQ==", "hasInstallScript": true, "peerDependencies": { "@react-native-community/async-storage": "^1.12.1", @@ -25325,9 +25325,9 @@ "integrity": "sha512-mzesUeNPUwAWFUrFs6104aZ3NCM5eXa2uD8TrjL+BV+ZVgYG/A58k1xUUxNayw26w7Z41J7m4bxA9ctgNiNVMQ==" }, "@walmart/facilities-management-miniapp": { - "version": "0.5.34", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.34.tgz", - "integrity": "sha512-0BdFMIzCwNHUeaPMwsuVJDYfSsJg8cWD/oK8V0smDw2CMMWkYN0qptL1sZtN04Xtyi+FYoOymL9Ty9IXcSpA2w==" + "version": "0.5.35", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.5.35.tgz", + "integrity": "sha512-XQa4jnKGCkWFGYCcSkBHJthmvjxQbIQww+z+St5pSWTgGrlQhcqqKxrH3bvraVrByw2Jv9+YKLYLCNgLtVaatQ==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.10", --- package.json @@ -88,7 +88,7 @@ "@walmart/counts-component-miniapp": "0.1.2", "@walmart/emergency-mini-app": "1.19.0", "@walmart/exception-mini-app": "1.0.16", - "@walmart/facilities-management-miniapp": "0.5.34", + "@walmart/facilities-management-miniapp": "0.5.35", "@walmart/feedback-all-spark-miniapp": "0.9.10", "@walmart/financial-wellbeing-feature-app": "1.1.2", "@walmart/functional-components": "2.0.6",
bug fix version update
bug fix version update
da1a45a1759580b77dee0995069246768390f385
--- .looper.multibranch.yml @@ -597,7 +597,7 @@ flows: # @param release_url - App Center install url for this build # @param BUILD_NUMBER - the build number / version code of the build - TIME_ELAPSED: ($(timestamp "START_TIME") - $(timestamp "END_TIME")) + slack-success: - exposeVars(./fastlane/fastlane-session.json)
Update .looper.multibranch.yml
Update .looper.multibranch.yml