commit_hash
stringlengths
40
40
input
stringlengths
13
7.99k
output
stringlengths
5
155
full_message
stringlengths
6
8.96k
7d3669cc789cb8b9043b018e2a78c05e8f5c906e
--- .looper.yml @@ -101,9 +101,4 @@ flows: sonar: - call: coverage - - sonar("Sonar"): sonar-scanner -X -Dproject.settings=sonar-project.properties - -Dsonar.pullrequest.github.repository=allspark/allspark - -Dsonar.pullrequest.key=${GITHUB_PR_NUMBER} - -Dsonar.pullrequest.branch=${GITHUB_PR_SOURCE_BRANCH} - -Dsonar.pullrequest.base=${GITHUB_PR_TARGET_BRANCH} - -Dsonar.scm.revision=${GITHUB_PR_HEAD_SHA} + - sonar("Sonar"): sonar-scanner -X -Dproject.settings=sonar-project.properties -Dsonar.pullrequest.github.repository=allspark/allspark -Dsonar.pullrequest.key=${GITHUB_PR_NUMBER} -Dsonar.pullrequest.branch=${GITHUB_PR_SOURCE_BRANCH} -Dsonar.pullrequest.base=${GITHUB_PR_TARGET_BRANCH} -Dsonar.scm.revision=${GITHUB_PR_HEAD_SHA}
fix: one line for sonar flags
fix: one line for sonar flags
076f6bed69d4e0ce8986c6af55165508971b94c4
--- package.json @@ -102,7 +102,7 @@ "@walmart/react-native-sumo-sdk": "2.6.0", "@walmart/redux-store": "6.1.4", "@walmart/ui-components": "1.15.1", - "@walmart/wmconnect-mini-app": "2.6.0", + "@walmart/wmconnect-mini-app": "2.7.0", "babel-jest": "^29.2.1", "chance": "^1.1.11", "eslint": "8.22.0", --- yarn.lock @@ -6256,7 +6256,7 @@ __metadata: "@walmart/react-native-sumo-sdk": "npm:2.6.0" "@walmart/redux-store": "npm:6.1.4" "@walmart/ui-components": "npm:1.15.1" - "@walmart/wmconnect-mini-app": "npm:2.6.0" + "@walmart/wmconnect-mini-app": "npm:2.7.0" babel-jest: "npm:^29.2.1" chance: "npm:^1.1.11" eslint: "npm:8.22.0" @@ -6389,9 +6389,9 @@ __metadata: languageName: node linkType: hard -"@walmart/wmconnect-mini-app@npm:2.6.0": - version: 2.6.0 - resolution: "@walmart/wmconnect-mini-app@npm:2.6.0" +"@walmart/wmconnect-mini-app@npm:2.7.0": + version: 2.7.0 + resolution: "@walmart/wmconnect-mini-app@npm:2.7.0" peerDependencies: "@react-native-async-storage/async-storage": ^1.21.0 "@react-native-community/netinfo": ^11.0.1 @@ -6431,7 +6431,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 wifi-store-locator: 1.4.1 - checksum: 10c0/6af9c5257a6a5e58388427a9ad8c27dc0de68a4fb54fcf085f010bf28d4b76f803e7ee45b2ae55b1eca98c534a810e00ceab92f7c4ecd56edc5b1e4ae3a9cb13 + checksum: 10c0/ce28cf7664920e6c76161a7537363d4018fff03ba73095dc215984bb74121d6db890ec95a25dc466be9036d91982e149ce94342953e7707c17aa04c38bd86248 languageName: node linkType: hard
feat(ui): updated wmconnect version
feat(ui): updated wmconnect version
b4afa29dfd0f0cebb08f7f23416a49e7378459ee
--- package.json @@ -86,7 +86,7 @@ "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.31.5", "@walmart/associate-listening-mini-app": "1.2.32", - "@walmart/attendance-mini-app": "3.169.0", + "@walmart/attendance-mini-app": "3.170.0", "@walmart/avp-feature-app": "0.16.19", "@walmart/avp-shared-library": "0.10.12", "@walmart/backroom-mini-app": "1.12.0", --- yarn.lock @@ -6560,9 +6560,9 @@ __metadata: languageName: node linkType: hard -"@walmart/attendance-mini-app@npm:3.169.0": - version: 3.169.0 - resolution: "@walmart/attendance-mini-app@npm:3.169.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.169.0.tgz" +"@walmart/attendance-mini-app@npm:3.170.0": + version: 3.170.0 + resolution: "@walmart/attendance-mini-app@npm:3.170.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fattendance-mini-app%2F-%2F%40walmart%2Fattendance-mini-app-3.170.0.tgz" peerDependencies: "@react-native-community/datetimepicker": ">=5.1.0" "@react-navigation/native": ">=6.0.8" @@ -6593,7 +6593,7 @@ __metadata: redux-saga: ">=1.2.3" reselect: ">=4.1.0" wfm-allspark-data-library: ">=3.3.0" - checksum: 10c0/6f5f54fb3ad7b28b00799c9927f990327d20325984f35bea3eb6ec4f1c06dee1c21891bb914cd96acf766e866ccfae1ff4859d604b2ab896a9a815d3a94668e7 + checksum: 10c0/0e5fda6069253ff9b0b334d94960c3bbfcaf2739f8e2d42c164d5d788bf2294095a2b5d726086f8cdabc19ad796f772aaef11725b58e03730f13a62e0d5fe2a8 languageName: node linkType: hard @@ -7418,7 +7418,7 @@ __metadata: "@walmart/ask-sam-chat-components": "npm:^0.2.7" "@walmart/ask-sam-mini-app": "npm:1.31.5" "@walmart/associate-listening-mini-app": "npm:1.2.32" - "@walmart/attendance-mini-app": "npm:3.169.0" + "@walmart/attendance-mini-app": "npm:3.170.0" "@walmart/avp-feature-app": "npm:0.16.19" "@walmart/avp-shared-library": "npm:0.10.12" "@walmart/backroom-mini-app": "npm:1.12.0"
fix: GTA-161386 - Temporarily remove week column from calendar (#4376)
fix: GTA-161386 - Temporarily remove week column from calendar (#4376) * fix: GTA-161386 - Temporarily remove week column from calendar * fix: GTA-161386 - empty commit --------- Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
7af37589b4fe713da268780bfc44aaaf827e7f76
--- packages/allspark-foundation/src/Translation/client.ts @@ -1,4 +1,4 @@ -import i18next, { KeyPrefix, TFunction } from 'i18next'; +import i18next, { Callback, KeyPrefix, TFunction } from 'i18next'; import { UseTranslationOptions, useTranslation as baseUseTranslation, @@ -174,6 +174,10 @@ export const TranslationClient = (config?: TranslationClientOptions) => { return 'en-US'; }; + const changeLanguage = (lng?: string, callback?: Callback) => { + _instance.changeLanguage(lng, callback); + i18next.changeLanguage(lng, callback); + }; const syncToDeviceLanguage = async () => { const deviceLanguage = await getDeviceLanguage(); @@ -181,7 +185,7 @@ export const TranslationClient = (config?: TranslationClientOptions) => { // Change language on translation client (i18n) const currentLanguage = AllsparkTranslationClient.language; if (currentLanguage !== deviceLanguage) { - _instance.changeLanguage(deviceLanguage); + changeLanguage(deviceLanguage); } }; @@ -196,6 +200,7 @@ export const TranslationClient = (config?: TranslationClientOptions) => { select, getDeviceLanguage, syncToDeviceLanguage, + changeLanguage, }); }; @@ -203,7 +208,7 @@ export const TranslationClient = (config?: TranslationClientOptions) => { * The default translation client instance */ export const AllsparkTranslationClient = TranslationClient(); - +AllsparkTranslationClient.changeLanguage; /** * A feature client that scopes translate to a particular namespace */
fix: changing language on translation client did not change language on default i18n instance
fix: changing language on translation client did not change language on default i18n instance
b51c95396488bf51833cb92c317161e386163665
--- package.json @@ -137,7 +137,7 @@ "@walmart/me-at-walmart-container": "workspace:^", "@walmart/me-at-walmart-location": "^1.2.20", "@walmart/metrics-mini-app": "1.34.12", - "@walmart/mod-flex-mini-app": "1.31.8", + "@walmart/mod-flex-mini-app": "1.32.0", "@walmart/moment-walmart": "1.0.4", "@walmart/money-auth-shared-components": "2.4.3", "@walmart/my-walmart-hub": "1.10.0", --- yarn.lock @@ -8871,7 +8871,7 @@ __metadata: "@walmart/me-at-walmart-container": "workspace:^" "@walmart/me-at-walmart-location": "npm:^1.2.20" "@walmart/metrics-mini-app": "npm:1.34.12" - "@walmart/mod-flex-mini-app": "npm:1.31.8" + "@walmart/mod-flex-mini-app": "npm:1.32.0" "@walmart/moment-walmart": "npm:1.0.4" "@walmart/money-auth-shared-components": "npm:2.4.3" "@walmart/my-walmart-hub": "npm:1.10.0" @@ -9157,9 +9157,9 @@ __metadata: languageName: node linkType: hard -"@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" +"@walmart/mod-flex-mini-app@npm:1.32.0": + version: 1.32.0 + resolution: "@walmart/mod-flex-mini-app@npm:1.32.0::__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.32.0.tgz" peerDependencies: "@react-native-segmented-control/segmented-control": ^2.5.7 "@react-navigation/drawer": ">=7" @@ -9192,7 +9192,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 uuid: ^3.3.2 - checksum: 10c0/df5e49a7e69a5d946757323a540186de4efcec49d98df2972918fb0afed7c3012c378147df426ce65f922f76db7675765c8823e3367f38bc037449c553c17c87 + checksum: 10c0/7a408a29161ff5684efcd4bbc1e80a2b462e53473fc110d3a373c3dda455318b86069de7b96299f0c5c167b74fd297c183da78c564adce82de910d6d9c3c4228 languageName: node linkType: hard
feat: update modflex to support 3P (#5390)
feat: update modflex to support 3P (#5390) Co-authored-by: Shubhang Shah - s0s0zug <Shubhang.Shah@walmart.com> Co-authored-by: Savankumar Akbari - sakbari <sakbari@m-c02rv0v4g8wl.homeoffice.wal-mart.com>
d71aa84ef687bafdd9422b164f4a0d21c74e22fc
--- package.json @@ -141,7 +141,7 @@ "@types/seamless-immutable": "^7.1.16", "@types/semver": "^7.3.4", "@types/uuid": "^8.3.0", - "@walmart/allspark-foundation": "6.20.2", + "@walmart/allspark-foundation": "6.21.3", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-utils": "~6.5.0", --- targets/US/package.json @@ -77,7 +77,7 @@ "@terrylinla/react-native-sketch-canvas": "patch:@terrylinla/react-native-sketch-canvas@npm%3A0.8.0#~/.yarn/patches/@terrylinla-react-native-sketch-canvas-npm-0.8.0-c7b2afd4cd.patch", "@walmart/allspark-authentication": "~6.4.1", "@walmart/allspark-cope-key-listener": "0.0.18", - "@walmart/allspark-foundation": "6.21.2", + "@walmart/allspark-foundation": "6.21.3", "@walmart/allspark-graphql-client": "~6.3.28", "@walmart/allspark-http-client": "~6.3.28", "@walmart/allspark-neon-core": "0.1.31", --- yarn.lock @@ -5679,9 +5679,9 @@ __metadata: languageName: node linkType: hard -"@walmart/allspark-foundation@npm:6.20.2": - version: 6.20.2 - resolution: "@walmart/allspark-foundation@npm:6.20.2" +"@walmart/allspark-foundation@npm:6.21.3": + version: 6.21.3 + resolution: "@walmart/allspark-foundation@npm:6.21.3" dependencies: "@apollo/client": "npm:^3.8.6" "@graphql-codegen/cli": "npm:^5.0.0" @@ -5691,7 +5691,7 @@ __metadata: "@graphql-codegen/typescript-react-apollo": "npm:^4.1.0" "@reduxjs/toolkit": "npm:^1.9.7" "@types/node-fetch": "npm:^2.6.9" - "@walmart/allspark-utils": "npm:^6.5.0" + "@walmart/allspark-utils": "npm:^6.5.1" axios: "npm:~1.6.0" axios-cache-interceptor: "npm:^1.3.2" crypto-js: "npm:~4.2.0" @@ -5774,7 +5774,7 @@ __metadata: allspark-generate-graphql: cli/generate.js allspark-link: cli/link.js allspark-setup: cli/setup.js - checksum: 10c0/411380b8b8a9b606e552d3db2c60cc402a0f98e51adf9cc2079ef5a8031c662358c03d3c72e6718ad6a514ed99184aa7109383d74fc9bcd40fdd5f6a49c5be75 + checksum: 10c0/571214d7ebac7781784ee3ae042b5a36ec197f3f7bd8a059d34bd27b97ab69ceb99c794a07bb7c7e79cb138fc4f1c2cd186f3662995ae0efa75edbeb58cb1d0a languageName: node linkType: hard @@ -6993,7 +6993,7 @@ __metadata: "@types/uuid": "npm:^8.3.0" "@walmart/allspark-authentication": "npm:~6.4.1" "@walmart/allspark-cope-key-listener": "npm:0.0.18" - "@walmart/allspark-foundation": "npm:6.21.2" + "@walmart/allspark-foundation": "npm:6.21.3" "@walmart/allspark-graphql-client": "npm:~6.3.28" "@walmart/allspark-http-client": "npm:~6.3.28" "@walmart/allspark-neon-core": "npm:0.1.31"
fix: upgrade foundation for dynamic component fix
fix: upgrade foundation for dynamic component fix
620cfe8f8afdd2b5a699f46b1902d56f0e73d83d
--- package-lock.json @@ -5299,9 +5299,9 @@ "integrity": "sha512-nyRfhNw2PUUcWXVIsi6/8sL3O75hQM6a7CTw2Zrg9oIrbTy1SwCKXZABSpT1xXUF8rTySjBnqvsDitkXu+NOkg==" }, "@walmart/inbox-mini-app": { - "version": "0.56.0", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.56.0.tgz", - "integrity": "sha512-eM4I510nSdjfVlmkme2lxS3gFXIaXw7NS/uqrYy1GwDRaMCi36HAVfU1djzHA5hxUpqkbJDnbxNrTkNvZphzbQ==", + "version": "0.57.0", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.57.0.tgz", + "integrity": "sha512-R+D8Bii5auYm7YDrCXSggXV8rEvNL3ryIJKLxNDm/EQ8iqOSTEDdU5gnT+5V3Pt8FbiOxX3f6aFnqxRA6ezmXw==", "requires": { "@walmart/walmart-fiscal-week": "^0.3.6" }
update inbox pkg for ut
update inbox pkg for ut
7b83c23721a7f75397a48aa97b68663f0a1428dc
--- yarn.lock @@ -6503,7 +6503,6 @@ __metadata: redux-saga: ^1.2.3 wifi-store-locator: 1.4.1 checksum: 10c0/33520e203c9df8d5606f47472838ba0f0135b415eab361b5b3f21db933067f109fcff029592d67c58f86a5491d6a4f75a3cc684627a4ffce945990d344333f29 - languageName: node linkType: hard @@ -6570,7 +6569,6 @@ __metadata: redux-saga: ^1.2.3 wifi-store-locator: 1.4.1 checksum: 10c0/ce28cf7664920e6c76161a7537363d4018fff03ba73095dc215984bb74121d6db890ec95a25dc466be9036d91982e149ce94342953e7707c17aa04c38bd86248 - languageName: node linkType: hard
feat(ui): updated lockfile
feat(ui): updated lockfile
901a8dbbe8b56e0f0135cd42047e381cc95a83de
--- packages/me-at-walmart-container/src/services/telemetry.ts @@ -94,7 +94,7 @@ export class TelemetryClient { if (WORK_APPS.includes(this._id)) { const workActionId = AllsparkReduxStore.select(WorkSelectors.getActionId); if (workActionId) { - fullParams = {...fullParams, workActionId}; + fullParams.workActionId = workActionId; } }
fix: assign workactionid rather than redeclare object DWORK-7538
fix: assign workactionid rather than redeclare object DWORK-7538
922e4e9bcb0af88bb5cc36c3e097a0b52d5174f5
--- package.json @@ -39,6 +39,9 @@ "increment:buildNumber": "react-native-version -b", "postinstall": "sh ./scripts/stubFirestore.sh" }, + "resolutions": { + "@react-native-community/datetimepicker": "3.0.9" + }, "dependencies": { "@react-native-community/art": "^1.2.0", "@react-native-community/async-storage": "^1.11.0", @@ -63,7 +66,7 @@ "@redux-saga/testing-utils": "^1.1.3", "@sharcoux/slider": "^5.2.1", "@terrylinla/react-native-sketch-canvas": "^0.8.0", - "@walmart/ItemInfo": "0.1.137", + "@walmart/ItemInfo": "0.1.138", "@walmart/allspark-health-survey-mini-app": "0.0.38", "@walmart/allspark-home-mini-app": "0.4.0", "@walmart/allspark-me-mini-app": "0.1.0",
138 iteminfo
138 iteminfo
6b3cd985400e7e3d154a88cb27b5062704f5b487
--- packages/allspark-foundation-hub/__tests__/SiteHub/SiteHubDashboard.test.tsx @@ -10,7 +10,6 @@ import { onboardingFlowEnabled, } from '../../src/SupplyChain/Redux/selectors'; import { mockGetSupplyChainTeamsByStoreQueryResponse } from '../../src/SupplyChain/Modals'; -import { useNavigation } from '@react-navigation/native'; import * as OnboardingContext from '../../src/SupplyChain/Screens/OnboardingScreen/OnboardingContext'; import { useGetSupplyChainTeamsPreferenceQuery } from '../../src/SupplyChain/Hooks/useGetSupplyChainTeamPreference'; import { useGetSupplyChainAllTeamsBySite } from '../../src/SupplyChain/Hooks/useGetSupplyChainTeamsByStore'; @@ -21,7 +20,10 @@ jest.mock('@walmart/allspark-foundation/Translation', () => ({ jest.mock('@react-navigation/native', () => ({ ...jest.requireActual('@react-navigation/native'), - useNavigation: jest.fn(), + useNavigation: jest.fn(() => ({ + setOptions: jest.fn(), + setParams: jest.fn(), + })), useFocusEffect: jest.fn(), useRoute: jest.fn(), })); @@ -70,9 +72,7 @@ jest.mock('../../src/Container/Redux', () => ({ }, })); - describe('SiteHubDashboard', () => { - beforeEach(() => { useAllsparkTranslation.mockReturnValue({ t: jest.fn((key) => key) }); jest.clearAllMocks(); @@ -99,10 +99,6 @@ describe('SiteHubDashboard', () => { showOnboarding: true, })); - (useNavigation as jest.Mock).mockReturnValue({ - setOptions: jest.fn(), - }); - const { toJSON, root } = render( <SiteHubDashboard name='Test Container' @@ -134,7 +130,7 @@ describe('SiteHubDashboard', () => { loading: true, }); (useGetSupplyChainTeamsPreferenceQuery as jest.Mock).mockReturnValueOnce({ - shiftPreferenceData: [], + shiftPreferenceData: ['A1', 'A2', 'A3', 'B1', 'B2', 'B3'], teamPreferenceData: [], loading: true, }); --- packages/allspark-foundation-hub/__tests__/SiteHub/__snapshots__/SiteHubDashboard.test.tsx.snap @@ -1,6 +1,200 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`SiteHubDashboard Test 1: renders SiteHubDashboard Component woth passed in widgets 1`] = `null`; +exports[`SiteHubDashboard Test 1: renders SiteHubDashboard Component woth passed in widgets 1`] = ` +[ + <View + style={ + { + "backgroundColor": "#0071dc", + "minHeight": 70, + "paddingBottom": 20, + } + } + > + <View + style={ + { + "justifyContent": "center", + "margin": 20, + } + } + > + <Body + UNSAFE_style={ + { + "fontSize": 24, + } + } + color="white" + size="large" + weight="700" + > + dashboard.header.mainTitle + </Body> + <Body + color="white" + size="medium" + > + dashboard.header.mainSubtitle + </Body> + </View> + <View + style={ + { + "backgroundColor": "#0071dc", + } + } + > + <View + accessibilityState={ + { + "busy": undefined, + "checked": undefined, + "disabled": undefined, + "expanded": undefined, + "selected": undefined, + } + } + accessibilityValue={ + { + "max": undefined, + "min": undefined, + "now": undefined, + "text": undefined, + } + } + accessible={true} + collapsable={false} + focusable={true} + onClick={[Function]} + onResponderGrant={[Function]} + onResponderMove={[Function]} + onResponderRelease={[Function]} + onResponderTerminate={[Function]} + onResponderTerminationRequest={[Function]} + onStartShouldSetResponder={[Function]} + style={ + { + "alignItems": "center", + "alignSelf": "center", + "backgroundColor": "#004f9a", + "borderRadius": 100, + "display": "flex", + "flexDirection": "row", + "gap": 8, + "opacity": 1, + "paddingLeft": 8, + "paddingRight": 16, + "paddingVertical": 8, + "width": "95%", + } + } + testID="team-shift-switcher" + > + <Image + placeholder="KdM7in%J~q=pn#M{~VNIxU" + source={ + { + "uri": "https://i5-me.walmartimages.com/images/teams/my-teams-mgr-exp-1edac1ba4a.png", + } + } + style={ + { + "alignSelf": "flex-start", + "borderRadius": 40, + "height": 36, + "padding": 10, + "width": 36, + } + } + testID="team-switcher-image" + /> + <View + style={ + { + "display": "flex", + "flexDirection": "column", + } + } + > + <Body + accessibilityLabel="teamShiftSwitcher.viewingDataFor Total site" + color="white" + onLayout={[Function]} + size="small" + testID="team-and-shift-text" + weight="700" + > + Total site | + </Body> + </View> + <Image + accessibilityLabel="teamShiftSwitcher.viewDifferentTeam" + accessibilityRole="button" + source={ + { + "testUri": "../../@walmart/gtp-shared-icons/assets/images/icons/ChevronDown-24.png", + } + } + style={ + [ + { + "height": 24, + "tintColor": "white", + "width": 24, + }, + { + "marginLeft": "auto", + }, + ] + } + testID="ChevronDownIcon" + /> + </View> + </View> + </View>, + <RCTScrollView + contentContainerStyle={ + { + "paddingBottom": 0, + } + } + onScroll={[Function]} + refreshControl={ + <RefreshControlMock + colors={ + [ + "transparent", + ] + } + onRefresh={[Function]} + refreshing={false} + style={ + { + "backgroundColor": "transparent", + } + } + /> + } + scrollEventThrottle={16} + showsVerticalScrollIndicator={false} + stickyHeaderIndices={ + [ + 1, + ] + } + style={ + { + "paddingHorizontal": 0, + } + } + testID="SiteHubDashboard.View" + > + <RCTRefreshControl /> + <View /> + </RCTScrollView>, +] +`; exports[`SiteHubDashboard Test 2: renders TeamOnboardingScreen if showOnboarding is true 1`] = ` [ --- packages/allspark-foundation-hub/src/SupplyChain/Hub/SiteHubDashboard.tsx @@ -305,7 +305,7 @@ export const SiteHubDashboard = ({ ['B2']: 5, ['B3']: 6, }; - return selectedShift.map((shift: string) => ({ + return selectedShift?.map((shift: string) => ({ shiftId: mapShift[shift], shiftName: shift, }));
feat(ui): fixed broken tests
feat(ui): fixed broken tests
b4a14f2212c1b29d17f45ec6ac4c50d9352b37c4
--- packages/allspark-cli/package.json @@ -23,15 +23,15 @@ "url": "https://gecgithub01.walmart.com/allspark/allspark.git" }, "scripts": { - "clean": "rm -rf dist *.tsbuildinfo || true", - "build": "rm -rf dist && tsc --project tsconfig.json && npm run copy-deps-map && npm run copy-lint-rules", + "clean": "rm -rf dist *.tsbuildinfo tsconfig.tsbuildinfo || true", + "build": "rm -rf dist && rm -f tsconfig.tsbuildinfo && tsc --project tsconfig.json && npm run copy-deps-map && npm run copy-lint-rules", "build:watch": "rm -rf dist && tsc --project tsconfig.json --watch", "cli:dev": "ts-node src/cli-tool/index.ts", "link:cli": "npm run build && chmod +x dist/cli-tool/index.js && npm link", "prepublishOnly": "npm run build && chmod +x dist/cli-tool/index.js", - "prepare": "npm run build && chmod +x dist/cli-tool/index.js", - "copy-deps-map": "mkdir -p $(pwd)/dist/cli-tool/scripts && cp -R $(pwd)/src/cli-tool/scripts/dependencies-map $(pwd)/dist/cli-tool/scripts/dependencies-map", - "copy-lint-rules": "mkdir -p $(pwd)/dist/cli-tool/scripts/lint-check && cp -R $(pwd)/src/cli-tool/scripts/lint-check/eslint-rules $(pwd)/dist/cli-tool/scripts/lint-check/eslint-rules && cp $(pwd)/src/cli-tool/scripts/lint-check/.eslintrc-mini-app.json $(pwd)/dist/cli-tool/scripts/lint-check/.eslintrc-mini-app.json" + "prepare": "npm run build && [ -f $(pwd)/dist/cli-tool/index.js ] && chmod +x $(pwd)/dist/cli-tool/index.js || echo 'Warning: CLI entry point not found, skipping chmod'", + "copy-deps-map": "mkdir -p $(pwd)/dist/cli-tool/scripts && cp -R $(pwd)/src/cli-tool/scripts/dependencies-map $(pwd)/dist/cli-tool/scripts/dependencies-map 2>/dev/null || echo 'Warning: dependencies-map not found'", + "copy-lint-rules": "mkdir -p $(pwd)/dist/cli-tool/scripts/lint-check && cp -R $(pwd)/src/cli-tool/scripts/lint-check/eslint-rules $(pwd)/dist/cli-tool/scripts/lint-check/eslint-rules 2>/dev/null || echo 'Warning: eslint-rules not found' && cp $(pwd)/src/cli-tool/scripts/lint-check/.eslintrc-mini-app.json $(pwd)/dist/cli-tool/scripts/lint-check/.eslintrc-mini-app.json 2>/dev/null || echo 'Warning: .eslintrc-mini-app.json not found'" }, "dependencies": { "@clack/prompts": "^0.7.0",
Feature/fix cli publish package (#409)
Feature/fix cli publish package (#409) * fix(cli): package publish issue * fix(cli): fix publish package * fix(cli): publish package * fix(cli): publish package * fix(cli): publish package * fix(cli): build publish issue * fix(cli): build publish issue
74a2fb4ce738cde7b0f4e00d691298d1519a29c9
--- src/navigation/WelcomeMe.tsx @@ -0,0 +1,20 @@ +import {AllsparkTranslationClient} from '@walmart/allspark-foundation/Translation'; +import React, {Suspense, lazy} from 'react'; +import {FallbackScreen} from './FallbackScreen'; + +/** + * Delayed import of the WelcomeMe mini app. + * Must emit 'initialized' event for translations + * since loading delay causes mini app to miss the event. + */ +const LazyWelcomeMe = lazy(async () => { + const app = require('@walmart/welcomeme-mini-app'); + AllsparkTranslationClient.emit('initialized'); + return app; +}); + +export const WelcomeMe = () => ( + <Suspense fallback={FallbackScreen}> + <LazyWelcomeMe /> + </Suspense> +); --- src/navigation/index.tsx @@ -1,4 +1,5 @@ import React, {useEffect} from 'react'; +import {StyleSheet} from 'react-native'; import {useSelector} from 'react-redux'; import SplashScreen from 'react-native-splash-screen'; import {createStackNavigator, TransitionPresets} from '@react-navigation/stack'; @@ -48,7 +49,7 @@ import { import {ToastModal} from './ToastModal'; import {UserRootNav} from './UserRootNav'; import {RootStackMap} from './types'; -import {StyleSheet} from 'react-native'; +import {WelcomeMe} from './WelcomeMe'; const RootStack = createStackNavigator<RootStackMap>(); @@ -110,9 +111,11 @@ export const RootStackNavigation = () => { <RootStack.Screen name='WelcomeMeMiniApp' // Dynamic require of welcome me mini app to avoid loading until - getComponent={() => - require('@walmart/welcomeme-mini-app').default - } + component={WelcomeMe} + listeners={{ + focus: lightenStatusBar, + beforeRemove: darkenStatusBar, + }} options={{headerShown: false}} /> </RootStack.Group> --- src/navigation/types.ts @@ -34,6 +34,8 @@ export type RootStackMap = { 'Core.BiometricModal': undefined; 'Core.LanguageModal': undefined; 'Core.appBlock': undefined; + 'Core.SideButtonStartup': undefined; + 'Core.SideButtonStartupSettings': undefined; }; export type RootStackScreenProps<K extends keyof RootStackMap> =
fix: move welcome me to lazy component. reinit translations for missed event
fix: move welcome me to lazy component. reinit translations for missed event
25d88cc4ac35f48802eb47c5b4b8f708291a6e70
--- android/app/build.gradle @@ -328,8 +328,8 @@ dependencies { implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" // implementation 'com.google.firebase:firebase-messaging:21.0.1' - // implementation "com.google.dagger:hilt-android:2.34.1-beta" - // kapt "com.google.dagger:hilt-compiler:2.34.1-beta" + implementation "com.google.dagger:hilt-android:2.38.1" + kapt "com.google.dagger:hilt-compiler:2.38.1" debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { exclude group:'com.facebook.fbjni' --- android/app/src/main/AndroidManifest.xml @@ -62,6 +62,25 @@ tools:overrideLibrary="com.walmart.stores.google.stt.GoogleSTTRecognitionService" /> + <!-- Attempting fix for runtime crash: Didn't find class "androidx.work.impl.WorkManagerInitializer --> + <!-- <provider + android:name="androidx.startup.InitializationProvider" + android:authorities="com.walmart.stores.allspark.beta.androidx-startup" + android:exported="false" + tools:node="merge"> + <meta-data + android:name="androidx.work.WorkManagerInitializer" + android:value="androidx.startup" + tools:node="remove" + /> + </provider> --> + + <provider + android:name="androidx.startup.InitializationProvider" + android:authorities="com.walmart.stores.allspark.beta.androidx-startup" + tools:node="remove"> + </provider> + <activity android:name="com.walmart.stores.allspark.beta.MainActivity" android:theme="@style/SplashTheme" --- android/app/src/main/java/com/walmart/stores/allspark/beta/MainApplication.java @@ -14,10 +14,10 @@ import java.lang.reflect.InvocationTargetException; import java.util.List; import com.walmart.stores.allspark.beta.BuildConfig; -// import dagger.hilt.android.HiltAndroidApp; +import dagger.hilt.android.HiltAndroidApp; // import com.reactnativecommunity.picker.RNCPickerPackage; -// @HiltAndroidApp +@HiltAndroidApp public class MainApplication extends Application implements ReactApplication { private final ReactNativeHost mReactNativeHost = --- android/build.gradle @@ -43,7 +43,7 @@ buildscript { classpath 'com.google.firebase:perf-plugin:1.4.1' classpath 'com.walmart.ssmp:android-signing:1.0.9' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - // classpath "com.google.dagger:hilt-android-gradle-plugin:2.34.1-beta" + classpath "com.google.dagger:hilt-android-gradle-plugin:2.38.1" // classpath "io.realm:realm-gradle-plugin:10.8.0" } }
adding hilt for android runtime crash fix
adding hilt for android runtime crash fix
465e22abc76f26de6176f6c911b7be0b24524cc6
--- packages/allspark-foundation-hub/src/Container/AllsparkHubContainer.tsx @@ -71,12 +71,12 @@ export const managerExperienceFeature = new AllsparkFeatureModule(FEATURE_ID, { 'managerExperience.supplyChain.updateModal': { modal: UpdateTeamsModal, backBehavior: undefined, - disableFlingGesture: true, + disableFlingGesture: false, containerStyle: { paddingTop: 48 }, }, 'managerExperience.supplyChain.editModal': { modal: EditSavedTeamsModal, - disableFlingGesture: true, + disableFlingGesture: false, containerStyle: { paddingTop: 50, width: '100%',
fix(ui): update manager experience modal for gesture enable
fix(ui): update manager experience modal for gesture enable
85d00b98b4907b8652f2dceb818941bbcf668a57
--- 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.33.0", - "@walmart/react-native-scanner-3.0": "0.1.32-rc.1", + "@walmart/react-native-scanner-3.0": "0.1.32", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.5.1", @@ -5197,7 +5197,6 @@ } }, "node_modules/@walmart/financial-wellbeing-feature-app": { - "version": "1.4.2", "resolved": "https://npme.walmart.com/@walmart/financial-wellbeing-feature-app/-/financial-wellbeing-feature-app-1.4.2.tgz", "integrity": "sha512-IOcFYCG2y/+pwMctJECL/Rpi+Kzkfn+6OtETp+XtNiFHQ8m81C3qannJYZQPQdJB3htpJfTPgKpcsjqyuRQvgA==", @@ -5791,9 +5790,9 @@ } }, "node_modules/@walmart/react-native-scanner-3.0": { - "version": "0.1.32-rc.1", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32-rc.1.tgz", - "integrity": "sha512-S8ZwGCfCjKrEofidSyOpUrQfMg4bNQMlZD7nvT5Kd7hbuoerMxmndgtVTuwcM42sy8PmLSlamBl8PbpJdo3GNQ==", + "version": "0.1.32", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32.tgz", + "integrity": "sha512-eTnQ4DX9rb8YNbj7tfn4iqRuiQotY3YNEJXDOm17/F4IbQ3/raWQgRArVvFAXswMz/pnSfIN7cqJEgUKlYX66Q==", "license": "ISC", "peerDependencies": { "react-native": ">=0.47.1" @@ -25246,9 +25245,9 @@ "integrity": "sha512-UKaoK+rj4O2p8/EmywR+tRDmn/r9UGPYAfkdAlbQs+DcleZVH7zf0AeMChVRc+aj5iFprbzVMWkYU9a43EHUDg==" }, "@walmart/react-native-scanner-3.0": { - "version": "0.1.32-rc.1", - "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32-rc.1.tgz", - "integrity": "sha512-S8ZwGCfCjKrEofidSyOpUrQfMg4bNQMlZD7nvT5Kd7hbuoerMxmndgtVTuwcM42sy8PmLSlamBl8PbpJdo3GNQ==" + "version": "0.1.32", + "resolved": "https://npme.walmart.com/@walmart/react-native-scanner-3.0/-/react-native-scanner-3.0-0.1.32.tgz", + "integrity": "sha512-eTnQ4DX9rb8YNbj7tfn4iqRuiQotY3YNEJXDOm17/F4IbQ3/raWQgRArVvFAXswMz/pnSfIN7cqJEgUKlYX66Q==" }, "@walmart/react-native-shared-navigation": { "version": "1.0.2", --- package.json @@ -111,7 +111,7 @@ "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-env": "0.2.0", "@walmart/react-native-logger": "1.33.0", - "@walmart/react-native-scanner-3.0": "0.1.32-rc.1", + "@walmart/react-native-scanner-3.0": "0.1.32", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.5.1",
upgrade scanner version to latest release 0.1.32
upgrade scanner version to latest release 0.1.32
a99e85629c66f9485f7530303e58ef8f4bf89545
--- packages/me-at-walmart-container/src/http/constants.ts @@ -4,3 +4,4 @@ export const HTTP_HEADER_SIZE_LIMIT_KEY = 'httpHeaderSizeLimit'; export const DEFAULT_HTTP_HEADER_SIZE_LIMIT = 8000; // in Bytes, 8kb export const ALLOWED_HTTP_401_ERROR_KEY = 'allowedHttp401Limit'; export const DEFAULT_ALLOWED_HTTP_401_LIMIT = 3; // 4th one will result in signout +export const WORK_APPS = ['topstock', 'backroom', 'pinpoint']; --- packages/me-at-walmart-container/src/http/index.ts @@ -8,6 +8,7 @@ import {PerformanceInterceptor} from './interceptors/performance'; import {SuccessLoggerInterceptor} from './interceptors/successLogger'; import {UnauthorizedInterceptor} from './interceptors/unauthorized'; import {IMeAtWalmartEnvironment} from '@walmart/me-at-walmart-common'; +import { WorkInterceptor } from './interceptors/workInterceptor'; export const MeAtWalmartHttpInterceptors: Interceptor[] = [ AddCorrelationInterceptor, @@ -18,6 +19,7 @@ export const MeAtWalmartHttpInterceptors: Interceptor[] = [ PerformanceInterceptor, SuccessLoggerInterceptor, UnauthorizedInterceptor, + WorkInterceptor, ]; export const MeAtWalmartHttpConfig = (env: IMeAtWalmartEnvironment) => ({ --- packages/me-at-walmart-container/src/http/interceptors/workInterceptor.ts @@ -0,0 +1,19 @@ +import { AllsparkReduxStore, InternalHttpClientRequestConfig } from '@walmart/allspark-foundation'; +import { Interceptor } from '@walmart/allspark-foundation'; +import { WorkSelectors } from '@walmart/allspark-foundation/Work'; +import { WORK_APPS } from '../constants'; + +export const WorkInterceptor: {options: {[key: string]: any }} & Interceptor = { + request: { + fulfilled: (request) => { + const actionId = AllsparkReduxStore.select(WorkSelectors.getActionId); + if (actionId) { + request.headers.set('work-action-id', actionId); + } + return request; + }, + }, + options: { + runWhen: (config: InternalHttpClientRequestConfig) => WORK_APPS.includes(config.headers['x-http-client-feature-key']) + } +} \ No newline at end of file --- packages/me-at-walmart-container/src/services/telemetry.ts @@ -9,6 +9,7 @@ import { } from '@walmart/allspark-foundation/Telemetry'; import {WorkSelectors} from '@walmart/allspark-foundation/Work'; import {AllsparkReduxStore} from '@walmart/allspark-foundation'; +import {WORK_APPS} from '../http/constants'; const ANALYTICS = analytics(); const CRASHLYTICS = crashlytics(); const PERFORMANCE = performance(); @@ -90,8 +91,7 @@ export class TelemetryClient { ...featureParams, feature_id: this._id, }; - const workApps = ['topstock', 'backroom', 'pinpoint']; // TO-DO temporary array, use isWorkApp from foundation - if (workApps.includes(this._id)) { + if (WORK_APPS.includes(this._id)) { const workActionId = AllsparkReduxStore.select(WorkSelectors.getActionId); if (workActionId) { fullParams = {...fullParams, workActionId};
fix: add work interceptor DWORK-7538
fix: add work interceptor DWORK-7538
3450771e09a856734a72f3a0a36a1d899ab87d11
--- src/notification.ts @@ -5,6 +5,7 @@ import WmNotification, { import {createChannelPath} from './channels'; import {fetchResource} from './services/blob'; import {Audio} from 'expo-av'; +import {navigate, getCurrentRouteName} from "@walmart/react-native-shared-navigation"; async function playSound(filePath: string) { console.log('Loading Sound'); @@ -23,15 +24,15 @@ export const onTextMessageNotification = (event?: SumoPushEvent) => { const appContainerRootScreen = 'texting.root'; const messagesScreen = 'texting.messages'; const mockRemoteURL = - '/directedvoice/ptt/v1/azure/us-100/recording-b1ecfc63-92eb-47d8-8e6c-39d0591c465a.m4a'; + '/directedvoice/ptt/v1/azure/us-100/recording-dbdc6908-9af0-453c-b8ac-1309f7e1a314.m4a'; //TODO: Replace with audio uri from custom data response if (mockRemoteURL) { //TODO: May need to set app to foreground first before playing the sound - console.log('fetching resource in order to play sound...'); fetchResource(mockRemoteURL) .then((audioFileURI) => { + navigate(getCurrentRouteName() || rootContainerScreen); playSound(audioFileURI); }) .catch((e) => { @@ -64,13 +65,10 @@ export const initNotificationListeners = async () => { onTextMessageNotification, ); - WmNotification.addListener( - SumoPushEventTypes.ON_FOREGROUND_NOTIFICATION, - onTextMessageNotification, - ); - WmNotification.addListener( - SumoPushEventTypes.ON_TAPPED_NOTIFICATION_ACTION, - onTextMessageNotification, - ); + //TODO: Trigger notification while in foreground? Will interrupt current app activity. + // WmNotification.addListener( + // SumoPushEventTypes.ON_FOREGROUND_NOTIFICATION, + // onTextMessageNotification, + // ); }; --- src/services/blob.ts @@ -94,6 +94,8 @@ export const downloadBlobWithRetry = async ( * @returns localURI pointing to local file in file system */ export const fetchResource = async (remoteURI: string): Promise<string> => { + console.log('fetchResource remoteURI'); + console.log(remoteURI); // if (Platform.OS === 'android') { // await PermissionsAndroid.request( // PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE, --- src/notification.ts @@ -5,6 +5,7 @@ import WmNotification, { import {createChannelPath} from './channels'; import {fetchResource} from './services/blob'; import {Audio} from 'expo-av'; +import {navigate, getCurrentRouteName} from "@walmart/react-native-shared-navigation"; async function playSound(filePath: string) { console.log('Loading Sound'); @@ -23,15 +24,15 @@ export const onTextMessageNotification = (event?: SumoPushEvent) => { const appContainerRootScreen = 'texting.root'; const messagesScreen = 'texting.messages'; const mockRemoteURL = - '/directedvoice/ptt/v1/azure/us-100/recording-b1ecfc63-92eb-47d8-8e6c-39d0591c465a.m4a'; + '/directedvoice/ptt/v1/azure/us-100/recording-dbdc6908-9af0-453c-b8ac-1309f7e1a314.m4a'; //TODO: Replace with audio uri from custom data response if (mockRemoteURL) { //TODO: May need to set app to foreground first before playing the sound - console.log('fetching resource in order to play sound...'); fetchResource(mockRemoteURL) .then((audioFileURI) => { + navigate(getCurrentRouteName() || rootContainerScreen); playSound(audioFileURI); }) .catch((e) => { @@ -64,13 +65,10 @@ export const initNotificationListeners = async () => { onTextMessageNotification, ); - WmNotification.addListener( - SumoPushEventTypes.ON_FOREGROUND_NOTIFICATION, - onTextMessageNotification, - ); - WmNotification.addListener( - SumoPushEventTypes.ON_TAPPED_NOTIFICATION_ACTION, - onTextMessageNotification, - ); + //TODO: Trigger notification while in foreground? Will interrupt current app activity. + // WmNotification.addListener( + // SumoPushEventTypes.ON_FOREGROUND_NOTIFICATION, + // onTextMessageNotification, + // ); }; --- src/services/blob.ts @@ -94,6 +94,8 @@ export const downloadBlobWithRetry = async ( * @returns localURI pointing to local file in file system */ export const fetchResource = async (remoteURI: string): Promise<string> => { + console.log('fetchResource remoteURI'); + console.log(remoteURI); // if (Platform.OS === 'android') { // await PermissionsAndroid.request( // PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
working playback
working playback
0a208a43ae3b92b1c034a24a3227bdd029c18e44
--- patches/@walmart+exception-mini-app+1.0.3.patch @@ -1,12 +0,0 @@ -diff --git a/node_modules/@walmart/exception-mini-app/src/components/Spinner/Spinner.tsx b/node_modules/@walmart/exception-mini-app/src/components/Spinner/Spinner.tsx -index 01708db..91609db 100644 ---- a/node_modules/@walmart/exception-mini-app/src/components/Spinner/Spinner.tsx -+++ b/node_modules/@walmart/exception-mini-app/src/components/Spinner/Spinner.tsx -@@ -1,6 +1,6 @@ - import React, {FC} from 'react'; - import {StyleSheet, View} from 'react-native'; --import SpinnerComponent from '@walmart/gtp-shared-components/dist/indicators/spinner'; -+import {Spinner as SpinnerComponent} from '@walmart/gtp-shared-components'; - import {testID} from '../../utils/testId'; - - interface Props {
remove exception-mini-app patch
remove exception-mini-app patch
31dc3fcddbf4040f4ce1f884b82e32003a5be578
--- package.json @@ -87,7 +87,7 @@ "@walmart/allspark-utils": "6.9.0", "@walmart/amp-mini-app": "1.2.10", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.34.21", + "@walmart/ask-sam-mini-app": "1.33.101", "@walmart/associate-listening-mini-app": "1.2.39", "@walmart/attendance-mini-app": "3.174.5", "@walmart/avp-feature-app": "0.26.15", --- yarn.lock @@ -7290,9 +7290,9 @@ __metadata: languageName: node linkType: hard -"@walmart/ask-sam-mini-app@npm:1.34.21": - version: 1.34.21 - resolution: "@walmart/ask-sam-mini-app@npm:1.34.21::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.34.21.tgz" +"@walmart/ask-sam-mini-app@npm:1.33.101": + version: 1.33.101 + resolution: "@walmart/ask-sam-mini-app@npm:1.33.101::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fask-sam-mini-app%2F-%2F%40walmart%2Fask-sam-mini-app-1.33.101.tgz" dependencies: apisauce: "npm:^1.1.2" numeral: "npm:^2.0.6" @@ -7335,7 +7335,7 @@ __metadata: react-native-wm-voice-text: ">=0.3" reselect: ">=4" victory-native: ">=36.5" - checksum: 10c0/68eb501b322a6d211ffbe7fd49179337e6d7c502b8ec1e9289956d21e1b5ce5f40e76fc323b36c28ddfb35c15c089e3ed62d68df388c67f70a46be0beec8ae22 + checksum: 10c0/26f0cc083aca70b41bf50b4dcb2711c817d232701faa9f6e6cc1e406ac0163a430a7f5dfa386f517c96b88924d29307b94f41969a2f5bbba74496fd7a5e82bff languageName: node linkType: hard @@ -8328,7 +8328,7 @@ __metadata: "@walmart/allspark-utils": "npm:6.9.0" "@walmart/amp-mini-app": "npm:1.2.10" "@walmart/ask-sam-chat-components": "npm:^0.2.7" - "@walmart/ask-sam-mini-app": "npm:1.34.21" + "@walmart/ask-sam-mini-app": "npm:1.33.101" "@walmart/associate-listening-mini-app": "npm:1.2.39" "@walmart/attendance-mini-app": "npm:3.174.5" "@walmart/avp-feature-app": "npm:0.26.15"
fix: SMBLV-9287 hotfix black screenissue (#4922)
fix: SMBLV-9287 hotfix black screenissue (#4922) Co-authored-by: Sowmya Munaganuri <Sowmya.Munaganuri+walmart@walmart.com> Co-authored-by: Savan Akbari <Savankumar.akbari@walmart.com>
3c3e72317e0f6032fc9be8ac813eeaa792a3a0c2
--- package-lock.json @@ -60,7 +60,7 @@ "@walmart/core-utils": "~2.0.5", "@walmart/functional-components": "~4.0.3", "@walmart/gtp-shared-components": "2.1.3", - "@walmart/impersonation-mini-app": "1.20.6", + "@walmart/impersonation-mini-app": "1.20.7", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-logger": "1.34.8", "@walmart/react-native-scanner-3.0": "0.4.2", @@ -11718,9 +11718,9 @@ } }, "node_modules/@walmart/impersonation-mini-app": { - "version": "1.20.6", - "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.6.tgz", - "integrity": "sha512-5qaxHHlwLNsI2QOghCAlp1FS3sE0bdJ9DOswgEClQgRdZwFTZTY1F1qWkLmWVdnZm3/k7BTE3RT/Ltfy0rbfxg==", + "version": "1.20.7", + "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.7.tgz", + "integrity": "sha512-nQdm2UHmllwsY5jYGxdebgT2oXBvrhIVWutDvz1xtYHcD1ZkcSZpa8CQpnltTdeSRy0bJ8K8hfqtPSGTybum5g==", "dev": true, "peerDependencies": { "@react-native-community/masked-view": ">=0.1.10", @@ -40994,9 +40994,9 @@ } }, "@walmart/impersonation-mini-app": { - "version": "1.20.6", - "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.6.tgz", - "integrity": "sha512-5qaxHHlwLNsI2QOghCAlp1FS3sE0bdJ9DOswgEClQgRdZwFTZTY1F1qWkLmWVdnZm3/k7BTE3RT/Ltfy0rbfxg==", + "version": "1.20.7", + "resolved": "https://npme.walmart.com/@walmart/impersonation-mini-app/-/impersonation-mini-app-1.20.7.tgz", + "integrity": "sha512-nQdm2UHmllwsY5jYGxdebgT2oXBvrhIVWutDvz1xtYHcD1ZkcSZpa8CQpnltTdeSRy0bJ8K8hfqtPSGTybum5g==", "dev": true }, "@walmart/me-at-walmart-athena-queries": { --- package.json @@ -83,7 +83,7 @@ "@walmart/core-utils": "~2.0.5", "@walmart/functional-components": "~4.0.3", "@walmart/gtp-shared-components": "2.1.3", - "@walmart/impersonation-mini-app": "1.20.6", + "@walmart/impersonation-mini-app": "1.20.7", "@walmart/react-native-encrypted-storage": "1.1.3", "@walmart/react-native-logger": "1.34.8", "@walmart/react-native-scanner-3.0": "0.4.2",
Update version
Update version
bb8ed56c414632e1214d015a3873f629e006c5b5
--- __tests__/harness/firestore/mockDatabase.ts @@ -1,26 +1,26 @@ import {mockReactNativeFirestore} from 'firestore-jest-mock'; mockReactNativeFirestore({ - database: { - users: [ - {id: 'abc123', name: 'Homer Simpson'}, - {id: 'abc456', name: 'Lisa Simpson'}, - ], - posts: [{id: '123abc', title: 'Really cool title'}], - }, + database: { + users: [ + {id: 'abc123', name: 'Homer Simpson'}, + {id: 'abc456', name: 'Lisa Simpson'}, + ], + posts: [{id: '123abc', title: 'Really cool title'}], + }, }); const {mockCollection} = require('firestore-jest-mock/mocks/firestore'); test('testing stuff', () => { - const {Firestore} = require('@react-native-firebase/firestore'); - const firestore = new Firestore(); + const {Firestore} = require('@react-native-firebase/firestore'); + const firestore = new Firestore(); - return firestore - .collection('users') - .get() - .then((userDocs: any) => { - expect(mockCollection).toHaveBeenCalledWith('users'); - expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons'); - }); + return firestore + .collection('users') + .get() + .then((userDocs: any) => { + expect(mockCollection).toHaveBeenCalledWith('users'); + expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons'); + }); }); --- __tests__/harness/firestore/mockDatabase.ts @@ -1,26 +1,26 @@ import {mockReactNativeFirestore} from 'firestore-jest-mock'; mockReactNativeFirestore({ - database: { - users: [ - {id: 'abc123', name: 'Homer Simpson'}, - {id: 'abc456', name: 'Lisa Simpson'}, - ], - posts: [{id: '123abc', title: 'Really cool title'}], - }, + database: { + users: [ + {id: 'abc123', name: 'Homer Simpson'}, + {id: 'abc456', name: 'Lisa Simpson'}, + ], + posts: [{id: '123abc', title: 'Really cool title'}], + }, }); const {mockCollection} = require('firestore-jest-mock/mocks/firestore'); test('testing stuff', () => { - const {Firestore} = require('@react-native-firebase/firestore'); - const firestore = new Firestore(); + const {Firestore} = require('@react-native-firebase/firestore'); + const firestore = new Firestore(); - return firestore - .collection('users') - .get() - .then((userDocs: any) => { - expect(mockCollection).toHaveBeenCalledWith('users'); - expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons'); - }); + return firestore + .collection('users') + .get() + .then((userDocs: any) => { + expect(mockCollection).toHaveBeenCalledWith('users'); + expect(userDocs.docs[0].data().name).toEqual('Homer Simpsons'); + }); });
adding mock db file
adding mock db file
12d434498bcad42fa0c6e9212409d8726778f39e
--- android/app/build.gradle @@ -278,11 +278,3 @@ android { } } } - -// android { -// applicationVariants.all { variant -> -// variant.getCompileConfiguration().resolutionStrategy { resolutionStrategy -> -// resolutionStrategy -// } -// } -// } \ No newline at end of file
updates from self-review
updates from self-review
abbb7ed3ed550bacca14fbc7e4aad6a34873837e
--- src/containers/Message/Bubble.tsx @@ -20,6 +20,15 @@ const styles = StyleSheet.create({ backgroundColor: colors.white, borderTopLeftRadius: 0, }, + deletedMessageStyle: { + color: '#74767C', + textAlign: 'right', + fontFamily: 'Bogle', + fontSize: 12, + fontStyle: 'normal', + fontWeight: '400', + lineHeight: 16, + }, longPressedBubble: { borderWidth: 2, borderColor: colors.blue[130], @@ -38,8 +47,9 @@ export const Bubble = (props: { message: string | ReactNode; style?: StyleProp<ViewStyle>; isLongPressed?: boolean; + isDeleted?: boolean; }) => { - const {outgoing, message, style, isLongPressed} = props; + const {outgoing, message, style, isLongPressed, isDeleted} = props; return ( <View @@ -54,6 +64,7 @@ export const Bubble = (props: { UNSAFE_style={[ styles.message, isLongPressed ? styles.longPressedText : {}, + isDeleted ? styles.deletedMessageStyle : {}, ]}> {message} </Body> --- src/containers/Message/index.tsx @@ -23,13 +23,6 @@ const styles = StyleSheet.create({ message: { maxWidth: MESSAGE_WIDTH, }, - // TODO - Need to add style for deleted message bubble - // deletedMessageStyles: { - // color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library - // color: 'red', - // fontSize: 12, - // lineHeight: 16, - // }, alignStart: { alignItems: 'flex-start', alignSelf: 'flex-start', @@ -133,10 +126,15 @@ export const Message = ({ message={deleted ? deletedMessage : message} style={[isMyMessage ? styles.alignEnd : styles.alignStart]} isLongPressed={isLongPressed} + isDeleted={deleted} /> )} {(image && deleted) || (audio && deleted) ? ( - <Bubble outgoing={isMyMessage} message={deletedMessage} /> + <Bubble + outgoing={isMyMessage} + message={deletedMessage} + isDeleted={deleted} + /> ) : ( <> {!!image && ( --- src/containers/Message/Bubble.tsx @@ -20,6 +20,15 @@ const styles = StyleSheet.create({ backgroundColor: colors.white, borderTopLeftRadius: 0, }, + deletedMessageStyle: { + color: '#74767C', + textAlign: 'right', + fontFamily: 'Bogle', + fontSize: 12, + fontStyle: 'normal', + fontWeight: '400', + lineHeight: 16, + }, longPressedBubble: { borderWidth: 2, borderColor: colors.blue[130], @@ -38,8 +47,9 @@ export const Bubble = (props: { message: string | ReactNode; style?: StyleProp<ViewStyle>; isLongPressed?: boolean; + isDeleted?: boolean; }) => { - const {outgoing, message, style, isLongPressed} = props; + const {outgoing, message, style, isLongPressed, isDeleted} = props; return ( <View @@ -54,6 +64,7 @@ export const Bubble = (props: { UNSAFE_style={[ styles.message, isLongPressed ? styles.longPressedText : {}, + isDeleted ? styles.deletedMessageStyle : {}, ]}> {message} </Body> --- src/containers/Message/index.tsx @@ -23,13 +23,6 @@ const styles = StyleSheet.create({ message: { maxWidth: MESSAGE_WIDTH, }, - // TODO - Need to add style for deleted message bubble - // deletedMessageStyles: { - // color: '#74767C', // TODO - we have to use colors from the gtp-shared-components library - // color: 'red', - // fontSize: 12, - // lineHeight: 16, - // }, alignStart: { alignItems: 'flex-start', alignSelf: 'flex-start', @@ -133,10 +126,15 @@ export const Message = ({ message={deleted ? deletedMessage : message} style={[isMyMessage ? styles.alignEnd : styles.alignStart]} isLongPressed={isLongPressed} + isDeleted={deleted} /> )} {(image && deleted) || (audio && deleted) ? ( - <Bubble outgoing={isMyMessage} message={deletedMessage} /> + <Bubble + outgoing={isMyMessage} + message={deletedMessage} + isDeleted={deleted} + /> ) : ( <> {!!image && (
Added styles to deleted message by bubble
Added styles to deleted message by bubble
89880459ed125e72c149d64150370003886d46bf
--- package-lock.json @@ -4380,9 +4380,9 @@ "integrity": "sha512-rt56lVXxfj0DWIjqUqn3oXpAlbe7YrOi6/c5hcGByaFe/f42qmPsesxWK3xkKOMsJ7LUXZz50aCb1+lHlv2kog==" }, "@walmart/push-to-talk-mini-app": { - "version": "1.7.6", - "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.6.tgz", - "integrity": "sha512-U7nVey6hhFp8qCGBgD2wbIVo8wQAMCf3okcOBFxzzmWlZZiOG8EsRgkLEyTUzjmK3jcJYSCvFB9Xz6Xw6pX4Ag==" + "version": "1.7.7", + "resolved": "https://npme.walmart.com/@walmart/push-to-talk-mini-app/-/push-to-talk-mini-app-1.7.7.tgz", + "integrity": "sha512-DKZJ4/+nhIEuaCJXZPczi8xaoJ0x3m5IRGyQjHvl0qzQs/hvlKhqbsH/Ef1qJ7rygfCkUnPAQOef7LiKktVZLw==" }, "@walmart/react-native-collapsible": { "version": "1.5.3", --- package.json @@ -91,7 +91,7 @@ "@walmart/moment-walmart": "1.0.4", "@walmart/payrollsolution_miniapp": "0.121.0", "@walmart/price-changes-mini-app": "1.2.1", - "@walmart/push-to-talk-mini-app": "1.7.6", + "@walmart/push-to-talk-mini-app": "1.7.7", "@walmart/react-native-env": "^0.2.0", "@walmart/react-native-logger": "^1.28.0", "@walmart/react-native-shared-navigation": "^0.4.0",
ptt package version update
ptt package version update
1e40af6d6532ee95c3c088f38c7f8d3903dda806
--- packages/associate-exp-hub-hub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.18.3](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.18.2...@walmart/associate-exp-hub-hub@2.18.3) (2025-12-16) + +**Note:** Version bump only for package @walmart/associate-exp-hub-hub + ## [2.18.2](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-hub@2.18.1...@walmart/associate-exp-hub-hub@2.18.2) (2025-12-12) ### Bug Fixes --- packages/associate-exp-hub-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-hub", - "version": "2.18.2", + "version": "2.18.3", "description": "Hub Framework module for Associate Experience Hub - can be moved to @walmart/my-walmart-hub", "packageManager": "yarn@4.6.0", "engines": { --- packages/associate-exp-hub-mini-app/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.12.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.12.0...@walmart/associate-exp-hub-mini-app@1.12.1) (2025-12-16) + +**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app + # [1.12.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.11.1...@walmart/associate-exp-hub-mini-app@1.12.0) (2025-12-12) ### Features --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.12.0", + "version": "1.12.1", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18" --- packages/associate-exp-hub-team-switcher/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.21.1](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.21.0...@walmart/associate-exp-hub-team-switcher@2.21.1) (2025-12-16) + +**Note:** Version bump only for package @walmart/associate-exp-hub-team-switcher + # [2.21.0](https://gecgithub01.walmart.com/allspark/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-team-switcher@2.20.1...@walmart/associate-exp-hub-team-switcher@2.21.0) (2025-12-12) ### Bug Fixes --- packages/associate-exp-hub-team-switcher/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-team-switcher", - "version": "2.21.0", + "version": "2.21.1", "description": "Team Switcher module for Associate Experience Hub", "packageManager": "yarn@4.6.0", "engines": {
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-hub@2.18.3 - @walmart/associate-exp-hub-mini-app@1.12.1 - @walmart/associate-exp-hub-team-switcher@2.21.1
83c2ff1530976f42e587dc1c3b14f675750a9312
--- packages/associate-exp-hub-mini-app/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.4.0-alpha.15](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.14...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.15) (2025-08-30) + +**Note:** Version bump only for package @walmart/associate-exp-hub-mini-app + # [1.4.0-alpha.14](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.4.0-alpha.13...@walmart/associate-exp-hub-mini-app@1.4.0-alpha.14) (2025-08-29) **Note:** Version bump only for package @walmart/associate-exp-hub-mini-app --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.4.0-alpha.14", + "version": "1.4.0-alpha.15", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18"
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-mini-app@1.4.0-alpha.15
ce8ae8dde49f4e6513d4957dbe374a4f93880026
--- packages/allspark-authentication/src/Authentication.ts @@ -73,7 +73,6 @@ export class AllsparkAuthentication { this._cachedConfig = new CacheValue<AuthConfiguration>({ cache: cache.config, getKey: () => `${AUTH_CONFIG_STORAGE_KEY}_${this._config.env}`, - fallbackKey: AUTH_CONFIG_STORAGE_KEY, onInfo: (payload) => { this._eventManager.runEvent('info', { category: payload.event, @@ -96,12 +95,10 @@ export class AllsparkAuthentication { cache: cache.result, getKey: async () => { const currentConfig = await this._cachedConfig.get(); - if (!currentConfig) return AUTH_RESULT_STORAGE_KEY; - - const { issuer, clientId } = currentConfig; + const { issuer, clientId } = currentConfig!; return `${AUTH_RESULT_STORAGE_KEY}_${issuer}_${clientId}`; }, - fallbackKey: AUTH_RESULT_STORAGE_KEY, + validate: async (res) => this._isAuthResultExpired(res), onInfo: (payload) => { this._eventManager.runEvent('info', { category: payload.event, @@ -260,8 +257,7 @@ export class AllsparkAuthentication { try { const result = await authorize(config); - await this._cachedConfig.set(config); - await this._cachedResult.set(result); + this._cachedConfig.set(config).then(() => this._cachedResult.set(result)); this._runInfoEvent('SIGN_IN_SUCCESSFUL', { clientId: config.clientId,
fix: update authentication cache value to remove fallback key
fix: update authentication cache value to remove fallback key
3f22d36ac2829f5e9f8a88e7ef1b87f9aa388a4c
--- packages/roster-mini-app/src/translations/locales/en-US.json @@ -92,3 +92,4 @@ "warningAlert.maxRetriesMessage": "Max retry attempts reached. Pull to refresh to try again.", "warningAlert.warningMessage": "Unable to load. Please refresh." } +
feat: make change to en.json to trigger translations update
feat: make change to en.json to trigger translations update
d607d25c93c2df188019cd43db62135acab4b3b2
--- package-lock.json @@ -46,7 +46,7 @@ "@walmart/counts-component-miniapp": "0.1.4", "@walmart/emergency-mini-app": "1.24.1", "@walmart/exception-mini-app": "1.3.3", - "@walmart/facilities-management-miniapp": "0.6.32", + "@walmart/facilities-management-miniapp": "0.6.34", "@walmart/feedback-all-spark-miniapp": "0.9.33", "@walmart/financial-wellbeing-feature-app": "1.6.3", "@walmart/functional-components": "~4.0.3", @@ -5098,9 +5098,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.6.32", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.32.tgz", - "integrity": "sha512-TQLh0JiDTeSqnq2uPTez6VyuraLlxvRHWEfE9T4k/9MVbWj3NZjjhRHu0erOvb9YksmAYdCNHZr7FTszS2dTLg==", + "version": "0.6.34", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.34.tgz", + "integrity": "sha512-+cKk8eBRwh0dXEP50cW9LBv112IF7rv9oEAc6PKEuWq6qnO9j06+i2dndFPVX0Jex8w4bata78XWcPORplsYCA==", "hasInstallScript": true, "peerDependencies": { "@react-native-community/async-storage": "^1.12.1", @@ -25250,9 +25250,9 @@ "integrity": "sha512-PrClw+qFgF1XmMlg+PHZT+seQP4ydMPQkmZ+ZzGInSdBLYXJWt8Y5KT+4j3C2SjK191elDYAlqFlBDVDnModjw==" }, "@walmart/facilities-management-miniapp": { - "version": "0.6.32", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.32.tgz", - "integrity": "sha512-TQLh0JiDTeSqnq2uPTez6VyuraLlxvRHWEfE9T4k/9MVbWj3NZjjhRHu0erOvb9YksmAYdCNHZr7FTszS2dTLg==" + "version": "0.6.34", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.34.tgz", + "integrity": "sha512-+cKk8eBRwh0dXEP50cW9LBv112IF7rv9oEAc6PKEuWq6qnO9j06+i2dndFPVX0Jex8w4bata78XWcPORplsYCA==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.33", --- package.json @@ -88,7 +88,7 @@ "@walmart/counts-component-miniapp": "0.1.4", "@walmart/emergency-mini-app": "1.24.1", "@walmart/exception-mini-app": "1.3.3", - "@walmart/facilities-management-miniapp": "0.6.32", + "@walmart/facilities-management-miniapp": "0.6.34", "@walmart/feedback-all-spark-miniapp": "0.9.33", "@walmart/financial-wellbeing-feature-app": "1.6.3", "@walmart/functional-components": "~4.0.3",
FixIT: Drop 11 integration bug fixes with version 0.6.34
FixIT: Drop 11 integration bug fixes with version 0.6.34
a0aeba8912eca3f9f9f0d649b8dfed536b374f5a
--- packages/expo-config-plugins/src/index.ts @@ -41,6 +41,7 @@ export default function getPlugins(additionalPlugins?: additionalPlugins[]) { appleTeamId: 'F7HDEWM8SU', }, ], + moduleBasePath + 'withJetifier', moduleBasePath + 'withGifQuerySupport', moduleBasePath + 'withInAppBrowserReborn', [ @@ -102,6 +103,7 @@ export const withDevelopmentTeam = moduleBasePath + 'withDevelopmentTeam'; export const withGifQuerySupport = moduleBasePath + 'withGifQuerySupport'; export const withInAppBrowserReborn = moduleBasePath + 'withInAppBrowserReborn'; export const withJvmArgs = moduleBasePath + 'withJvmArgs'; +export const withJetifier = moduleBasePath + 'withJetifier'; export const withLocalSigning = moduleBasePath + 'withLocalSigning'; export const withLooperSigning = moduleBasePath + 'withLooperSigning'; export const withNativeRfidScanner = moduleBasePath + 'withNativeRfidScanner'; @@ -120,4 +122,4 @@ export const withWalmartImages = moduleBasePath + 'withWalmartImages'; export const withWalmartPodResources = moduleBasePath + 'withWalmartPodResources'; export const withWebexSDK = moduleBasePath + 'withWebexSDK'; export const withWifiStoreLocator = moduleBasePath + 'withWifiStoreLocator'; -export const withWorkManagerInitializer = moduleBasePath + 'withWorkManagerInitializer'; \ No newline at end of file +export const withWorkManagerInitializer = moduleBasePath + 'withWorkManagerInitializer'; --- packages/expo-config-plugins/src/withJetifier.ts @@ -0,0 +1,23 @@ +import { ConfigPlugin, withGradleProperties } from '@expo/config-plugins'; + +const withJetifier: ConfigPlugin = (config) => { + config = withGradleProperties(config, (config) => { + config.modResults.push( + { + type: 'comment', + value: + 'This enables Jetifier for Android builds to ensure compatibility with older dependencies.', + }, + { + type: 'property', + key: 'android.enableJetifier', + value: 'true', + } + ); + return config; + }); + + return config; +}; + +export default withJetifier;
feat(expoconfig): Add expo config plugin for jetifier (#252)
feat(expoconfig): Add expo config plugin for jetifier (#252) * feat(expoconfig): Add expo config plugin for jetifier * feat(expoconfig): update export for index.ts
cbbaf608948b0c8a92b55bd434edc62189a78ddb
--- package-lock.json @@ -49,6 +49,7 @@ "@walmart/attendance-mini-app": "3.24.0", "@walmart/avp-feature-app": "0.2.10", "@walmart/avp-shared-library": "0.2.12", + "@walmart/backroom-mini-app": "1.0.6", "@walmart/calling-mini-app": "0.1.13", "@walmart/checkout-mini-app": "3.9.306", "@walmart/compass-sdk-rn": "5.19.3", @@ -11018,6 +11019,33 @@ "reselect": "^4.1.7" } }, + "node_modules/@walmart/backroom-mini-app": { + "version": "1.0.6", + "resolved": "https://npme.walmart.com/@walmart/backroom-mini-app/-/backroom-mini-app-1.0.6.tgz", + "integrity": "sha512-IzNZEXgkdAqTP20WfIbrH7wGpOPOTQcChxEUFOunEF5vN07Ps76YFlQGFzPMCa8gdehNTskDQ4hERPuQ1cpTJw==", + "dependencies": { + "pubsub-js": "^1.9.4", + "react-native-mask-input": "^1.2.3" + }, + "peerDependencies": { + "@react-navigation/native": "^6.0.0", + "@react-navigation/stack": "^6.1.0", + "@walmart/gtp-shared-components": ">=1.8.0", + "axios": ">=0.26.1", + "react": "*", + "react-native": "*", + "react-native-flipper": ">=0.182.0", + "react-native-gesture-handler": ">=2.9.0", + "react-native-new-snap-carousel": ">=3.9.3", + "react-native-reanimated": ">=2.14.4", + "react-native-safe-area-context": ">=4.3.1", + "react-native-screens": ">=3.15.0", + "react-native-svg": ">=12.3.0", + "react-native-svg-transformer": ">=1.0.0", + "react-redux": "^8.0.0", + "redux": "^4.0.0" + } + }, "node_modules/@walmart/calling-mini-app": { "version": "0.1.13", "resolved": "https://npme.walmart.com/@walmart/calling-mini-app/-/calling-mini-app-0.1.13.tgz", @@ -31784,6 +31812,12 @@ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", "license": "MIT" }, + "node_modules/pubsub-js": { + "version": "1.9.4", + "resolved": "https://npme.walmart.com/pubsub-js/-/pubsub-js-1.9.4.tgz", + "integrity": "sha512-hJYpaDvPH4w8ZX/0Fdf9ma1AwRgU353GfbaVfPjfJQf1KxZ2iHaHl3fAUw1qlJIR5dr4F3RzjGaWohYUEyoh7A==", + "license": "MIT" + }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://npme.walmart.com/pump/-/pump-3.0.0.tgz", --- package.json @@ -90,6 +90,7 @@ "@walmart/attendance-mini-app": "3.24.0", "@walmart/avp-feature-app": "0.2.10", "@walmart/avp-shared-library": "0.2.12", + "@walmart/backroom-mini-app": "1.0.6", "@walmart/calling-mini-app": "0.1.13", "@walmart/checkout-mini-app": "3.9.306", "@walmart/compass-sdk-rn": "5.19.3", @@ -352,6 +353,7 @@ "@walmart/attendance-mini-app": "3.24.0", "@walmart/avp-feature-app": "0.2.10", "@walmart/avp-shared-library": "0.2.12", + "@walmart/backroom-mini-app": "1.0.6", "@walmart/calling-mini-app": "0.1.13", "@walmart/compass-sdk-rn": "5.19.3", "@walmart/config-components": "4.3.1",
Add @walmart/backroom-mini-app 1.0.6
Add @walmart/backroom-mini-app 1.0.6
2b00f95714b8e9eff2d1747287c6bfcac75789c5
--- src/components/RosterWidget/RosterWidget.tsx @@ -6,6 +6,7 @@ import {Body} from '@walmart/gtp-shared-components'; import { associateIsAbsent, associateIsClockedIn, + associateIsScheduled, associateIsTardy, } from '../../utils'; import {useDailyRoster} from '../../hooks/roster'; @@ -47,13 +48,15 @@ export const RosterWidget = (props: TeamHubWidgetProps) => { const configureRosterInfo = () => { if (selectedTeamIds?.includes(TOTAL_STORE_TEAM_ID)) { + const scheduledCount = + rosterDataList?.filter(associateIsScheduled)?.length ?? 0; const clockedInCount = rosterDataList?.filter(associateIsClockedIn)?.length ?? 0; const absentCount = rosterDataList?.filter(associateIsAbsent)?.length ?? 0; const tardyCount = rosterDataList?.filter(associateIsTardy)?.length ?? 0; setState({ - scheduledCount: rosterDataList.length, + scheduledCount: scheduledCount, clockedInCount: clockedInCount, tardyCount: tardyCount, absentCount: absentCount, @@ -66,7 +69,9 @@ export const RosterWidget = (props: TeamHubWidgetProps) => { teamRosterData?.forEach((teamData: Team) => { if (selectedTeamIds?.includes(teamData?.teamId as string)) { scheduledCount = - scheduledCount + (teamData.members?.length as number); + scheduledCount + + (teamData.membership?.filter(associateIsScheduled) + ?.length as number); clockedInCount = clockedInCount + (teamData?.mewClockedInCount as number); absentCount = absentCount + (teamData?.mewAbsentCount as number); --- src/screens/RosterDetailScreen/RosterDetailScreen.tsx @@ -219,7 +219,9 @@ export const RosterDetailScreen = ({route}: RosterDetailScreenProps) => { allTeams?.forEach((teamData: Team) => { if (teamState.teamIds?.includes(teamData?.teamId as string)) { scheduledCount = - scheduledCount + (teamData.members?.length as number); + scheduledCount + + (teamData.membership?.filter(associateIsScheduled) + ?.length as number); clockedInCount = clockedInCount + (teamData?.mewClockedInCount as number); absentCount = absentCount + (teamData?.mewAbsentCount as number); --- src/utils/user.ts @@ -3,6 +3,7 @@ import {ClockStatusEnum} from './ClockStatusEnum'; import moment from 'moment'; import {isNil} from 'lodash'; import {Associate, WFMSchedule} from '../common'; +import {TeamAssociateMembership} from '../queries/schema.types'; export const OBFUSCATION_KEY = 'texting-mini-app'; //Do not change this export const OBFUSCATION_PARSE_KEY = OBFUSCATION_KEY.padStart(64, '0'); @@ -106,7 +107,9 @@ export const associateIsNotScheduled = (associate?: Associate) => { return false; }; -export const associateIsScheduled = (associate?: Associate) => { +export const associateIsScheduled = ( + associate?: Associate | TeamAssociateMembership['associate'] | any, +) => { return associate?.wfmSchedule !== null; };
Update schedule count for roster widget
Update schedule count for roster widget
47f83e846aed130110da3ed85b9fd823b1bc1ee7
--- package.json @@ -101,7 +101,7 @@ "@walmart/digital-locks-mini-app": "1.4.6", "@walmart/emergency-mini-app": "1.32.5", "@walmart/exception-mini-app": "1.8.17", - "@walmart/expo-config-plugins": "~0.3.0", + "@walmart/expo-config-plugins": "~0.4.0", "@walmart/facilities-management-miniapp": "0.18.30", "@walmart/feedback-all-spark-miniapp": "0.9.75", "@walmart/financial-wellbeing-feature-app": "1.29.10", --- yarn.lock @@ -7094,12 +7094,12 @@ __metadata: languageName: node linkType: hard -"@walmart/expo-config-plugins@npm:~0.3.0": - version: 0.3.0 - resolution: "@walmart/expo-config-plugins@npm:0.3.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fexpo-config-plugins%2F-%2F%40walmart%2Fexpo-config-plugins-0.3.0.tgz" +"@walmart/expo-config-plugins@npm:~0.4.0": + version: 0.4.1 + resolution: "@walmart/expo-config-plugins@npm:0.4.1::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fexpo-config-plugins%2F-%2F%40walmart%2Fexpo-config-plugins-0.4.1.tgz" dependencies: fs-extra: "npm:^11.2.0" - checksum: 10c0/d42b8e852b14272c5ab1fb9cf99348cbee76a7af4ceaac269f333b1ab80a6d291f29a54bdee87d9e7c9ceffc1796915352554136ee5ac6a77cef50803ead3a84 + checksum: 10c0/029a1d325cd713a2b089d234117d54ffe084863c5218e0b194e2fcf92f78c5d0849632ccd55d2030964d8095e1cb07fe603443655c47e0642c1413f358e2a63d languageName: node linkType: hard @@ -7615,7 +7615,7 @@ __metadata: "@walmart/digital-locks-mini-app": "npm:1.4.6" "@walmart/emergency-mini-app": "npm:1.32.5" "@walmart/exception-mini-app": "npm:1.8.17" - "@walmart/expo-config-plugins": "npm:~0.3.0" + "@walmart/expo-config-plugins": "npm:~0.4.0" "@walmart/facilities-management-miniapp": "npm:0.18.30" "@walmart/feedback-all-spark-miniapp": "npm:0.9.75" "@walmart/financial-wellbeing-feature-app": "npm:1.29.10"
fix(lib): ALLSPARK-0000 bump expo-config-plugin (#4537)
fix(lib): ALLSPARK-0000 bump expo-config-plugin (#4537) Co-authored-by: Maksym Novakh <maksym.novakh@walmart.com>
0bc4dd15e36aff5c36108df9ddfea6b15ac75e17
--- src/components/AssociateRosterItem.tsx @@ -13,6 +13,7 @@ import { } from '@walmart/gtp-shared-components'; import namecase from 'namecase'; import {Associate} from '../types'; +import {useUserPresense} from "../hooks"; type AssociateItemProps = { associate: Associate; @@ -21,6 +22,7 @@ type AssociateItemProps = { onTalk?: () => void; onText?: () => void; style?: StyleProp<ViewStyle>; + isOnline: boolean; }; const styles = StyleSheet.create({ @@ -54,6 +56,8 @@ const styles = StyleSheet.create({ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => { const {associate, first, last, onTalk, onText, style} = props; + const {presence} = useUserPresense(associate?.userId); + const clockedIn = associate.punch?.clockStatus !== '2'; // const statusText = 'Status'; @@ -79,7 +83,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => { // @todo - badge color appropriately leading={ <Badge - color={clockedIn ? 'green' : 'red'} + color={presence?.state === 'online' ? 'green' : 'red'} UNSAFE_style={styles.badge} /> } --- src/screens/RosterScreen.tsx @@ -96,7 +96,6 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { const countryCode = useSelector(SiteSelectors.getSiteCountry); const clockedIn = useSelector(ClockStatusSelectors.getIsClockedIn); const teams = useGetTeamsInfo(); - const startAssociateText = useStartAssociateText(); /** @@ -107,7 +106,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { }); const [associates, setAssociates] = useState([]); - + const [rosterFilterId, setRosterFilterId] = useState(0); const [onlineUserIds, setOnlineUserIds] = useState<string[]>([]); useEffect(() => { @@ -129,6 +128,16 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { ); }, []); + useEffect(() => { + if (rosterFilterId === 4) { + setAssociates( + tempAssociatesMock.filter((associate: Associate) => { + return onlineUserIds.includes(associate?.userId ?? ''); + }), + ); + } + }, [onlineUserIds]); + /** * Rendering associate rows */ @@ -145,13 +154,14 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { associate={associate} first={index === 0} last={index === associates?.length - 1} + isOnline={onlineUserIds.includes(associate?.userId)} onTalk={noop} onText={onText} style={{marginHorizontal: 16, height: 100}} /> ); }, - [associates, startAssociateText], + [associates, startAssociateText, onlineUserIds], ); const goToViewTeamScreen = (teamId: string) => { @@ -162,6 +172,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { const filterAssociateRoster = (selectedFilters: number[]) => { //TODO: The selectedFilter is using numbers even though the chip ids are strings... const filterId = selectedFilters[0]; + setRosterFilterId(filterId); if (filterId === 0) { //All setAssociates(tempAssociatesMock); --- src/components/AssociateRosterItem.tsx @@ -13,6 +13,7 @@ import { } from '@walmart/gtp-shared-components'; import namecase from 'namecase'; import {Associate} from '../types'; +import {useUserPresense} from "../hooks"; type AssociateItemProps = { associate: Associate; @@ -21,6 +22,7 @@ type AssociateItemProps = { onTalk?: () => void; onText?: () => void; style?: StyleProp<ViewStyle>; + isOnline: boolean; }; const styles = StyleSheet.create({ @@ -54,6 +56,8 @@ const styles = StyleSheet.create({ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => { const {associate, first, last, onTalk, onText, style} = props; + const {presence} = useUserPresense(associate?.userId); + const clockedIn = associate.punch?.clockStatus !== '2'; // const statusText = 'Status'; @@ -79,7 +83,7 @@ export const AssociateRosterItem = React.memo((props: AssociateItemProps) => { // @todo - badge color appropriately leading={ <Badge - color={clockedIn ? 'green' : 'red'} + color={presence?.state === 'online' ? 'green' : 'red'} UNSAFE_style={styles.badge} /> } --- src/screens/RosterScreen.tsx @@ -96,7 +96,6 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { const countryCode = useSelector(SiteSelectors.getSiteCountry); const clockedIn = useSelector(ClockStatusSelectors.getIsClockedIn); const teams = useGetTeamsInfo(); - const startAssociateText = useStartAssociateText(); /** @@ -107,7 +106,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { }); const [associates, setAssociates] = useState([]); - + const [rosterFilterId, setRosterFilterId] = useState(0); const [onlineUserIds, setOnlineUserIds] = useState<string[]>([]); useEffect(() => { @@ -129,6 +128,16 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { ); }, []); + useEffect(() => { + if (rosterFilterId === 4) { + setAssociates( + tempAssociatesMock.filter((associate: Associate) => { + return onlineUserIds.includes(associate?.userId ?? ''); + }), + ); + } + }, [onlineUserIds]); + /** * Rendering associate rows */ @@ -145,13 +154,14 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { associate={associate} first={index === 0} last={index === associates?.length - 1} + isOnline={onlineUserIds.includes(associate?.userId)} onTalk={noop} onText={onText} style={{marginHorizontal: 16, height: 100}} /> ); }, - [associates, startAssociateText], + [associates, startAssociateText, onlineUserIds], ); const goToViewTeamScreen = (teamId: string) => { @@ -162,6 +172,7 @@ export const RosterScreen: React.FC<Props> = ({navigation}) => { const filterAssociateRoster = (selectedFilters: number[]) => { //TODO: The selectedFilter is using numbers even though the chip ids are strings... const filterId = selectedFilters[0]; + setRosterFilterId(filterId); if (filterId === 0) { //All setAssociates(tempAssociatesMock);
update available to talk via firebase presence status
update available to talk via firebase presence status
d30573aa96d8ed5f03c94b8f606b70eb7cb26947
--- ios/Podfile.lock @@ -235,7 +235,7 @@ PODS: - GoogleUtilities/MethodSwizzler - GoogleUtilities/UserDefaults (7.10.0): - GoogleUtilities/Logger - - hermes-engine (0.70.6) + - hermes-engine (0.70.9) - leveldb-library (1.22.1) - libevent (2.1.12) - libwebp (1.2.4): @@ -1174,7 +1174,7 @@ SPEC CHECKSUMS: GoogleAppMeasurement: 7a33224321f975d58c166657260526775d9c6b1a GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95 - hermes-engine: 2af7b7a59128f250adfd86f15aa1d5a2ecd39995 + hermes-engine: 918ec5addfbc430c9f443376d739f088b6dc96c3 leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
hermes pod update 0.70.9
hermes pod update 0.70.9
f06fc89b4ef2bf28cc02c5a95eebea8391cf546c
--- package-lock.json @@ -67,7 +67,7 @@ "@walmart/gta-react-native-calendars": "0.6.0", "@walmart/gtp-shared-components": "2.1.10", "@walmart/impersonation-mini-app": "1.20.8", - "@walmart/ims-print-services-ui": "2.9.1", + "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.91.6", "@walmart/iteminfo-mini-app": "7.9.0", "@walmart/learning-mini-app": "18.0.5", @@ -11557,9 +11557,9 @@ } }, "node_modules/@walmart/ims-print-services-ui": { - "version": "2.9.1", - "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.9.1.tgz", - "integrity": "sha512-nrjv/WjQblP+I5QSLlTEUAkCcle6tl+fM58oQEbMLdmzg5/trg1fJYum+wyuaxRn+GDzYWuU8blHVvi4JBzdrg==", + "version": "2.10.3", + "resolved": "https://npme.walmart.com/@walmart/ims-print-services-ui/-/ims-print-services-ui-2.10.3.tgz", + "integrity": "sha512-h9+eNhiu1PVg21yQ5sh0wpq27Cxy42tR+UZt6EOrKZ5ALrEM0qj+4YdMroFSJOG0AuJa0r5/mTsF/I+ADaEDxg==", "peerDependencies": { "@react-native-firebase/analytics": ">=10.5.1", "@react-native-firebase/app": ">=10.5.0", --- package.json @@ -108,7 +108,7 @@ "@walmart/gta-react-native-calendars": "0.6.0", "@walmart/gtp-shared-components": "2.1.10", "@walmart/impersonation-mini-app": "1.20.8", - "@walmart/ims-print-services-ui": "2.9.1", + "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.91.6", "@walmart/iteminfo-mini-app": "7.9.0", "@walmart/learning-mini-app": "18.0.5", @@ -370,7 +370,7 @@ "@walmart/gta-react-native-calendars": "0.6.0", "@walmart/gtp-shared-components": "2.1.10", "@walmart/impersonation-mini-app": "1.20.8", - "@walmart/ims-print-services-ui": "2.9.1", + "@walmart/ims-print-services-ui": "2.10.3", "@walmart/inbox-mini-app": "0.91.6", "@walmart/iteminfo-mini-app": "7.9.0", "@walmart/learning-mini-app": "18.0.5",
bump print ui to v2.10.3
bump print ui to v2.10.3
3f50724025823b7d0cce908b54f7ac8bf5aabead
--- __tests__/navigation/AssociateHallwayNav/SideMenuContentTest.tsx @@ -201,15 +201,47 @@ describe('SideMenuContent', () => { }); it('matches snapshot for undefined user info, and can impersonate', () => { - mockUseIsDrawerOpen.mockReturnValue(true); + mockUseIsDrawerOpen.mockReturnValue(false); mockUseCanImpersonate.mockReturnValue(true); mockUseSelector.mockReturnValueOnce(undefined); mockUseSelector.mockReturnValueOnce(clockState); - mockUseSelector.mockReturnValueOnce(undefined); + mockUseSelector.mockReturnValueOnce(undefined); // nav config mockUseState.mockReturnValueOnce([false, setShowDialog]); mockUseState.mockReturnValueOnce([[], setNavConfig]); - component.update(<SideMenuContent {...baseProps} />); - expect(component.toJSON()).toMatchSnapshot(); + const sideMenu = create(<SideMenuContent {...baseProps} />); + expect(sideMenu.toJSON()).toMatchSnapshot(); + expect(setNavConfig).toHaveBeenCalledWith([ + { + menuType: 'SUBMENU', + icon: 'settings', + title: 'menu.settings', + enabled: true, + action: { + type: 'NAVIGATE', + value: 'Settings', + }, + }, + { + menuType: 'SUBMENU', + icon: 'feedback', + title: 'menu.feedback', + enabled: true, + action: { + type: 'NAVIGATE', + value: 'Feedback', + }, + }, + { + menuType: 'SUBMENU', + icon: 'rocket', + title: 'menu.whatsNew', + enabled: true, + action: { + type: 'NAVIGATE', + value: 'WhatsNew', + }, + }, + ]); //default config }); });
Adding test
Adding test
31b3934d0e72120b02982cb42154e35788fc750a
--- packages/allspark-foundation-hub/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.19.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.19.3...@walmart/allspark-foundation-hub@1.19.4) (2025-10-22) + +**Note:** Version bump only for package @walmart/allspark-foundation-hub + ## [1.19.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation-hub@1.19.2...@walmart/allspark-foundation-hub@1.19.3) (2025-10-21) **Note:** Version bump only for package @walmart/allspark-foundation-hub --- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.19.3", + "version": "1.19.4", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/allspark-foundation/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [7.3.0](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.2.1...@walmart/allspark-foundation@7.3.0) (2025-10-22) + +### Features + +- enhance clock functionality with last punch tracking and meal selectors ([5727f8b](https://gecgithub01.walmart.com/allspark/allspark/commit/5727f8b387de8973de6e39630f379b7d38be0c81)) + ## [7.2.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/allspark-foundation@7.2.0...@walmart/allspark-foundation@7.2.1) (2025-10-21) ### Bug Fixes --- packages/allspark-foundation/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation", - "version": "7.2.1", + "version": "7.3.0", "description": "", "main": "Core/index.js", "types": "Core/index.d.ts", --- packages/me-at-walmart-geolocation/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.3.4](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.3...@walmart/me-at-walmart-geolocation@1.3.4) (2025-10-22) + +**Note:** Version bump only for package @walmart/me-at-walmart-geolocation + ## [1.3.3](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.2...@walmart/me-at-walmart-geolocation@1.3.3) (2025-10-21) **Note:** Version bump only for package @walmart/me-at-walmart-geolocation --- packages/me-at-walmart-geolocation/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/me-at-walmart-geolocation", - "version": "1.3.3", + "version": "1.3.4", "description": "Geofencing, location tracking and location services for me@ apps", "author": "m0n09mr <maksym.novakh@walmart.com>", "main": "./lib/cjs/index.js",
chore(version): updating package version
chore(version): updating package version - @walmart/allspark-foundation@7.3.0 - @walmart/allspark-foundation-hub@1.19.4 - @walmart/me-at-walmart-geolocation@1.3.4
ff96feaf5edbdd1bd5ce6b4756624aa02d308fdc
--- packages/allspark-foundation-hub/src/Shared/Common/types.ts @@ -34,6 +34,6 @@ export type LayoutConfigType = { }; }; -export interface TeamWidgestMapping { +export interface TeamWidgetsMapping { [key: string]: { teamName: string; widgets: string[] }; } --- packages/allspark-foundation-hub/src/Shared/Common/utils.ts @@ -1,5 +1,5 @@ import { cloneDeep, isNil } from 'lodash'; -import { TelemetryParams, TeamWidgestMapping } from './types'; +import { TelemetryParams, TeamWidgetsMapping } from './types'; import { StoreImages } from '../Images'; export const telemetryLogHandler = ( --- packages/allspark-foundation-hub/src/Store/Hooks/index.ts @@ -2,4 +2,4 @@ export * from './useGetAllTeamsOfStore'; export * from './useGetViewersPrimaryTeamName'; export * from './useTeamSelection'; export * from './useTeamsByStore'; -export { useUserPreferences, preferenceSorter } from './useUserPreferences'; +export * from './useUserPreferences'; --- packages/allspark-foundation-hub/src/Store/Hooks/useGetAllTeamsOfStore.ts @@ -14,7 +14,9 @@ import { AllsparkEnvironment } from '@walmart/allspark-foundation/Environment'; import { DeviceSelectors } from '@walmart/allspark-foundation/Device'; import { TeamSwitcherTypes } from '../Modules'; -export const sorter = (data: TeamSwitcherTypes[]): TeamSwitcherTypes[] => { +export const allTeamsSorter = ( + data: TeamSwitcherTypes[] +): TeamSwitcherTypes[] => { const customSort = (a: TeamSwitcherTypes, b: TeamSwitcherTypes): number => { if (a.teamLabel === ADMIN_SUPPORT_TEAM_LABEL) { return -1; @@ -61,7 +63,7 @@ export const useGetAllTeamsOfStore = () => { teamImage: team?.teamId ? Images[team.teamId] : '', teamId: team?.teamId ?? '', })) || []; - setAllTeamsOfStore(sorter(transformedTeamData)); + setAllTeamsOfStore(allTeamsSorter(transformedTeamData)); }, onError: (err: any) => { logger.error('useGetTeamsByStoreQuery error', {
Update the dir structure
Update the dir structure
29f7c38d5b6334cd25e0f4d8c2830a2bd9edab10
--- __tests__/home/components/__snapshots__/DateRowTest.tsx.snap @@ -27,7 +27,7 @@ exports[`DateRow renders with no week 1`] = ` }, ] } - weight="regular" + weight="400" > todayDateLabel @@ -44,7 +44,7 @@ exports[`DateRow renders with no week 1`] = ` }, ] } - weight="bold" + weight="700" > Saturday, November 28 </Body> @@ -62,7 +62,7 @@ exports[`DateRow renders with no week 1`] = ` }, ] } - weight="regular" + weight="400" > walmartWeek </Body> @@ -96,7 +96,7 @@ exports[`DateRow renders with week 1`] = ` }, ] } - weight="regular" + weight="400" > todayDateLabel @@ -113,7 +113,7 @@ exports[`DateRow renders with week 1`] = ` }, ] } - weight="bold" + weight="700" > Saturday, November 28 </Body> @@ -131,7 +131,7 @@ exports[`DateRow renders with week 1`] = ` }, ] } - weight="regular" + weight="400" > walmartWeek </Body> --- src/home/components/DateRow.tsx @@ -47,14 +47,14 @@ export const DateRow: FC<Props> = (props) => { return ( <View style={[styles.row, style]} testID='Home.HomeDate'> <Body - weight='regular' + weight='400' UNSAFE_style={[styles.dateMessage, {color: textColor}]}> {t('todayDateLabel')}{' '} - <Body weight='bold' UNSAFE_style={[styles.date, {color: textColor}]}> + <Body weight='700' UNSAFE_style={[styles.date, {color: textColor}]}> {date} </Body> </Body> - <Body weight='regular' UNSAFE_style={[styles.wmWeek, {color: textColor}]}> + <Body weight='400' UNSAFE_style={[styles.wmWeek, {color: textColor}]}> {t('walmartWeek', {week: getWalmartWeek(moment())})} </Body> </View>
ALLSPARK-3335: Weeknumber font fix
ALLSPARK-3335: Weeknumber font fix
4ef1fbfcd9b0c07a24e42df972710410ddfe0857
--- src/components/Roster/AssociateListItem.tsx @@ -126,24 +126,22 @@ export const AssociateListItem: React.FC<AssociateListItemProps> = React.memo( shouldShowMessageButton && !isNil(actionButtons) && ( <View style={styles.buttonsStyle}> - {actionButtons.map( - (actionButton: RosterActionButton, index: number) => { - return ( - <Button - key={(actionButton.i18nLabel += index)} - variant={'secondary'} - UNSAFE_style={styles.actionButtonSpacing} - onPress={() => actionButton.action(participants)} - size={'small'} - disabled={ - !userIsInRoster || !userIsImpersonatedOnDev - } - testID={`actionButton-${actionButton.i18nLabel}`}> - <Text>{t(actionButton.i18nLabel)}</Text> - </Button> - ); - }, - )} + {actionButtons.map((actionButton: RosterActionButton) => { + return ( + <Button + key={actionButton.i18nLabel} + variant={'secondary'} + UNSAFE_style={styles.actionButtonSpacing} + onPress={() => actionButton.action(participants)} + size={'small'} + disabled={ + !userIsInRoster || !userIsImpersonatedOnDev + } + testID={`actionButton-${actionButton.i18nLabel}`}> + <Text>{t(actionButton.i18nLabel)}</Text> + </Button> + ); + })} </View> )} </>
feat(ci): key fix
feat(ci): key fix
2ad60dc6bea4d0fd12a01384748c88956b88a236
--- __tests__/__mocks__/@walmart/allspark-foundation/Redux/index.js @@ -1,54 +0,0 @@ -// Mock Redux utilities -module.exports = { - AllsparkReduxStore: { - getStore: jest.fn(() => ({ - getState: jest.fn(() => ({})), - dispatch: jest.fn(), - subscribe: jest.fn(), - })), - resetStore: jest.fn(), - }, - createSliceActionUtils: jest.fn((...args) => { - return { - actions: { - setInfo: jest.fn(), - resetInfo: jest.fn(), - addError: jest.fn(), - addFilter: jest.fn(), - }, - sliceName: args[0] || 'mockSlice', - }; - }), - generateSelectorsForSlice: jest.fn((slice) => { - console.log('<<<<< USING MOCK: __tests__/__mocks__/@walmart/allspark-foundation/Redux/index.js -> generateSelectorsForSlice >>>>>'); - // Create selectors based on the slice's initial state properties - const selectors = {}; - - // Add a getState selector - selectors.getState = jest.fn((state) => state[slice.name] || slice.getInitialState()); - - // Generate selectors for each property in the initial state - const initialState = slice.getInitialState(); - console.log('Generating selectors for slice:', slice.name); - console.log('Initial state keys:', Object.keys(initialState)); - - Object.keys(initialState).forEach(key => { - // Convert camelCase to selector name (e.g., allSiteTeams -> getAllSiteTeams) - const selectorName = `get${key.charAt(0).toUpperCase()}${key.slice(1)}`; - console.log(`Creating selector: ${selectorName} for property: ${key}`); - selectors[selectorName] = jest.fn((state) => { - const sliceState = state[slice.name] || initialState; - return sliceState[key]; - }); - }); - - console.log('Generated selectors:', Object.keys(selectors)); - return selectors; - }), - // Add other Redux utilities as needed - useAllsparkSelector: jest.fn(() => {}), - useAllsparkDispatch: jest.fn(() => jest.fn()), - SiteSelectors: { - getWorkingSiteIsDC: jest.fn(() => false), - }, -};
feat(ui): remove Redux mock #SMDV-8075
feat(ui): remove Redux mock #SMDV-8075
9d7904a3037358dcd9c4eff432245a210cbcd710
--- src/screens/MeganavScreen.tsx @@ -18,6 +18,7 @@ import {PresenceProvider} from '../presence/provider'; import {ChannelsProvider} from '../channels'; import {Button} from '@walmart/gtp-shared-components/dist'; import {ClockedOutScreenGuard} from '../components/ClockedOutScreenGuard'; +import {navigate} from '@walmart/react-native-shared-navigation'; import { ROOT_CONTAINER_SCREEN_NAME, APP_CONTAINER_SCREEN_NAME, @@ -100,9 +101,13 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => { navigation.pop(); }; const navigateToRoster = () => { - navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, { + navigation.pop(); + navigate(ROOT_CONTAINER_SCREEN_NAME, { // @ts-ignore screen: APP_CONTAINER_SCREEN_NAME, + params: { + screen: 'myTeam.tabs', + }, }); }; return ( --- src/screens/MeganavScreen.tsx @@ -18,6 +18,7 @@ import {PresenceProvider} from '../presence/provider'; import {ChannelsProvider} from '../channels'; import {Button} from '@walmart/gtp-shared-components/dist'; import {ClockedOutScreenGuard} from '../components/ClockedOutScreenGuard'; +import {navigate} from '@walmart/react-native-shared-navigation'; import { ROOT_CONTAINER_SCREEN_NAME, APP_CONTAINER_SCREEN_NAME, @@ -100,9 +101,13 @@ export const MeganavScreen: React.FC<MeganavScreenProps> = (props) => { navigation.pop(); }; const navigateToRoster = () => { - navigation.navigate(ROOT_CONTAINER_SCREEN_NAME, { + navigation.pop(); + navigate(ROOT_CONTAINER_SCREEN_NAME, { // @ts-ignore screen: APP_CONTAINER_SCREEN_NAME, + params: { + screen: 'myTeam.tabs', + }, }); }; return (
update view roster navigation
update view roster navigation
26a707f873d563702471d37bd9a287360ff67543
--- graphql.yml @@ -36,11 +36,6 @@ applications: queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.graphql' tags: - 'v1' - - name: 'getSupplyChainTeamPreference' - hash: '61253c3d4d8ab6db774a903969c2f63de9113f44c1947d52c3630dd38ce30839' - 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' @@ -66,11 +61,6 @@ applications: queryTemplate: 'packages/me-at-walmart-athena-queries/src/updateManagerExperiencePreference.graphql' tags: - 'v1' - - name: 'upsertSupplyChainAssociatePreference' - hash: '39c45936c3b4d0020c6192b629c29860a30a5f2f70c5297c9e34dcffbaa0c7b0' - queryTemplate: 'packages/me-at-walmart-athena-queries/src/upsertSupplyChainAssociatePreference.graphql' - tags: - - 'v1' - name: 'prod' persistedQueries: - name: 'businessUnitByCountryAndNumber' @@ -98,6 +88,11 @@ applications: queryTemplate: 'packages/me-at-walmart-athena-queries/src/getLoggedInUser.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' --- packages/me-at-walmart-athena-queries/src/schema.graphql @@ -1052,6 +1052,7 @@ input AssociatePublicSearchInput { } type AssociateRetailBusinessUnitAssignment { + baseAlignment: BaseAlignment baseDivision: BaseDivision businessUnitNumber: Int countryCode: String @@ -1229,6 +1230,7 @@ type AssociateSearchTalentResponse { } type AssociateSupplyChainBusinessUnitAssignment { + baseAlignment: BaseAlignment baseDivision: BaseDivision businessUnitNumber: Int countryCode: String @@ -9324,6 +9326,7 @@ type ReportsTo { } type RetailBusinessUnit { + baseAlignment: BaseAlignment baseDivision: BaseDivision businessUnitNumber: Int countryCode: String @@ -10424,6 +10427,7 @@ type SupplierReference { } type SupplyChainBusinessUnit { + baseAlignment: BaseAlignment baseDivision: BaseDivision businessUnitNumber: Int countryCode: String --- packages/me-at-walmart-athena-queries/src/schema.types.ts @@ -762,6 +762,7 @@ export type AssociatePublicSearchInput = { export type AssociateRetailBusinessUnitAssignment = { __typename?: 'AssociateRetailBusinessUnitAssignment'; + baseAlignment?: Maybe<BaseAlignment>; baseDivision?: Maybe<BaseDivision>; businessUnitNumber?: Maybe<Scalars['Int']>; countryCode?: Maybe<Scalars['String']>; @@ -855,6 +856,7 @@ export type AssociateSearchTalentResponse = { export type AssociateSupplyChainBusinessUnitAssignment = { __typename?: 'AssociateSupplyChainBusinessUnitAssignment'; + baseAlignment?: Maybe<BaseAlignment>; baseDivision?: Maybe<BaseDivision>; businessUnitNumber?: Maybe<Scalars['Int']>; countryCode?: Maybe<Scalars['String']>; @@ -6400,6 +6402,7 @@ export type ReportsTo = { export type RetailBusinessUnit = { __typename?: 'RetailBusinessUnit'; + baseAlignment?: Maybe<BaseAlignment>; baseDivision?: Maybe<BaseDivision>; businessUnitNumber?: Maybe<Scalars['Int']>; countryCode?: Maybe<Scalars['String']>; @@ -7150,6 +7153,7 @@ export type SupplierReference = { export type SupplyChainBusinessUnit = { __typename?: 'SupplyChainBusinessUnit'; + baseAlignment?: Maybe<BaseAlignment>; baseDivision?: Maybe<BaseDivision>; businessUnitNumber?: Maybe<Scalars['Int']>; countryCode?: Maybe<Scalars['String']>;
feat(ui) reran codegen
feat(ui) reran codegen
ba763b4017fbfd8226a7d063b1c1c6175158adc1
--- src/components/ActionButton/index.tsx @@ -20,6 +20,7 @@ export const ActionButton = ({ return withTiming(disabled ? 0 : 1, {duration: 150}); }, [disabled]); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const disabledStyle = useAnimatedStyle(() => { const backgroundColor = interpolateColor( disabledProgress.value, @@ -34,7 +35,7 @@ export const ActionButton = ({ return ( <TouchableOpacity disabled={disabled} {...buttonProps}> - <Animated.View style={[styles.button, disabledStyle]}> + <Animated.View style={[styles.button]}> {loading ? ( <ActivityIndicator size='small' /> ) : ( --- src/components/ActionButton/index.tsx @@ -20,6 +20,7 @@ export const ActionButton = ({ return withTiming(disabled ? 0 : 1, {duration: 150}); }, [disabled]); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const disabledStyle = useAnimatedStyle(() => { const backgroundColor = interpolateColor( disabledProgress.value, @@ -34,7 +35,7 @@ export const ActionButton = ({ return ( <TouchableOpacity disabled={disabled} {...buttonProps}> - <Animated.View style={[styles.button, disabledStyle]}> + <Animated.View style={[styles.button]}> {loading ? ( <ActivityIndicator size='small' /> ) : (
Task SMDV-4754 pause button backgoundColor changed
Task SMDV-4754 pause button backgoundColor changed
e4a426b63be2d91039c5edc55620106f0bb0ee39
--- scripts/mini-app-scan/package-deprecation/scheduled-library-deprecation.json @@ -124,6 +124,12 @@ "replacement": "@testing-library/react-native", "enforcementDate": "2026-02-02", "notes": "Use the replacement for all new development." + }, + { + "legacyLibrary": "@walmart/gtp-shared-components", + "replacement": "@walmart/gtp-shared-components-3", + "enforcementDate": "2026-02-02", + "notes": "Migrate to LD 3.5 for all new development. Please follow this migration guide for more details: https://confluence.walmart.com/display/ALLSPARK/LD+3.5+Migration+Notes" } ]
feat(ld3.5): update dep check
feat(ld3.5): update dep check
c5b892f3b1df5a45b5bc733334305984d413a29f
--- package.json @@ -94,7 +94,7 @@ "@walmart/react-native-shared-navigation": "6.1.4", "@walmart/react-native-sumo-sdk": "2.7.4", "@walmart/redux-store": "6.3.29", - "@walmart/roster-mini-app": "2.32.0", + "@walmart/roster-mini-app": "2.33.0", "@walmart/ui-components": "1.15.1", "@walmart/wmconnect-mini-app": "2.33.0", "babel-jest": "^29.6.3", --- yarn.lock @@ -6591,7 +6591,7 @@ __metadata: "@walmart/react-native-shared-navigation": "npm:6.1.4" "@walmart/react-native-sumo-sdk": "npm:2.7.4" "@walmart/redux-store": "npm:6.3.29" - "@walmart/roster-mini-app": "npm:2.32.0" + "@walmart/roster-mini-app": "npm:2.33.0" "@walmart/ui-components": "npm:1.15.1" "@walmart/wmconnect-mini-app": "npm:2.33.0" babel-jest: "npm:^29.6.3" @@ -6717,9 +6717,9 @@ __metadata: languageName: node linkType: hard -"@walmart/roster-mini-app@npm:2.32.0": - version: 2.32.0 - resolution: "@walmart/roster-mini-app@npm:2.32.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.32.0.tgz" +"@walmart/roster-mini-app@npm:2.33.0": + version: 2.33.0 + resolution: "@walmart/roster-mini-app@npm:2.33.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Froster-mini-app%2F-%2Froster-mini-app-2.33.0.tgz" peerDependencies: "@react-native-async-storage/async-storage": ^1.21.0 "@react-native-community/netinfo": ^11.0.1 @@ -6761,7 +6761,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 wifi-store-locator: 1.4.1 - checksum: 10c0/346ae5d31d7530ee96d94e2fedfa0f5a87290c3638db0d9f7d2f51c26f004a7993cb1467b03dff02d904bd749aee97e41cf359f0aeb4cc3132541833430b7780 + checksum: 10c0/903411de13ff7a356a43d152cb2e7759097c752f125706d6d8f48ddfecf2d3b8aff1407f2715532122913a6c8f02972c9aab6eae08a0cc411c66ebf39528e850 languageName: node linkType: hard
feat(ui): update roster version
feat(ui): update roster version
87fedaf443436497ba33d66f4b6ab1e32d925885
--- __tests__/components/index.test.tsx @@ -526,7 +526,7 @@ describe('Components Index Module', () => { const finalMemory = process.memoryUsage(); const memoryIncrease = finalMemory.heapUsed - initialMemory.heapUsed; - // Allow reasonable memory increase (less than 20MB for module loading) + // Allow reasonable memory increase(less than 20MB for module loading) expect(memoryIncrease).toBeLessThan(20 * 1024 * 1024); }); });
fix: test failure
fix: test failure
68fe4c39dde26defb0f8d4f0965fd8ca101c5715
--- packages/me-at-walmart-location/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.1.0 (2025-11-03) + +### Features + +- **lib:** ALLSPARK-7058 refactor location ([#468](https://gecgithub01.walmart.com/allspark/allspark/issues/468)) ([0992a91](https://gecgithub01.walmart.com/allspark/allspark/commit/0992a91c1207700976f5f9f9f997898def72d535)) + ## [1.3.19](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-geolocation@1.3.18...@walmart/me-at-walmart-geolocation@1.3.19) (2025-10-30) **Note:** Version bump only for package @walmart/me-at-walmart-geolocation --- packages/me-at-walmart-location/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/me-at-walmart-location", - "version": "1.0.0", + "version": "1.1.0", "description": "Geofencing, location tracking and location services for me@ apps", "author": "m0n09mr <maksym.novakh@walmart.com>", "main": "./lib/cjs/index.js",
chore(version): updating package version
chore(version): updating package version - @walmart/me-at-walmart-location@1.1.0
fd927f96208267de63622041a7475c05335eb1bc
--- ios/Podfile.lock @@ -502,7 +502,7 @@ PODS: - React-Core - react-native-biometrics (3.0.1): - React-Core - - react-native-blob-util (0.16.4): + - react-native-blob-util (0.16.3): - React-Core - react-native-cameraroll (4.1.2): - React-Core @@ -518,11 +518,11 @@ PODS: - React-Core - react-native-image-resizer (1.4.5): - React-Core - - react-native-logger (1.34.4): + - react-native-logger (1.33.0): - React - react-native-loudness (2.0.0): - React - - react-native-maps (1.7.1): + - react-native-maps (1.3.2): - React-Core - react-native-netinfo (9.3.6): - React-Core @@ -553,11 +553,11 @@ PODS: - react-native-video/Video (= 5.2.1) - react-native-video/Video (5.2.1): - React-Core - - react-native-view-shot (3.6.0): + - react-native-view-shot (3.5.0): - React-Core - - react-native-webview (11.26.1): + - react-native-webview (11.23.1): - React-Core - - react-native-wm-app-review (0.4.0-rc.1): + - react-native-wm-app-review (0.4.0): - React-Core - react-native-wm-voice-text (1.0.1): - React @@ -644,7 +644,7 @@ PODS: - React-Core - RNDateTimePicker (6.7.5): - React-Core - - RNDeviceInfo (10.6.0): + - RNDeviceInfo (10.3.0): - React-Core - RNFastImage (8.6.3): - React-Core @@ -691,7 +691,7 @@ PODS: - React-Core - RNReactNativeHapticFeedback (1.14.0): - React-Core - - RNReanimated (2.17.0): + - RNReanimated (2.14.4): - DoubleConversion - FBLazyVector - FBReactNativeSpec @@ -721,13 +721,13 @@ PODS: - RNScreens (3.15.0): - React-Core - React-RCTImage - - RNSha256 (1.4.9): + - RNSha256 (1.4.8): - React-Core - RNSketchCanvas (0.8.0): - React - RNSoundPlayer (0.13.2): - React-Core - - RNSVG (13.9.0): + - RNSVG (13.6.0): - React-Core - RNVectorIcons (9.2.0): - React-Core @@ -751,18 +751,18 @@ PODS: - Apollo/SQLite (~> 0.45) - FirebaseMessaging (<= 10.1.0) - StructuredLogAssistantIOS (= 0.0.7) - - SwiftProtobuf (1.22.0) + - SwiftProtobuf (1.21.0) - TextServiceProto (0.0.13): - SwiftProtobuf - TOCropViewController (2.6.1) - - VisionCamera (2.15.4): + - VisionCamera (2.15.2): - React - React-callinvoker - React-Core - walmart-react-native-sumo-sdk (2.5.1): - React - SumoSDK (= 2.5.0) - - wifi-store-locator (1.1.3): + - wifi-store-locator (1.0.3): - React-Core - Yoga (1.14.0) - YogaKit (1.18.1): @@ -1208,7 +1208,7 @@ SPEC CHECKSUMS: react-native-app-auth: fd1eaa667c0bc014199456d14a6440cb74de814e react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc - react-native-blob-util: 60453b777610c87a22b3524032c0214e8db555db + react-native-blob-util: 4ec16cc21bfc8de8f0ddfd2c81ada00f8c34b646 react-native-cameraroll: 2957f2bce63ae896a848fbe0d5352c1bd4d20866 react-native-encrypted-storage: 632e8eac25dff0b6cac14e6e0c76498c4a39e24e react-native-flipper: 6e4e344a0104a34a4e189a9ef2b3b5634b516dc8 @@ -1216,11 +1216,11 @@ SPEC CHECKSUMS: react-native-get-random-values: a6ea6a8a65dc93e96e24a11105b1a9c8cfe1d72a react-native-image-picker: 4bc9ed38c8be255b515d8c88babbaf74973f91a8 react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f - react-native-logger: 0db20d526938502f78c2b473714742f2e6eb6f89 + react-native-logger: 0bcf50232fdc8dbf2feb0d76f18b97ca722463eb react-native-loudness: 38527e7e42c3be3e4ea3d8aace2621a8eb9cafda - react-native-maps: 667f9b975549c6fa9b1631bf859440f68ebd3b8f + react-native-maps: 085f614cf14d3637b2048bb9752da5b1c27c2886 react-native-netinfo: f80db8cac2151405633324cb645c60af098ee461 - react-native-pager-view: 0ccb8bf60e2ebd38b1f3669fa3650ecce81db2df + react-native-pager-view: 592421df0259bf7a7a4fe85b74c24f3f39905605 react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa react-native-ptt-module: 83ae382698d10be1cbd108d1f784f433b83d4e36 react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe @@ -1228,9 +1228,9 @@ SPEC CHECKSUMS: react-native-scanner-3.0: 81557c1b199e5a905dd44600b32effb9004fdeb9 react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457 react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253 - react-native-view-shot: 705f999ac2a24e4e6c909c0ca65c732ed33ca2ff - react-native-webview: 9f111dfbcfc826084d6c507f569e5e03342ee1c1 - react-native-wm-app-review: 0be8ce1bdd31ab154de5fbddb768898b149ee4dd + react-native-view-shot: 792829857bbb23a9c8acdad9a640554bdee397a3 + react-native-webview: d33e2db8925d090871ffeb232dfa50cb3a727581 + react-native-wm-app-review: eff89fab61d28c3bf7106419717d4aeb6c5aa6f2 react-native-wm-voice-text: 0658ee8e9d8e9e3df0f48dd49115f804ac0e8896 React-perflogger: cce000b5caa4bcecbb29ee9cfdb47f26202d2599 React-RCTActionSheet: ba29f52a82d970e2aba5804490ecaea587c7a751 @@ -1252,7 +1252,7 @@ SPEC CHECKSUMS: RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495 RNCPicker: 0bf8ef8f7800524f32d2bb2a8bcadd53eda0ecd1 RNDateTimePicker: 65e1d202799460b286ff5e741d8baf54695e8abd - RNDeviceInfo: 475a4c447168d0ad4c807e48ef5e0963a0f4eb1b + RNDeviceInfo: 4701f0bf2a06b34654745053db0ce4cb0c53ada7 RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8 RNFBAnalytics: 1aff53fe7ebd26405ac5e4c99011ccd0a473bf77 RNFBApp: e3e4af6906a891d46af60340b4313b63eb082de9 @@ -1265,12 +1265,12 @@ SPEC CHECKSUMS: RNImageCropPicker: 648356d68fbf9911a1016b3e3723885d28373eda RNPermissions: dcdb7b99796bbeda6975a6e79ad519c41b251b1c RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c - RNReanimated: bec7736122a268883bdede07f1bf9cf4b40158db + RNReanimated: 6668b0587bebd4b15dd849b99e5a9c70fc12ed95 RNScreens: 4a1af06327774490d97342c00aee0c2bafb497b7 - RNSha256: a6bc3640a34eb41907e363828b9ec742c274298d + RNSha256: 80bea5b2e7005f813f6438cb41e573b3d531146c RNSketchCanvas: 124a2a11b9bce418ef6e34262fc163d00b5f714b RNSoundPlayer: 369105c565b8fe6ea0a43fc882dc81eba444e842 - RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315 + RNSVG: 3a79c0c4992213e4f06c08e62730c5e7b9e4dc17 RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8 ScanditBarcodeCapture: 26e343653b28a92c1bf34a5d571c8a03c2e6e5a2 ScanditCaptureCore: 0c5c3ce4440b980271235ff935a1752a9bcd970c @@ -1281,12 +1281,12 @@ SPEC CHECKSUMS: Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5 StructuredLogAssistantIOS: d48c327b3b67366d954435891dc1e748a6aeb9c1 SumoSDK: e79d830e9a4b14e6d32c07719e7562b30f1b535f - SwiftProtobuf: 40bd808372cb8706108f22d28f8ab4a6b9bc6989 + SwiftProtobuf: afced68785854575756db965e9da52bbf3dc45e7 TextServiceProto: 8af27cc52ab3421f79c94e7c7fdcd6f3579b5fdc TOCropViewController: edfd4f25713d56905ad1e0b9f5be3fbe0f59c863 - VisionCamera: e9a95af10e00aaebe99d648ff4519fd336e16ffe + VisionCamera: 4cfd685b1e671fea4aa0400905ab397f0e972210 walmart-react-native-sumo-sdk: 0c9a5bd5f514bce7eed9f4a31b5d7b76ad6749a8 - wifi-store-locator: 56782767136ebc63eeafa5b8a368a0321d8e1969 + wifi-store-locator: 70d85f3bdba3ce830d9b9fc510c4bc27b21a6694 Yoga: dc109b79db907f0f589fc423e991b09ec42d2295 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
Update podfile.lock
Update podfile.lock
567a0feb43d7df5f58e40b0ad7cdd9aa8c4af87b
--- app.config.US.ts @@ -63,11 +63,7 @@ const CONFIG: ExpoConfig = { }, assetBundlePatterns: ["**/*"], // Will be available on Constants.expoConfig.extra - extra: { - eas: { - projectId: "8235a61b-e3eb-4115-8f4b-c41536e33707", - }, - }, + extra: {}, icon: Environment.select({ production: `${__dirname}/assets/images/icon.png`, beta: `${__dirname}/assets/images/icon-beta.png`,
chore: remove eas project id from config
chore: remove eas project id from config
ad9a8d780ed0e819d52c771f97ae18c6104c6e8e
--- packages/expo-config-plugins/CHANGELOG.md @@ -3,16 +3,6 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -# 0.2.0 (2025-04-30) - -### Features - -- add expo-config-plugins package ([3df3f69](https://gecgithub01.walmart.com/allspark/allspark/commit/3df3f69eb66a93e3e57722f5c8c7c096d19da74a)) - -### Reverts - -- Revert "chore: Add post-install script in Podfile (#209)" (#228) ([99cd313](https://gecgithub01.walmart.com/allspark/allspark/commit/99cd313fd6f3241a2514616abaf971db130119b6)), closes [#209](https://gecgithub01.walmart.com/allspark/allspark/issues/209) [#228](https://gecgithub01.walmart.com/allspark/allspark/issues/228) - ## [0.1.11](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/expo-config-plugins@0.1.10...@walmart/expo-config-plugins@0.1.11) (2025-04-28) ### Reverts --- packages/expo-config-plugins/package.json @@ -1,7 +1,7 @@ { "name": "@walmart/expo-config-plugins", "packageManager": "yarn@4.1.1", - "version": "0.2.0", + "version": "0.1.11", "description": "Expo config plugins for me@apps", "main": "lib/index.js", "types": "lib/index.d.ts", --- packages/me-at-walmart-athena-queries/CHANGELOG.md @@ -3,50 +3,6 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -# 6.33.0 (2025-04-30) - -### Bug Fixes - -- add id type and user id default to get associate by id query ([1cc50c2](https://gecgithub01.walmart.com/allspark/allspark/commit/1cc50c25577c7674b843da4f1ddf1b6a689d3778)) -- **athena:** Fix lint ([a820b73](https://gecgithub01.walmart.com/allspark/allspark/commit/a820b73ea1c221511c5745a7f04d96e035039fe7)) -- fix home queries and add back to yml file ([9a980c4](https://gecgithub01.walmart.com/allspark/allspark/commit/9a980c4da0fd3e986a3f7a73ccf56e5a43022378)) -- fix main and types reference in package ([3f2e634](https://gecgithub01.walmart.com/allspark/allspark/commit/3f2e63490d55a2bd75fc85f464145b7920e43f60)) -- **SSMP-7095:** adding storeConfig graphql SSMP-7095 ([0fd212e](https://gecgithub01.walmart.com/allspark/allspark/commit/0fd212e435ce5920c5aa3174e6ce604fdfcedbce)) -- update associate query fix and deprecation in older package ([a1a3c38](https://gecgithub01.walmart.com/allspark/allspark/commit/a1a3c386e3f570c28809827c2f5026742fecee61)) -- update athena queries for schema changes ([9efdf74](https://gecgithub01.walmart.com/allspark/allspark/commit/9efdf74e68f37a88d3a93f5b1c25f1f6069df80f)) -- updating the script again ([61a0ada](https://gecgithub01.walmart.com/allspark/allspark/commit/61a0ada58960004cb8a6ffc117c7305d1faadc8a)) - -### Features - -- accept functions in feature module config. beta version bump ([d08cfdd](https://gecgithub01.walmart.com/allspark/allspark/commit/d08cfdd2ee25b12b11f508076d022cfe73236a5e)) -- add fallback query for logged in user using tms 1 ([8648851](https://gecgithub01.walmart.com/allspark/allspark/commit/86488514586f128580dad7f4755767690f22cbe2)) -- add get associate by id query ([c3ce250](https://gecgithub01.walmart.com/allspark/allspark/commit/c3ce25077cf7bbe23b8ca60c3a61667985cb0072)) -- add me at walmart common package ([7401985](https://gecgithub01.walmart.com/allspark/allspark/commit/7401985a815bea03a8ee70a4c57f2d7d408a6922)) -- adding more required fields to businessunitbycountryandnumber ([1035f38](https://gecgithub01.walmart.com/allspark/allspark/commit/1035f38129e492830d54a11914324dbcf2fd78ab)) -- allspark-4663 - update query with new fields for w+ mini app ([9ddc6a8](https://gecgithub01.walmart.com/allspark/allspark/commit/9ddc6a8cf754aa14e8001a2db38eccbf1aefc4aa)) -- **athena:** add query for preference update. ([eff65f2](https://gecgithub01.walmart.com/allspark/allspark/commit/eff65f2780bd03ddd7c4773e5f314f5cfa6b4d0e)) -- **athena:** lint fix ([e023dc7](https://gecgithub01.walmart.com/allspark/allspark/commit/e023dc74cbe02c8fca6a24aa7bfa19ab647f7e7e)) -- **athena:** update import statement for upsert ([6d165f3](https://gecgithub01.walmart.com/allspark/allspark/commit/6d165f398d01f86b04538db9fa1a802e86066aa8)) -- **athena:** update mutation. ([be281e3](https://gecgithub01.walmart.com/allspark/allspark/commit/be281e366be593b0f5af6dd35e2fe7f04449b7f1)) -- **query:** adding timezone id and standard to businessunitbycountryandnumber query ([4ca6ba1](https://gecgithub01.walmart.com/allspark/allspark/commit/4ca6ba1b9861af9b82bcf71a26dc39fbeb0fd05e)) -- refactor impersonation form to drop domain and site requirements ([508e9fc](https://gecgithub01.walmart.com/allspark/allspark/commit/508e9fc9b96448cab16d91efe26bd31ba89ee29c)) -- **ui:** added getSupplyChainShifts query ([f1a2860](https://gecgithub01.walmart.com/allspark/allspark/commit/f1a28602b3fb9b94ac1d14150dc7538cea7cf489)) -- **ui:** added query for supplyhainGetTeamsByStore ([9143ea4](https://gecgithub01.walmart.com/allspark/allspark/commit/9143ea4e7fa447afaf1efcae76d54a642efa2565)) -- **ui:** exporting added queries ([8cb46fc](https://gecgithub01.walmart.com/allspark/allspark/commit/8cb46fc33ff24b927329e2a3edfc8796fa0a99bd)) -- **ui:** generate the query for associate manager preference data ([dccf04d](https://gecgithub01.walmart.com/allspark/allspark/commit/dccf04d6a778e7d10b5b693f07778db0a97da0fd)) -- **ui:** generate the query for getTeamsbystore ([5e95b55](https://gecgithub01.walmart.com/allspark/allspark/commit/5e95b55545b019b27fe41ed5b547b0dce741a29c)) -- **ui:** generate the query for getTeamsbystore ([268b2e2](https://gecgithub01.walmart.com/allspark/allspark/commit/268b2e241217b5f493b124d53095b8f693a85f49)) -- **ui:** generate the query for preference update ([a84a80b](https://gecgithub01.walmart.com/allspark/allspark/commit/a84a80b0bd91a2723c261ae1b4336f4ce87d547e)) -- **ui:** resolved conflicts ([91b4654](https://gecgithub01.walmart.com/allspark/allspark/commit/91b4654f9207e6be807aab5cddc4b72c33dfb6b5)) -- **ui:** resolved conflicts ([0d0cc7b](https://gecgithub01.walmart.com/allspark/allspark/commit/0d0cc7b3d1d7e715ec5ce0487d44451b262fdd09)) -- **ui:** rremove unused fields in the upsert preference query ([ec92160](https://gecgithub01.walmart.com/allspark/allspark/commit/ec921604ad6ac5b3af235b73acc280dceeb8b0b8)) -- **ui:** update manager experience queries to remove unused fields ([#211](https://gecgithub01.walmart.com/allspark/allspark/issues/211)) ([7e59d0e](https://gecgithub01.walmart.com/allspark/allspark/commit/7e59d0ebd3f9488cabddf38009a8057ad8772be8)) -- **ui:** update manager upsert query ([dd6cbd4](https://gecgithub01.walmart.com/allspark/allspark/commit/dd6cbd442723c9e6034556b3b30baa83dc969fed)) -- **ui:** update me at walmart athena queries index file update ([06d340e](https://gecgithub01.walmart.com/allspark/allspark/commit/06d340ee4501f4655c382ccb73e3961264fa0611)) -- update query for additonal teaming fields ([a3641cb](https://gecgithub01.walmart.com/allspark/allspark/commit/a3641cb5d577c6a42740b2f93d33190ce718986b)) -- update to lerna v7. use npm workspaces ([cda6228](https://gecgithub01.walmart.com/allspark/allspark/commit/cda6228baa44f31ca64592bc537c60cc3cf7b4b8)) -- **user:** remove userinfo source ([9bfa5e1](https://gecgithub01.walmart.com/allspark/allspark/commit/9bfa5e1478d191c60a7474944e963dea38964e7c)) - ## [6.32.1](https://gecgithub01.walmart.com/allspark/allspark/compare/@walmart/me-at-walmart-athena-queries@6.32.0...@walmart/me-at-walmart-athena-queries@6.32.1) (2025-04-17) **Note:** Version bump only for package @walmart/me-at-walmart-athena-queries --- packages/me-at-walmart-athena-queries/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/me-at-walmart-athena-queries", - "version": "6.33.0", + "version": "6.32.1", "description": "> TODO: description", "author": "rlane1 <russell.lane@walmart.com>", "homepage": "",
feat(ui): revert the package updates
feat(ui): revert the package updates
7aa86d444a51f97077dd89c8ef65a99313e41afe
--- package-lock.json @@ -38,7 +38,7 @@ "@walmart/ask-sam-mini-app": "1.3.62", "@walmart/attendance-mini-app": "0.86.0", "@walmart/config-components": "4.1.0-rc.4", - "@walmart/copilot-mini-app": "1.5.0", + "@walmart/copilot-mini-app": "0.0.3-feat-794d7c1", "@walmart/core-services": "~2.0.19", "@walmart/core-services-allspark": "~2.10.8", "@walmart/core-utils": "~2.0.5", @@ -4926,9 +4926,9 @@ } }, "node_modules/@walmart/copilot-mini-app": { - "version": "1.5.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.5.0.tgz", - "integrity": "sha512-JP+a/YoXngVArOa9xm6RsGjqQFB/N29n94GCDtbjDRcU3oPWfN5bT96r8M9vS8BVlNIoTCu1JXT9gNDJaPn9pA==", + "version": "0.0.3-feat-794d7c1", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-0.0.3-feat-794d7c1.tgz", + "integrity": "sha512-wVI/Vne0HCghpd+auZMbBLSRP2mBQchk4an6GlrlPkEwp0zV7xl1ZlMBNta9A5/P/I+xDFyUqGZsx8EO6GfAnA==", "hasInstallScript": true, "peerDependencies": { "@react-navigation/native": "^6.0.0", @@ -25170,9 +25170,9 @@ } }, "@walmart/copilot-mini-app": { - "version": "1.5.0", - "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-1.5.0.tgz", - "integrity": "sha512-JP+a/YoXngVArOa9xm6RsGjqQFB/N29n94GCDtbjDRcU3oPWfN5bT96r8M9vS8BVlNIoTCu1JXT9gNDJaPn9pA==" + "version": "0.0.3-feat-794d7c1", + "resolved": "https://npme.walmart.com/@walmart/copilot-mini-app/-/copilot-mini-app-0.0.3-feat-794d7c1.tgz", + "integrity": "sha512-wVI/Vne0HCghpd+auZMbBLSRP2mBQchk4an6GlrlPkEwp0zV7xl1ZlMBNta9A5/P/I+xDFyUqGZsx8EO6GfAnA==" }, "@walmart/core-services": { "version": "2.0.19",
fix(DWORK-149): add package-lock
fix(DWORK-149): add package-lock
6a622fd484c355bfa3421e2402d5709b910e3201
--- package-lock.json @@ -36,7 +36,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.0.11", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.56", + "@walmart/ask-sam-mini-app": "1.3.58", "@walmart/attendance-mini-app": "0.59.0", "@walmart/config-components": "4.1.0-rc.2", "@walmart/core-services": "~1.4.11", @@ -4766,9 +4766,9 @@ } }, "node_modules/@walmart/ask-sam-mini-app": { - "version": "1.3.56", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.56.tgz", - "integrity": "sha512-cd45ZIOx5aqC58G0UEIWTaBo7apsXB1yt/SqUNk5D94rFZbsGV6Oa1TxNy+EBViyv6av9sKzW5lA6uJUlzYHMw==", + "version": "1.3.58", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.58.tgz", + "integrity": "sha512-2nU7096bJ3j2pw9Tvlx5mo5ISHnxC+51bbFm0ukhrvG3IgkKLcpW1dPWPzHZK8eubaMI5YsaCvzWPA0iZh0QPA==", "license": "NONE", "dependencies": { "apisauce": "^1.1.2", @@ -25219,9 +25219,9 @@ } }, "@walmart/ask-sam-mini-app": { - "version": "1.3.56", - "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.56.tgz", - "integrity": "sha512-cd45ZIOx5aqC58G0UEIWTaBo7apsXB1yt/SqUNk5D94rFZbsGV6Oa1TxNy+EBViyv6av9sKzW5lA6uJUlzYHMw==", + "version": "1.3.58", + "resolved": "https://npme.walmart.com/@walmart/ask-sam-mini-app/-/ask-sam-mini-app-1.3.58.tgz", + "integrity": "sha512-2nU7096bJ3j2pw9Tvlx5mo5ISHnxC+51bbFm0ukhrvG3IgkKLcpW1dPWPzHZK8eubaMI5YsaCvzWPA0iZh0QPA==", "requires": { "apisauce": "^1.1.2", "axios-cache-adapter": "^2.7.3", --- package.json @@ -78,7 +78,7 @@ "@walmart/allspark-neon-core": "0.1.31", "@walmart/amp-mini-app": "1.0.11", "@walmart/ask-sam-chat-components": "^0.2.7", - "@walmart/ask-sam-mini-app": "1.3.56", + "@walmart/ask-sam-mini-app": "1.3.58", "@walmart/attendance-mini-app": "0.59.0", "@walmart/config-components": "4.1.0-rc.2", "@walmart/core-services": "~1.4.11",
Ask Sam Version Update
Ask Sam Version Update
67cefffda6f1307a453712dd1843cf8ed05efea6
--- package.json @@ -151,7 +151,7 @@ "@walmart/returns-mini-app": "4.17.8", "@walmart/rfid-scan-mini-app": "2.13.2", "@walmart/rn-mobile-sdk-pairing": "2.1.8", - "@walmart/rn-receiving-mini-app": "2.5.25", + "@walmart/rn-receiving-mini-app": "2.5.31", "@walmart/roster-mini-app": "3.6.0", "@walmart/schedule-mini-app": "2.6.1", "@walmart/shelfavailability-mini-app": "1.5.47", --- yarn.lock @@ -8744,7 +8744,7 @@ __metadata: "@walmart/returns-mini-app": "npm:4.17.8" "@walmart/rfid-scan-mini-app": "npm:2.13.2" "@walmart/rn-mobile-sdk-pairing": "npm:2.1.8" - "@walmart/rn-receiving-mini-app": "npm:2.5.25" + "@walmart/rn-receiving-mini-app": "npm:2.5.31" "@walmart/roster-mini-app": "npm:3.6.0" "@walmart/schedule-mini-app": "npm:2.6.1" "@walmart/shelfavailability-mini-app": "npm:1.5.47" @@ -9390,9 +9390,9 @@ __metadata: languageName: node linkType: hard -"@walmart/rn-receiving-mini-app@npm:2.5.25": - version: 2.5.25 - resolution: "@walmart/rn-receiving-mini-app@npm:2.5.25::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Frn-receiving-mini-app%2F-%2F%40walmart%2Frn-receiving-mini-app-2.5.25.tgz" +"@walmart/rn-receiving-mini-app@npm:2.5.31": + version: 2.5.31 + resolution: "@walmart/rn-receiving-mini-app@npm:2.5.31" dependencies: "@walmart/atlas-rn-ui-components": "npm:1.3.22" "@walmart/loadquality-mini-app": "npm:2.0.30" @@ -9421,7 +9421,7 @@ __metadata: react-native-svg: ">=14.1.0" react-native-svg-transformer: ">=1.3.0" react-native-vision-camera: "*" - checksum: 10c0/ca3ff42a50323557c63ddaaef0edbe0ec01bd41fb54f37ec69ad0f3d2dbc75639e58ba558190a813c272f92258f686032f44fec6b1d46e65db1483ae5ea8113f + checksum: 10c0/f0a23dc7a85e49b38b5b5a86aa14c59df3285b50169c2f21bfd10c639f0ff254bf714a7e64a26227f35afc7034f70dbe5bf724ef3a20a70dcdfaccd0576881fc languageName: node linkType: hard
fix(receiving): drop 33 hotfixes (#4730)
fix(receiving): drop 33 hotfixes (#4730) * chore: bump receiving @ 2.5.26 * chore: bump receiving @ 2.5.27 * chore: bump receiving @ 2.5.28 * chore: bump receiving @ 2.5.29 * chore: bump receiving @ 2.5.30 * chore: bump receiving @ 2.5.31 * chore: retrigger build --------- Co-authored-by: Abhishek Dourbi <abhishek.dourbi@walmart.com> Co-authored-by: Maksym Novakh - m0n09mr <Maksym.Novakh0@walmart.com>
7236f7ae3b7a52af9d29af3dd41b226a88423659
--- example/src/Onboarding/constants.ts @@ -1,2 +0,0 @@ -export const FEATURE_ID = 'onboarding' as const; -export const FEATURE_NAME = 'Onboarding' as const; --- example/src/Onboarding/environment.ts @@ -1,10 +0,0 @@ -import {InferEnvironmentFromMap} from '@walmart/allspark-foundation/Environment'; - -export const OnboardingEnvironment = { - dev: {testing: true}, - prod: {testing: false}, -}; - -export type IFeature1Environment = InferEnvironmentFromMap< - typeof OnboardingEnvironment ->; --- example/src/Onboarding/feature.ts @@ -1,4 +0,0 @@ -import {AllsparkFeature} from '@walmart/allspark-foundation'; -import {FEATURE_ID} from './constants'; - -export const Onboarding = new AllsparkFeature(FEATURE_ID); --- example/src/Onboarding/index.tsx @@ -1,8 +0,0 @@ -import {FEATURE_NAME} from './constants'; -import {Onboarding} from './feature'; -import {OnboardingScreens} from './screens'; - -export default Onboarding.createModule({ - name: FEATURE_NAME, - screens: OnboardingScreens, -}); --- example/src/Onboarding/screens/container.tsx @@ -1,29 +0,0 @@ -import {useNavigation} from '@react-navigation/native'; -import {useEffect} from 'react'; -import {Onboarding} from '../feature'; -import {OnboardingLogger, OnboardingTelemetry} from '../services'; - -export const ContainerScreen = Onboarding.createScreen( - () => { - const navigation = useNavigation(); - - useEffect(() => { - OnboardingLogger.info('test feature log - container screen loaded'); - OnboardingTelemetry.logEvent('test_event', { - param1: 'true', - }); - navigation.setOptions({title: 'Onboarding Container'}); - }, []); - - return <></>; - }, - { - options: { - title: 'Onboarding Container', - animationEnabled: false, - }, - linking: { - path: 'container/:userType', - }, - }, -); --- example/src/Onboarding/screens/index.ts @@ -1,5 +0,0 @@ -import {OnboardingEntryScreen} from './onboardingEntryScreen'; - -export const OnboardingScreens = { - 'onboarding.home': OnboardingEntryScreen, -}; --- example/src/Onboarding/screens/onboardingEntryScreen.tsx @@ -1,54 +0,0 @@ -import React from 'react'; -import {useNavigation} from '@react-navigation/native'; -import {useEffect} from 'react'; -import {Onboarding} from '../feature'; -import {OnboardingLogger, OnboardingTelemetry} from '../services'; -import {TeamOnboardingScreen} from '@walmart/allspark-foundation/Components'; -import {Icons} from '@walmart/gtp-shared-components/dist'; - -const teamOnboardingCards = [ - { - icon: <Icons.AssociateIcon size="medium" color="#0071DC" />, - title: 'Centralized information', - description: - 'Easily manage team attendance, assignments, and work progress', - }, - { - icon: <Icons.AssociateIcon size="medium" color="#0071DC" />, - title: 'Insights and recommended actions', - description: - 'Get smart guidance to help you keep your team and the shift on track', - }, -]; - -export const OnboardingEntryScreen = Onboarding.createScreen( - () => { - const navigation = useNavigation(); - - useEffect(() => { - OnboardingLogger.info('test feature log - onboarding screen loaded'); - OnboardingTelemetry.logEvent('test_event', { - param1: 'true', - }); - navigation.setOptions({title: 'Hub Onboarding'}); - }, []); - - return ( - <TeamOnboardingScreen - heading="A new way to manage your Team and Work" - description="Get started by selecting your teams" - teamOnboardingCardsInfo={teamOnboardingCards} - buttonText="Choose teams" - /> - ); - }, - { - options: { - title: 'Hub Onboarding', - animationEnabled: false, - }, - linking: { - path: 'onboarding/:userType', - }, - }, -); --- example/src/Onboarding/services.ts @@ -1,4 +0,0 @@ -import {Onboarding} from './feature'; - -export const OnboardingLogger = Onboarding.createLogger({}); -export const OnboardingTelemetry = Onboarding.createTelemetry({}); --- example/src/Onboarding/translations.ts @@ -1,11 +0,0 @@ -import {Onboarding} from './feature'; - -const English = {greeting: 'Hello!'}; -const Spanish = {greeting: 'Hola!'}; - -export const OnboardingTranslations = Onboarding.createTranslations({ - 'en-US': English, - 'es-MX': Spanish, -}); - -export const OnboardingTranslationClient = Onboarding.createTranslationClient(); --- example/src/teamHub/screens/onboarding.tsx @@ -1,25 +1,55 @@ +import React from 'react'; import {useNavigation} from '@react-navigation/native'; import {useEffect} from 'react'; import {TeamHub} from '../feature'; import {TeamHubLogger, TeamHubTelemetry} from '../services'; +import {TeamOnboardingScreen} from '@walmart/allspark-foundation/Components'; +import {Icons} from '@walmart/gtp-shared-components/dist'; -export const OnboardingScreen = TeamHub.createScreen( +const teamOnboardingCards = [ + { + icon: <Icons.AssociateIcon size="medium" color="#0071DC" />, + title: 'Centralized information', + description: + 'Easily manage team attendance, assignments, and work progress', + }, + { + icon: <Icons.AssociateIcon size="medium" color="#0071DC" />, + title: 'Insights and recommended actions', + description: + 'Get smart guidance to help you keep your team and the shift on track', + }, +]; + +export const OnboardingEntryScreen = TeamHub.createScreen( () => { const navigation = useNavigation(); + const handleNavigation = () => { + //TODO: will be add when team selection screen is added + }; + useEffect(() => { TeamHubLogger.info('test feature log - onboarding screen loaded'); TeamHubTelemetry.logEvent('test_event', { param1: 'true', }); - navigation.setOptions({title: 'Team Onboarding'}); + navigation.setOptions({title: 'Hub Onboarding'}); }, []); - return <></>; + return ( + <TeamOnboardingScreen + heading="A new way to manage your Team and Work" + description="Get started by selecting your teams" + teamOnboardingCardsInfo={teamOnboardingCards} + buttonText="Choose teams" + handlePressButton={handleNavigation} + /> + ); }, { options: { - title: 'Team Onboarding', + title: 'Hub Onboarding', animationEnabled: false, }, linking: {
feat: removed onboarding feature
feat: removed onboarding feature
b23e15e152cf2df2e89c513cb7023a03313585c9
--- package.json @@ -32,7 +32,7 @@ "start:minified": "expo start --no-dev --minify", "postinstall": "yarn build", "start": "ts-node scripts/runWithVariablePrompt.ts 'expo start --dev-client'", - "prebuild": "ts-node scripts/runWithVariablePrompt.ts 'expo prebuild --platform android --clean' --skipContext", + "prebuild": "ts-node scripts/runWithVariablePrompt.ts 'expo prebuild --clean' --skipContext", "run:ios": "ts-node scripts/runWithVariablePrompt.ts 'expo run:ios'", "run:android": "ts-node scripts/runWithVariablePrompt.ts 'expo run:android'", "test": "jest --no-watchman",
chore: revert prebuild command
chore: revert prebuild command
e98d849cf3faba18e03d8830e6ecc9d86e3b53ce
--- jest.config.js @@ -9,10 +9,10 @@ module.exports = { ], coverageThreshold: { global: { - statements: 19.5, - branches: 11.11, - functions: 12, - lines: 19, + statements: 14.11, + branches: 3.55, + functions: 6.03, + lines: 14.32, }, }, transformIgnorePatterns: [ --- jest.config.js @@ -9,10 +9,10 @@ module.exports = { ], coverageThreshold: { global: { - statements: 19.5, - branches: 11.11, - functions: 12, - lines: 19, + statements: 14.11, + branches: 3.55, + functions: 6.03, + lines: 14.32, }, }, transformIgnorePatterns: [
update the jest config for time being until we have the unit tests fixed
update the jest config for time being until we have the unit tests fixed
c8dbb4599918f68a5b529cfe89a10e0b421c84b4
--- __tests__/screens/RosterScreenTest.tsx @@ -1,5 +1,3 @@ -// eslint-disable-next-line @typescript-eslint/no-unused-vars -import React from 'react'; import {render, screen, fireEvent} from '@testing-library/react-native'; import {RosterScreen} from '../../src/screens/RosterScreen'; import {useNavigation} from '@react-navigation/native'; --- __tests__/screens/RosterScreenTest.tsx @@ -1,5 +1,3 @@ -// eslint-disable-next-line @typescript-eslint/no-unused-vars -import React from 'react'; import {render, screen, fireEvent} from '@testing-library/react-native'; import {RosterScreen} from '../../src/screens/RosterScreen'; import {useNavigation} from '@react-navigation/native';
removing unused import
removing unused import
d497c7d771a8582b7cb95cdfb01964716e9d9b5d
--- .yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch @@ -0,0 +1,13 @@ +diff --git a/android/src/main/java/com/wm/wmscanner/base/ScannerViewManager.kt b/android/src/main/java/com/wm/wmscanner/base/ScannerViewManager.kt +index 151853df7dedfce4804a4c6b68e5dfd485146508..1bd5652c4f351ce1b306c52751f8dda68bd25e7d 100644 +--- a/android/src/main/java/com/wm/wmscanner/base/ScannerViewManager.kt ++++ b/android/src/main/java/com/wm/wmscanner/base/ScannerViewManager.kt +@@ -25,7 +25,7 @@ import com.wm.PermissionEventSubscriber + import com.wm.wmscanner.model.ScannerError + import com.wm.wmscanner.react.R + +-abstract class ScannerViewManager : SimpleViewManager<ScannerView?>(), PermissionListener, ++abstract class ScannerViewManager : SimpleViewManager<ScannerView>(), PermissionListener, + LifecycleEventListener { + + private var themedReactContext: ThemedReactContext? = null --- package.json @@ -129,7 +129,7 @@ "@walmart/react-native-encrypted-storage": "~1.1.3", "@walmart/react-native-env": "~6.3.28", "@walmart/react-native-logger": "1.35.0", - "@walmart/react-native-scanner-3.0": "0.10.7", + "@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch", "@walmart/react-native-shared-navigation": "~6.3.28", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.7.4", --- yarn.lock @@ -7939,7 +7939,7 @@ __metadata: "@walmart/react-native-encrypted-storage": "npm:~1.1.3" "@walmart/react-native-env": "npm:~6.3.28" "@walmart/react-native-logger": "npm:1.35.0" - "@walmart/react-native-scanner-3.0": "npm:0.10.7" + "@walmart/react-native-scanner-3.0": "patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch" "@walmart/react-native-shared-navigation": "npm:~6.3.28" "@walmart/react-native-store-map": "npm:0.3.7" "@walmart/react-native-sumo-sdk": "npm:2.7.4" @@ -8528,6 +8528,15 @@ __metadata: languageName: node linkType: hard +"@walmart/react-native-scanner-3.0@patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch": + version: 0.10.7 + resolution: "@walmart/react-native-scanner-3.0@patch:@walmart/react-native-scanner-3.0@npm%3A0.10.7#~/.yarn/patches/@walmart-react-native-scanner-3.0-npm-0.10.7-9aedc7354c.patch::version=0.10.7&hash=85efbc" + peerDependencies: + react-native: ">=0.47.1" + checksum: 10c0/b13aa50b5c56750e69cf5fefb1b2825381cdeed1c58d9f83dab6f2b9a87de811a3e6127a22478612b2881db089037661074e10f55edb5bfab3051c03fdd0c640 + languageName: node + linkType: hard + "@walmart/react-native-shared-navigation@npm:~6.3.28": version: 6.3.28 resolution: "@walmart/react-native-shared-navigation@npm:6.3.28"
add patch for scanner for rn 75
add patch for scanner for rn 75
c5f772bf28cbdbd87345c9cc93d8af18ef151fe3
--- __tests__/components/MyWalmartv2/RosterList.test.tsx @@ -10,6 +10,10 @@ jest.mock('../../../src/common', () => ({ jest.mock('../../../src/logger/analytics', () => ({analytics: jest.fn()})); +jest.mock('@walmart/me-at-walmart-common', () => ({ + useSidekickAssistantFABBottomOffset: jest.fn(() => 88), +})); + jest.mock('@shopify/flash-list', () => ({ FlashList: ({data, renderItem, onEndReached, onRefresh, ListEmptyComponent, ...props}: any) => { const {ScrollView, TouchableOpacity, View} = require('react-native'); --- package.json @@ -85,7 +85,7 @@ "@walmart/gtp-shared-components": "2.3.0-rc.0", "@walmart/gtp-shared-components-3": "npm:@walmart/gtp-shared-components@3.0.0-beta.7", "@walmart/me-at-walmart-athena-queries": "6.37.0", - "@walmart/me-at-walmart-common": "6.36.0-alpha.7", + "@walmart/me-at-walmart-common": "6.37.0", "@walmart/me-at-walmart-container": "6.29.0-alpha.0", "@walmart/my-walmart-hub": "1.4.0", "@walmart/react-native-encrypted-storage": "~1.1.3", --- src/components/MyWalmartv2/Common/RosterList/RosterList.tsx @@ -7,10 +7,10 @@ import {RosterAssociate} from "../../types"; import {RosterListItem} from "../RosterListItem/RosterListItem"; import {RosterEmptyState} from "../RosterEmptyState/RosterEmptyState"; import {RosterErrorState} from "../RosterErrorState/RosterErrorState"; -import {useSafeAreaInsets} from "react-native-safe-area-context"; import {translationClient} from "../../../../common"; import {analytics} from "../../../../logger/analytics"; import {rosterTelemetry} from "../../../../common"; +import {useSidekickAssistantFABBottomOffset} from "@walmart/me-at-walmart-common"; /** * Props for the RosterList component @@ -96,7 +96,7 @@ export const RosterList = memo<RosterListProps>( showsVerticalScrollIndicator = false, onAssociatePress, }) => { - const _bottomInset = useSafeAreaInsets().bottom; + const fabBottomOffset = useSidekickAssistantFABBottomOffset(true); const {t} = translationClient.useTranslation(); useEffect(() => { @@ -263,7 +263,7 @@ export const RosterList = memo<RosterListProps>( styles.contentContainer, contentContainerStyle, ]} - contentInset={{bottom: _bottomInset}} + contentInset={{bottom: fabBottomOffset}} refreshing={false} onRefresh={_onRefresh} showsVerticalScrollIndicator={showsVerticalScrollIndicator} --- src/screens/MyWalmartV2/AssociateRosterDetailScreen/AssociateRosterDetailScreen.tsx @@ -20,7 +20,7 @@ import { rosterTelemetry, translationClient } from "../../../common"; import { useSelector } from "react-redux"; import { UserSelectors } from "@walmart/allspark-foundation/User"; import { Divider } from "@walmart/gtp-shared-components/dist"; -import { useSidekickAssistantFAB } from "@walmart/me-at-walmart-common"; +import { useSidekickAssistantFAB, FooterAvoidingSidekickAssistantFAB } from "@walmart/me-at-walmart-common"; import { analytics } from "../../../logger/analytics"; export const AssociateRosterDetailScreen = memo<RosterDetailScreenProps>( @@ -80,7 +80,6 @@ export const AssociateRosterDetailScreen = memo<RosterDetailScreenProps>( update({ visible: !refreshing || !associatesConfig?.loading || isScreenInitialized, - insets: { bottom: 80 }, }); // eslint-disable-next-line react-hooks/exhaustive-deps }, [refreshing, associatesConfig?.loading, isScreenInitialized]); @@ -278,23 +277,25 @@ export const AssociateRosterDetailScreen = memo<RosterDetailScreenProps>( associatesConfig?.listStyle, ]} /> - <View> - <Divider /> - <View - id="group-message-button" - style={styles.buttonContainer} - > - <ComponentsModule.SharedComponents.Component - id="wmConnect.GroupMessageButton" - props={{ - teamIds: config.teamIds || [], - disabled: - !config.userIsInRoster || - !config.userIsImpersonatedOnDev, - }} - /> + <FooterAvoidingSidekickAssistantFAB> + <View> + <Divider /> + <View + id="group-message-button" + style={styles.buttonContainer} + > + <ComponentsModule.SharedComponents.Component + id="wmConnect.GroupMessageButton" + props={{ + teamIds: config.teamIds || [], + disabled: + !config.userIsInRoster || + !config.userIsImpersonatedOnDev, + }} + /> + </View> </View> - </View> + </FooterAvoidingSidekickAssistantFAB> </View> </> )} --- yarn.lock @@ -8241,16 +8241,17 @@ __metadata: languageName: node linkType: hard -"@walmart/me-at-walmart-common@npm:6.36.0-alpha.7": - version: 6.36.0-alpha.7 - resolution: "@walmart/me-at-walmart-common@npm:6.36.0-alpha.7::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fme-at-walmart-common%2F-%2F%40walmart%2Fme-at-walmart-common-6.36.0-alpha.7.tgz" +"@walmart/me-at-walmart-common@npm:6.37.0": + version: 6.37.0 + resolution: "@walmart/me-at-walmart-common@npm:6.37.0::__archiveUrl=https%3A%2F%2Fnpm.ci.artifacts.walmart.com%3A443%2Fartifactory%2Fapi%2Fnpm%2Fnpme-npm%2F%40walmart%2Fme-at-walmart-common%2F-%2F%40walmart%2Fme-at-walmart-common-6.37.0.tgz" + dependencies: + "@reduxjs/toolkit": "npm:^1.9.7" + redux-saga: "npm:^1.2.3" peerDependencies: - "@reduxjs/toolkit": "*" - "@walmart/allspark-foundation": ">=6.26.0" - react: "*" - react-native: "*" - redux-saga: "*" - checksum: 10c0/e508285249ca29583c0e424f3b9fb55d6ac20b9adc5dfd4908c11a98b398dca81ce7eeed295084391872b619e8e6648cd82422578331bbb6414487c5e0d6e2b9 + "@walmart/allspark-foundation": 7.x + react: 19.x + react-native: 0.79.x + checksum: 10c0/a12f9111a9eb6f5f4ff9c321387f4f8d3065f25ae6adfeb063f6850bd82ffa41aae57663d44137ae2736b6a57efb2bb25b316062545f546d2487b5531bc89d74 languageName: node linkType: hard @@ -8421,7 +8422,7 @@ __metadata: "@walmart/gtp-shared-components": "npm:2.3.0-rc.0" "@walmart/gtp-shared-components-3": "npm:@walmart/gtp-shared-components@3.0.0-beta.7" "@walmart/me-at-walmart-athena-queries": "npm:6.37.0" - "@walmart/me-at-walmart-common": "npm:6.36.0-alpha.7" + "@walmart/me-at-walmart-common": "npm:6.37.0" "@walmart/me-at-walmart-container": "npm:6.29.0-alpha.0" "@walmart/my-walmart-hub": "npm:1.4.0" "@walmart/react-native-encrypted-storage": "npm:~1.1.3"
feat(ui): sidekick fab demo feedback fix
feat(ui): sidekick fab demo feedback fix
0b07a24ee24607ae64ff538c13db347d1ec964e7
--- ios/AllSpark.xcodeproj/project.pbxproj @@ -728,6 +728,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; + CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F7HDEWM8SU; @@ -760,7 +761,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = AllSpark/AllSpark.entitlements; - CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_IDENTITY = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F7HDEWM8SU; --- ios/BuildSupport/Allspark_MeAtWM_Beta_InHouse_Profile.mobileprovision Binary files a/ios/BuildSupport/Allspark_MeAtWM_Beta_InHouse_Profile.mobileprovision and b/ios/BuildSupport/Allspark_MeAtWM_Beta_InHouse_Profile.mobileprovision differ
updated the provisioning profile
updated the provisioning profile
4843cab4af13b4dbcf9f08b42b96f08f29e138ee
--- package-lock.json @@ -1958,9 +1958,9 @@ } }, "@walmart/inbox-mini-app": { - "version": "0.0.20", - "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.20.tgz", - "integrity": "sha512-Vv0XtP2EFTpU0JCSjsYraJkRgY1GMJhJ+kHYltijdkz4UB0/3EEkJxAfm8HQF/gttX6RUD6fc55tyxqYsg1tww==" + "version": "0.0.24", + "resolved": "https://npme.walmart.com/@walmart/inbox-mini-app/-/inbox-mini-app-0.0.24.tgz", + "integrity": "sha512-YyNufAv1WotsYFEgFipXd/MMTCZ8BsG+/ypAYhV5r2m7uyIexFx9iiQgGlpbCsUGneCLzJV/eF6Ek6MqAcMOxg==" }, "@walmart/moment-walmart": { "version": "1.0.4", --- package.json @@ -53,7 +53,7 @@ "@walmart/feedback-all-spark-miniapp": "0.0.30", "@walmart/functional-components": "^1.0.22", "@walmart/gtp-shared-components": "^0.2.2", - "@walmart/inbox-mini-app": "0.0.20", + "@walmart/inbox-mini-app": "0.0.24", "@walmart/moment-walmart": "1.0.4", "@walmart/push-to-talk-mini-app": "0.0.59", "@walmart/react-native-env": "^0.1.0",
Update package.json (#211)
Update package.json (#211) * Update package.json * Update package-lock.json * update inbox version to 0.0.24 Co-authored-by: Lochy <Hy.Loc@walmartlabs.com>
50f804dd363a83a07a1005c591ebd07d88e2d3ea
--- src/PinAccess/PinAccess.tsx @@ -27,6 +27,7 @@ import {PinAccessActionCreators} from './PinAccessRedux'; import {CHANGE, ENTRY, totalAttempts} from './constants'; import styles from './styles'; +// eslint-disable-next-line no-shadow export enum DialogReason { RETRY_FAILURE = 'RETRY_FAILURE', FORGOT_PIN = 'FORGOT_PIN', --- src/home/components/StatusIndicator.tsx @@ -32,6 +32,7 @@ const styles = StyleSheet.create({ }, }); +// eslint-disable-next-line no-shadow export enum ChatStatusType { offline = 'offline', online = 'online', --- src/home/types.ts @@ -18,6 +18,7 @@ export interface HomeScreenComponentProps { onRefreshEnd: () => void; } +// eslint-disable-next-line no-shadow export enum Environment { dev = 'dev', prod = 'prod', --- src/navConfig/types.ts @@ -34,6 +34,7 @@ export interface SideMenuNav extends OptionConfig { subMenus: SubMenu[]; } +// eslint-disable-next-line no-shadow export enum NavType { quickAction = 'QUICKACTION', bottomNav = 'BOTTOMNAV', --- src/types/clockStatus.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line no-shadow export enum ClockStatus { clockedIn = '1', clockedOut = '2',
chore: ignoring eslint shadow warning from enums
chore: ignoring eslint shadow warning from enums
f710c22caa6abd7633c836ec644aafd84ba0d64e
--- .looper.multibranch.yml @@ -24,7 +24,7 @@ envs: ANDROID_BASE_PATH: targets/US/android branches: - - spec: feature/feature-toggle + - spec: feature/drop24 triggers: - manual: name: Publish Packages (Pre-Release)
chore: revert looper branch spec
chore: revert looper branch spec
34217cc5b3b7376410982423b4361920b48f16b4
--- packages/allspark-foundation-hub/src/HubFeature/Store/TeamListItem/TeamListItem.tsx @@ -55,7 +55,7 @@ export const TeamListItem = ({ <View style={styles.teamOuterContainer}> {showTeamImage ? ( <TeamImage - resizeMode='contain' + resizeMode='cover' source={{ uri: Images[teamId ?? teamName]?.uri || Images['0000000'].uri, }} --- packages/allspark-foundation-hub/src/HubFeature/Store/TeamSelection/styles.ts @@ -7,8 +7,6 @@ export const teamSelectionListItemStyles = (hasBorder: boolean) => display: 'flex', paddingTop: 16, paddingBottom: 16, - marginLeft: 16, - marginRight: 16, justifyContent: 'space-between', alignItems: 'center', flexDirection: 'row', @@ -25,6 +23,7 @@ export const teamSelectionListItemStyles = (hasBorder: boolean) => teamImage: { height: 32, width: 32, + justifyContent: 'flex-start', }, teamName: { fontSize: 16,
Update teamlist style
Update teamlist style
6ed2da969bbac9ea3aaedb569ce2e1c69c422331
--- package-lock.json @@ -4476,9 +4476,9 @@ } }, "@walmart/allspark-home-mini-app": { - "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==", + "version": "0.5.36", + "resolved": "https://npme.walmart.com/@walmart/allspark-home-mini-app/-/allspark-home-mini-app-0.5.36.tgz", + "integrity": "sha512-TFbiZnfw33gmpxaecx/nEnTpYm/MDIiah69NZbhvQZAzjOIHb5+fRCwMXFXtSQIwkhKcBnULaz0dBBOMaK3/fA==", "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.35", + "@walmart/allspark-home-mini-app": "0.5.36", "@walmart/allspark-neon-core": "0.1.26", "@walmart/ask-sam-mini-app": "^0.41.8", "@walmart/config-components": "3.0.2",
update home tab translation
update home tab translation
27bcdafb8e6994893b2f3e77585fab2ad5a9b534
--- packages/me-at-walmart-common/src/types.ts @@ -0,0 +1,23 @@ +/** + * Badge IDs for AllsparkBadges used in "Me@Walmart" + * @example + * import {AllsparkBadges} from '@walmart/allspark-foundation/Components'; + * + * // Update the My Team badge to show a value of 3 and a red color + * AllsparkBadges.update('Me@Walmart.MyTeam', { value: '3', color: 'red' }); + */ +export type MeAtWalmartBadges = { + home: 'Me@Walmart.Home'; + me: 'Me@Walamrt.Me'; + myTeam: 'Me@Walamrt.MyTeam'; + taskIt: 'Me@Walamrt.TaskIt'; +}; + +// Extend Allspark global types for Me@Walmart specific typings +declare global { + namespace Allspark { + namespace Elements { + interface BadgeIDs extends MeAtWalmartBadges {} + } + } +} --- packages/me-at-walmart-container/src/navigation.ts @@ -19,10 +19,3 @@ export const MeAtWalmartNavigationConfig: AllsparkNavigationConfig = { prefixes: ['meatwmt://'], }, }; - -export type MeAtWalmartBadges = { - home: 'Me@Walmart.Home'; - me: 'Me@Walamrt.Me'; - myTeam: 'Me@Walamrt.MyTeam'; - taskIt: 'Me@Walamrt.TaskIt'; -}; --- packages/me-at-walmart-container/src/types.ts @@ -1,5 +1,4 @@ import { MeAtWalmartContainer } from './container'; -import { MeAtWalmartBadges } from './navigation'; // Extend Allspark global types for Me@Walmart specific typings declare global { @@ -7,10 +6,6 @@ declare global { interface Containers { 'Me@Walmart': typeof MeAtWalmartContainer; } - - namespace Elements { - interface BadgeIDs extends MeAtWalmartBadges {} - } } }
refactor: move me at walmart badge id config to common lib
refactor: move me at walmart badge id config to common lib
6ae5d9adb857ca36606a8aab22e9541d057de3e2
--- __tests__/__mocks__/@walmart/allspark-foundation/Navigation.js @@ -1,5 +1,6 @@ module.exports = { AllsparkNavigationClient: { navigate: jest.fn(), + getCurrentRouteName: jest.fn(), }, }; --- __tests__/startup/CopeKeyListenerTest.ts @@ -1,10 +1,12 @@ -import {renderHook} from '@testing-library/react-hooks'; +import {Platform} from 'react-native'; +import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation'; +import KeyEvent from '@walmart/allspark-cope-key-listener'; import { COPE_DEVICE_SIDE_KEY_CODE, + COPE_SIDE_KEY_TARGET, processKeyEvent, - useCopeKeyListener, + initCopeSideKeyListener, } from '../../src/startup/CopeKeyListener'; -import KeyEvent from '@walmart/allspark-cope-key-listener'; jest.mock('@walmart/allspark-cope-key-listener', () => ({ onKeyDownListener: jest.fn(), @@ -12,16 +14,21 @@ jest.mock('@walmart/allspark-cope-key-listener', () => ({ requestFocus: jest.fn(), })); -const mockNavigation = { - navigate: jest.fn(), - getState: jest.fn(), -}; +describe('CopeKeyListener', () => { + beforeEach(jest.resetAllMocks); -describe('useCopeKeyListener', () => { - beforeEach(jest.clearAllMocks); + it('does not setup key listener for iOS', () => { + Platform.OS = 'ios'; + const unmount = initCopeSideKeyListener(); + expect(KeyEvent.onKeyDownListener).not.toHaveBeenCalled(); + expect(KeyEvent.requestFocus).not.toHaveBeenCalled(); + unmount(); + expect(KeyEvent.removeKeyDownListener).not.toHaveBeenCalled(); + }); - it('is adding key listener and request focus', () => { - const {unmount} = renderHook(() => useCopeKeyListener()); + it('it sets up key listener for Android', () => { + Platform.OS = 'android'; + const unmount = initCopeSideKeyListener(); expect(KeyEvent.onKeyDownListener).toHaveBeenCalled(); expect(KeyEvent.requestFocus).toHaveBeenCalled(); @@ -30,8 +37,19 @@ describe('useCopeKeyListener', () => { expect(KeyEvent.removeKeyDownListener).toHaveBeenCalled(); }); - it('shall process when key event is fired', () => { - processKeyEvent(mockNavigation)({keyCode: COPE_DEVICE_SIDE_KEY_CODE}); - expect(mockNavigation.navigate).toHaveBeenCalled(); + it('navigates to target screen if not on blacklisted screen', () => { + ( + AllsparkNavigationClient.getCurrentRouteName as jest.Mock + ).mockReturnValueOnce('randomScreen'); + processKeyEvent({keyCode: COPE_DEVICE_SIDE_KEY_CODE}); + expect(AllsparkNavigationClient.navigate).toHaveBeenCalled(); + }); + + it('does not navigate if already on target screen', () => { + ( + AllsparkNavigationClient.getCurrentRouteName as jest.Mock + ).mockReturnValueOnce(COPE_SIDE_KEY_TARGET); + processKeyEvent({keyCode: COPE_DEVICE_SIDE_KEY_CODE}); + expect(AllsparkNavigationClient.navigate).not.toHaveBeenCalled(); }); }); --- src/navigation/AssociateHallwayNav/MainStackNav.tsx @@ -90,7 +90,6 @@ import {MainTabsNav} from './Tabs'; import {MainStackMap} from './types'; import {useAllsparkTranslation} from '@walmart/allspark-foundation/Translation'; import {MyTeamStackNav} from './Tabs/MyTeamStackNav'; -import {useCopeKeyListener} from '../../startup/CopeKeyListener'; //--- Main Stack --- // const MainStack = createStackNavigator<MainStackMap>(); @@ -175,8 +174,6 @@ const WorkAppScreens = CreateGuardedScreens([ export const MainStackNav = () => { const [translate] = useAllsparkTranslation(); - useCopeKeyListener(); - return ( <> <MainStack.Navigator --- src/startup/AssociateStartup.ts @@ -14,6 +14,7 @@ import {initSettings} from '../settings'; import {surveySagas} from '../survey/SurveySaga'; import {whatsNewSagas} from '../whatsNew/WhatsNewSaga'; import {bannerSagas} from '../navigation/AssociateHallwayNav/Banners'; +import {initCopeSideKeyListener} from './CopeKeyListener'; export const initAssociateFeatures = () => { const cleanupSettings = initSettings(); @@ -24,6 +25,7 @@ export const initAssociateFeatures = () => { const rbacTask = AllsparkReduxStore.addSagas(watchForRbacRequest); const bannersTask = AllsparkReduxStore.addSagas(bannerSagas); const cleanupTexting = initializeTexting(); + const cleanupCopeKeyListener = initCopeSideKeyListener(); registerAskSamWidgets(); registerInboxComponents(); @@ -36,6 +38,7 @@ export const initAssociateFeatures = () => { impersonationTask.cancel(); bannersTask.cancel(); cleanupTexting(); + cleanupCopeKeyListener(); }; }; --- src/startup/CopeKeyListener.ts @@ -1,34 +1,34 @@ -import {useEffect} from 'react'; +import {Platform} from 'react-native'; import KeyEvent from '@walmart/allspark-cope-key-listener'; -import {NavigationProp, useNavigation} from '@react-navigation/native'; +import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation'; +import {noop} from '@walmart/allspark-utils'; export const COPE_DEVICE_SIDE_KEY_CODE = 1015; +export const COPE_SIDE_KEY_TARGET = 'itemInfoQuickAction'; +export const COPE_SIDE_KEY_ROUTE_BLACKLIST = [COPE_SIDE_KEY_TARGET, 'itemInfo']; -export const processKeyEvent = - (navigation: NavigationProp<ReactNavigation.RootParamList>) => - (keyEvent: {keyCode: number}) => { - const navState = navigation.getState() ?? {routes: []}; - const currentRoutes = navState?.routes?.[0]?.state?.routes; - if (keyEvent.keyCode === COPE_DEVICE_SIDE_KEY_CODE) { - if ( - currentRoutes?.[currentRoutes?.length - 1].name === 'itemInfo' || - currentRoutes?.[currentRoutes?.length - 1].name === - 'itemInfoQuickAction' - ) { - return; - } - navigation.navigate('itemInfoQuickAction'); +type KeyEvent = {keyCode: number}; + +export const processKeyEvent = ({keyCode}: KeyEvent) => { + const currentRoute = AllsparkNavigationClient.getCurrentRouteName(); + + if (keyCode === COPE_DEVICE_SIDE_KEY_CODE) { + // Skip if we're already on the target route or other blacklisted route + if (COPE_SIDE_KEY_ROUTE_BLACKLIST.includes(currentRoute)) { + return; } - }; -export const useCopeKeyListener = () => { - const navigation = useNavigation(); + AllsparkNavigationClient.navigate(COPE_SIDE_KEY_TARGET); + } +}; - useEffect(() => { - KeyEvent.onKeyDownListener(processKeyEvent(navigation)); +export const initCopeSideKeyListener = () => { + if (Platform.OS === 'android') { + KeyEvent.onKeyDownListener(processKeyEvent); KeyEvent.requestFocus(); - return () => { - KeyEvent.removeKeyDownListener(); - }; - }); + + return KeyEvent.removeKeyDownListener; + } + + return noop; };
refactor: change cope key listener from hook to function.
refactor: change cope key listener from hook to function.
be9db757c8b32dda86aebb5e1a338b20f1110e5c
--- packages/allspark-foundation-hub/src/HubFeature/Shared/Components/SearchInput/SearchInput.tsx @@ -4,8 +4,6 @@ import { TeamSearchInputStyles as styles } from './style'; import { colors, Icons } from '@walmart/gtp-shared-components/dist'; import { TeamSearchInputLoading } from './TeamSearchInputLoading'; import { TeamSearchInputProps } from './types'; -import { useAllsparkTranslation } from '@walmart/allspark-foundation'; -import { FEATURE_ID } from '../../../Store/constant'; export const TeamSearchInput = ({ LeftIcon, @@ -13,7 +11,6 @@ export const TeamSearchInput = ({ loading, handleChange, }: TeamSearchInputProps) => { - const { t } = useAllsparkTranslation(FEATURE_ID); if (loading) { return <TeamSearchInputLoading loading={loading} />; } @@ -32,7 +29,7 @@ export const TeamSearchInput = ({ <View style={styles.iconLeftWrapper}>{leftIconComponent}</View> <TextInput style={styles.inputStyle} - placeholder={t('searchTeamInput.placeHolder')} + placeholder='Search for a team' placeholderTextColor={colors.gray['100']} onChangeText={handleChange} testID='search-input' --- packages/allspark-foundation-hub/src/HubFeature/SupplyChain/translation.ts @@ -1,11 +1,163 @@ export const enUS = { - searchTeamInput: { - placeHolder: 'Search for a team', + hubHeader: { + title: 'Support your team', + subText: 'Maximize your team’s impact and support your associates’ growth.', + }, + teamSelectionHubHeader: { + title: 'Personalize your hubs', + subText: + 'Your primary team is automatically selected. Choose additional teams to view on your Team and Work hubs.', + }, + teamOnboarding: { + navigationHeaderFirstEntry: 'Hub Onboarding', + heading: 'A new way to manage your Team and Work', + description: 'Get started by selecting your teams', + buttonText: 'Choose teams', + teamOnboardingCardsData: { + firstCard: { + title: 'Centralized information', + description: + 'Easily manage team attendance, assignments, and work progress', + }, + secondCard: { + title: 'Insights and recommended actions', + description: + 'Get smart guidance to help you keep your team and the shift on track', + }, + }, + }, + hubContainer: { + selectedTeamsError: { + message: + 'Unable to load your selected teams. Total store is displayed instead.', + actionText: 'Try again', + }, + }, + teamSelection: { + teams: 'Teams', + selectAll: 'Select all teams', + myArea: 'My Area', + primaryTeam: 'Primary Team', + cancel: 'Cancel', + saveTeams: 'Save teams', + teamSelected: 'team selected', + teamsSelected: 'teams selected', + }, + onboardingBottomSheet: { + title: 'Start managing your teams', + description: + 'Your personalized Team and Work hubs are ready. Add or edit teams at any time.', + buttonText: 'Got it', + }, + teamsUpdatedBottomSheet: { + title: 'Teams updated', + 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: + 'Sensitive information is hidden for teams outside of your primary team.', + }, + }, + clockOutGuard: { + action: 'Clock in', + content: 'You must be clocked in to access the content on this page.', + title: 'Clock in required', + }, + errorScreen: { + title: 'Something went wrong', + message: 'Refresh this page to try again.', + primaryButtonText: 'Refresh page', + secondaryButtonText: 'Cancel', }, }; export const esMX = { - searchTeamInput: { - placeHolder: 'Buscar un equipo', + hubHeader: { + title: 'Apoya a tu equipo', + subText: + 'Maximiza el impacto de tu equipo y apoya el crecimiento de tus asociados.', + }, + teamOnboarding: { + navigationHeaderFirstEntry: 'Incorporación de Hub', + heading: 'Una nueva forma de gestionar tu equipo y tu trabajo', + description: 'Comience seleccionando sus equipos', + buttonText: 'Elegir equipos', + teamOnboardingCardsData: { + firstCard: { + title: 'Información centralizada', + description: + 'Administre fácilmente la asistencia del equipo, las tareas y el progreso del trabajo', + }, + secondCard: { + title: 'Insights and recommended actions', + description: + 'Obtén orientación inteligente para ayudarte a mantener a tu equipo y al cambio en marcha', + }, + }, + }, + hubContainer: { + selectedTeamsError: { + message: + 'No se puenden cargar los equipos seleccionados. En su lugar se muestra toda la tienda.', + actionText: 'Intentar otra vez', + }, + }, + teamSelectionHubHeader: { + title: 'Personaliza tus hubs', + subText: + 'Tu equipo principal se selecciona automáticamente. Elija equipos adicionales para verlos en sus centros de equipo y trabajo.', + }, + teamSelection: { + teams: 'Equipos', + selectAll: 'Seleccionar todos los equipos', + myArea: 'Mi área', + primaryTeam: 'Equipo Principal', + cancel: 'Cancelar', + saveTeams: 'Guardar equipos', + teamSelected: 'Equipo seleccionado', + teamsSelected: 'Equipos seleccionados', + }, + onboardingBottomSheet: { + title: 'Empieza a gestionar tus equipos', + description: + 'Sus centros de trabajo y equipo personalizados están listos. Agregue o edite equipos en cualquier momento.', + buttonText: 'Entiendo', + }, + teamsUpdatedBottomSheet: { + title: 'Equipos actualizados', + 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: + 'La información confidencial está oculta para equipos fuera de su equipo principal.', + }, + }, + clockOutGuard: { + action: 'Fichar', + content: + 'Es necesario estar fichado para acceder al contenido de esta página.', + title: 'Entrada requerida', + }, + errorScreen: { + title: 'Algo salió mal', + message: 'Actualice esta página para volver a intentarlo.', + primaryButtonText: 'Actualizar página', + secondaryButtonText: 'Cancelar', }, };
Revert "Adding translation"
Revert "Adding translation" This reverts commit 08f41a101d93c3111d92b746858037dba38900c3.
56a8c52b00c470fc0cc7a6779b2a474d4c1a34ba
--- .looper-pr.yml @@ -1,5 +1,22 @@ inherit: job:///allspark/allspark-miniapp-cicd-templates:allspark-miniapp-cicd-template.yml +tools: + jdk: + flavor: azul + version: 17 + +flows: + npm-install: + - (name Enable Corepack) corepack enable + - (name Yarn Set Version) yarn set version 4.1.1 + - (name Yarn Version) yarn --version + - (name Yarn Install) yarn install + + commit-convention-checker: + - echo 'conventional commit disabled' + semantic-dry-run: + - echo 'semantic dryrun disabled' + envs: global: variables: --- .looper.yml @@ -1,24 +1,25 @@ -tools: - nodejs: 16.17.0 - sonarscanner: 3.0.3.778 +inherit: 'job:///metropolis/metroloop/metroloop-parent' -triggers: - - manual: - name: Publish - call: default +tools: + nodejs: 20.10.0 + jdk: + flavor: azul + version: 17 flows: default: - call: pr - - npm run build - - npm publish + - yarn run build + - yarn publish - sonar("Sonar"): - (name Sonar Scanner) sonar-scanner -Dproject.settings=sonar-project.properties - (name Publish Hygieia to Sonar) hygieia.publishSonar() - (name Hygieia Publish Build) hygieia.publishBuild() pr: - - npm install - - npm run lint - - npm run build - - npm run coverage + - (name Corepack enable) corepack enable + - (name Yarn Set Version) yarn set version 4.1.1 + - (name Yarn Version) yarn --version + - yarn install + - yarn run lint + - yarn run coverage \ No newline at end of file --- package.json @@ -13,7 +13,7 @@ "test": "TZ=UTC jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint:fix": "eslint ./src ./__tests__ --ext .js,.jsx,.ts,.tsx --fix", - "build": "npm config fix && rm -rf ./dist && tsc", + "build": "rm -rf ./dist && tsc", "env:dev": "cp ./container/env.dev.ts ./container/env.ts", "env:teflon": "cp ./container/env.teflon.ts ./container/env.ts", "env:beta": "cp ./container/env.beta.ts ./container/env.ts",
Update looper
Update looper
65a0a3810ad1a0e3b41b44e6a6fbf87e9e7fe38f
--- package.json @@ -200,5 +200,10 @@ "skipScope": false, "jiraPrefix": "JIRA_PROJECT" } + }, + "dependencies": { + "expo": "~51.0.28", + "react": "18.2.0", + "react-native": "~0.75.4" } }
fix(ui): update package
fix(ui): update package
6a7c9d2f82e8e0f0f7c07883d786286554ed8951
--- example/src/feature3/screens/screen.tsx @@ -23,6 +23,8 @@ export const HomeScreen = Feature3.createScreen( return ( <View style={{flex: 1}}> <Header + backgroundColor="white" + textColor="black" title="Hub value-prop title" subText="Short introduction to convey the action we intend the associate to take through this hub." /> --- packages/allspark-foundation/src/Components/Hub/Header/index.tsx @@ -1,16 +1,25 @@ import React from 'react'; import { Text, View } from 'react-native'; import { HeaderTypes } from './types'; -import { HeaderStyles as styles } from './styles'; +import { HeaderStyles } from './styles'; export * from './types'; -export const Header = ({ title, subText }: HeaderTypes) => ( - <View style={styles.container}> - <Text style={styles.title} accessibilityLabel={title}> - {title} - </Text> - <Text style={styles.subText} accessibilityLabel={subText}> - {subText} - </Text> - </View> -); + +export const Header = ({ + title, + subText, + backgroundColor, + textColor, +}: HeaderTypes) => { + const styles = HeaderStyles(backgroundColor, textColor); + return ( + <View style={styles.container}> + <Text style={styles.title} accessibilityLabel={title}> + {title} + </Text> + <Text style={styles.subText} accessibilityLabel={subText}> + {subText} + </Text> + </View> + ); +}; --- packages/allspark-foundation/src/Components/Hub/Header/styles.ts @@ -1,23 +1,24 @@ import { StyleSheet } from 'react-native'; import { colors } from '@walmart/gtp-shared-components'; -export const HeaderStyles = StyleSheet.create({ - container: { - backgroundColor: colors.blue['100'], - flexDirection: 'column', - padding: 16, - }, - title: { - color: colors.white, - fontWeight: 'bold', - fontSize: 24, - lineHeight: 32, - marginBottom: 4, - }, - subText: { - color: colors.white, - fontWeight: 'normal', - fontSize: 16, - lineHeight: 24, - }, -}); +export const HeaderStyles = (backgroundColor?: string, textColor?: string) => + StyleSheet.create({ + container: { + backgroundColor: backgroundColor || colors.blue['100'], + flexDirection: 'column', + padding: 16, + }, + title: { + color: textColor || colors.white, + fontSize: 24, + lineHeight: 32, + marginBottom: 4, + fontFamily: 'Bogle-Bold', + }, + subText: { + color: textColor || colors.white, + fontSize: 16, + lineHeight: 24, + fontFamily: 'Bogle-Regular', + }, + }); --- packages/allspark-foundation/src/Components/Hub/Header/types.ts @@ -1,4 +1,6 @@ export type HeaderTypes = { title: string; subText: string; + backgroundColor?: string; + textColor?: string; };
Add additional props to header types and update styling
Add additional props to header types and update styling
5eb31d1e4cad25bea063782b314acfaa9959b298
--- ios/BuildSupport/AppStore.keychain-db Binary files a/ios/BuildSupport/AppStore.keychain-db and b/ios/BuildSupport/AppStore.keychain-db differ --- ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision Binary files a/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision and b/ios/BuildSupport/Squiggly_AppStore_Provision.mobileprovision differ
Regen Prod Profiles and Cert
Regen Prod Profiles and Cert
09352196e845a893ca7d0de4471ababd1c3d6c9e
--- app.config.US.ts @@ -254,7 +254,7 @@ const CONFIG: ExpoConfig = { ExpoPlugins.withReactNativeGeolocation, [ ExpoPlugins.withReactNativePermissions, - ['BluetoothPeripheral', 'Camera', 'LocationWhenInUse', 'Notifications'], + ['BluetoothPeripheral', 'Camera', 'LocationWhenInUse', 'Notifications', 'Microphone'], ], ExpoPlugins.withRealm, ExpoPlugins.withSsmpAndroidSigning,
fix: CONAS-1845 Fixing iOS microphone permission prompt for Calling (#4114)
fix: CONAS-1845 Fixing iOS microphone permission prompt for Calling (#4114)
91760c7d5391342b81f8c0b865d94b6d11f863b8
--- scripts/updateRemoteConfigGradle.sh @@ -9,6 +9,6 @@ SEARCH_STRING_RC='implementation "com.google.firebase:firebase-config"' REPLACEMENT_STRING_RC="implementation(\"com.google.firebase:firebase-config\",{\ exclude group: 'com.google.protobuf',module: 'protobuf-javalite' \ exclude group: 'com.google.protobuf',module: 'protobuf-lite' \ -}" +})" FILE_PATH_RC=./node_modules/@react-native-firebase/remote-config/android/build.gradle sed -i '' "s/.*${SEARCH_STRING_RC}.*/${REPLACEMENT_STRING_RC}/" ${FILE_PATH_RC}
updated formatting of remote-config script
updated formatting of remote-config script
b45049f28cd28c0989ae6fdbc2e9404f2b6ec84b
--- package-lock.json @@ -42,7 +42,7 @@ "@walmart/core-services-allspark": "~2.10.8", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", - "@walmart/counts-component-miniapp": "0.1.2", + "@walmart/counts-component-miniapp": "0.1.3", "@walmart/emergency-mini-app": "1.23.2", "@walmart/exception-mini-app": "1.2.4", "@walmart/facilities-management-miniapp": "0.6.7", @@ -5012,16 +5012,16 @@ } }, "node_modules/@walmart/counts-component-miniapp": { - "version": "0.1.2", + "version": "0.1.3", + "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.1.3.tgz", + "integrity": "sha512-ZNLBSMd+Ux+PJlIt3xOKlFftxd1cTDnOJV3Ihgcxab5nb+pr5G7V8bI7tXLbnnJb0mMrllRcF79RFCpHEuZZAQ==", "hasInstallScript": true, "peerDependencies": { - "@react-native-community/async-storage": "^1.12.1", - "@react-native-community/netinfo": "9.3.6", "@react-navigation/native": "^6.0.0", "@react-navigation/stack": "^6.1.0", "@walmart/core-services-allspark": "~1.10.11", "@walmart/core-utils": "~1.3.0", - "@walmart/gtp-shared-components": "^2.0.0", + "@walmart/gtp-shared-components": "2.0.2", "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/redux-store": "^3.1.3", "i18next": "^22.0.1", @@ -25146,7 +25146,9 @@ } }, "@walmart/counts-component-miniapp": { - "version": "0.1.2" + "version": "0.1.3", + "resolved": "https://npme.walmart.com/@walmart/counts-component-miniapp/-/counts-component-miniapp-0.1.3.tgz", + "integrity": "sha512-ZNLBSMd+Ux+PJlIt3xOKlFftxd1cTDnOJV3Ihgcxab5nb+pr5G7V8bI7tXLbnnJb0mMrllRcF79RFCpHEuZZAQ==" }, "@walmart/emergency-mini-app": { "version": "1.23.2", --- package.json @@ -84,7 +84,7 @@ "@walmart/core-services-allspark": "~2.10.8", "@walmart/core-utils": "~2.0.5", "@walmart/core-widget-registry": "~1.2.2", - "@walmart/counts-component-miniapp": "0.1.2", + "@walmart/counts-component-miniapp": "0.1.3", "@walmart/emergency-mini-app": "1.23.2", "@walmart/exception-mini-app": "1.2.4", "@walmart/facilities-management-miniapp": "0.6.7",
feat(countsComponent): update counts component version - VS-2097
feat(countsComponent): update counts component version - VS-2097
f080cf8f70862b62e4b218a2d7fd852fb5ec2908
--- sr.yaml @@ -37,3 +37,5 @@ applications: consumerIdInfos: - consumerId: 364a55bb-7f04-4a7c-a800-1d91c08fe5f2 publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2hQn/1NUR5VETeGZHHpMAjojHOqbR5oNhcDnhm0M43DvNdGREfNwJiDjRwUNvcoF85lIvr/ZB3xmUIrWLfHPlQ6wzLXijbQAzdo7tEhEUTFHillH+TXk0ST1lyMbC/azpUgc04pNUcfFwortOVY242saXZe4MfiBre2u/Q6xQTBAJ6DZWK8nrwpFEn0ijKZbIXRLJQ8EAhjWdIA/7VEgdoOzSlGHrbs9HYvzHbUVBfS2pt3SYC32aGseBV24bQJmZeFsgw8aKKXjL/myIqkJC9J1ieQboEercf5jjARqYflkoKtWTQf+7AfIjtWNh4QEG5C1KAvi0JuTwXj9bhn9KQIDAQAB + - consumerId: 8c25ca50-0246-45d3-ae57-f72322894df9 + publicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApB+axZI0L34ZzYYTnpNzYlmp29T49OSs7Jy4usa6uwuDRr8GrJYc9N1caRzGLmzp50GINyii2wNy5tLlfrKvmrhj2YXym8dsp5uQ186obF0IxsLbEDyXv0aWhpWkn4brz2MhzbK9xLpqLw1ybt3bVaEcMnrcazd6PWwkIiSvqALFyx8Ns7PA+qoKZPMMlTx+N+48dqifwd4yVII0QlR23jqhm7bXp6i7Z5Ak3fvvu3gybZQbi+kWbxeTfbAxFQN6Ut4u9tKts0i+WVyMLeBDRmdeltO9ZnRp5ifm4toRnID4yCzYV17mwNFz4FgyghI+jbZeOHUyRKFl4B5LASfRQQIDAQAB
feat(sr.yaml): add new prod consumerid
feat(sr.yaml): add new prod consumerid
b68bb41d828051634d57901fff32c00234f14376
--- .looper.multibranch.yml @@ -693,86 +693,85 @@ branches: # ----- flows: - selector: - - build-selector: - - if: %{ market == "us" } + build-selector: + - if: %{ market == "us" } + then: + - if: %{ branch == "feature" } then: - - if: %{ branch == "feature" } + - if: %{ os_type == "all" } then: - - if: %{ os_type == "all" } + - if: %{ env_selected == "all" } then: - - if: %{ env_selected == "all" } - then: - - call: push(test) - - if: %{ env_selected == "dev" } - then: - - call: dev(test) - - if: %{ env_selected == "beta" } - then: - - call: beta(test) - - if: %{ env_selected == "teflon" } - then: - - call: teflon(test) - - if: %{ os_type == "ios" } + - call: push(test) + - if: %{ env_selected == "dev" } then: - - if: %{ env_selected == "dev" } - then: - - call: ios-dev(test) - - if: %{ env_selected == "beta" } - then: - - call: ios-beta(test) - - if: %{ env_selected == "teflon" } - then: - - call: ios-teflon(test) - - if: %{ os_type == "android" } + - call: dev(test) + - if: %{ env_selected == "beta" } then: - - if: %{ env_selected == "dev" } - then: - - call: android-dev(test) - - if: %{ env_selected == "beta" } - then: - - call: android-beta(test) - - if: %{ env_selected == "teflon" } - then: - - call: android-teflon(test) - - if: %{ branch == "develop" } + - call: beta(test) + - if: %{ env_selected == "teflon" } + then: + - call: teflon(test) + - if: %{ os_type == "ios" } + then: + - if: %{ env_selected == "dev" } + then: + - call: ios-dev(test) + - if: %{ env_selected == "beta" } + then: + - call: ios-beta(test) + - if: %{ env_selected == "teflon" } + then: + - call: ios-teflon(test) + - if: %{ os_type == "android" } + then: + - if: %{ env_selected == "dev" } + then: + - call: android-dev(test) + - if: %{ env_selected == "beta" } + then: + - call: android-beta(test) + - if: %{ env_selected == "teflon" } + then: + - call: android-teflon(test) + - if: %{ branch == "develop" } + then: + - if: %{ os_type == "all" } + then: + - if: %{ env_selected == "all" } + then: + - call: push(develop) + - if: %{ env_selected == "dev" } + then: + - call: dev(develop) + - if: %{ env_selected == "beta" } + then: + - call: beta(develop) + - if: %{ env_selected == "teflon" } + then: + - call: teflon(develop) + - if: %{ os_type == "ios" } + then: + - if: %{ env_selected == "dev" } + then: + - call: ios-dev(develop) + - if: %{ env_selected == "beta" } + then: + - call: ios-beta(develop) + - if: %{ env_selected == "teflon" } + then: + - call: ios-teflon(develop) + - if: %{ os_type == "android" } then: - - if: %{ os_type == "all" } + - if: %{ env_selected == "dev" } then: - - if: %{ env_selected == "all" } - then: - - call: push(develop) - - if: %{ env_selected == "dev" } - then: - - call: dev(develop) - - if: %{ env_selected == "beta" } - then: - - call: beta(develop) - - if: %{ env_selected == "teflon" } - then: - - call: teflon(develop) - - if: %{ os_type == "ios" } + - call: android-dev(develop) + - if: %{ env_selected == "beta" } then: - - if: %{ env_selected == "dev" } - then: - - call: ios-dev(develop) - - if: %{ env_selected == "beta" } - then: - - call: ios-beta(develop) - - if: %{ env_selected == "teflon" } - then: - - call: ios-teflon(develop) - - if: %{ os_type == "android" } + - call: android-beta(develop) + - if: %{ env_selected == "teflon" } then: - - if: %{ env_selected == "dev" } - then: - - call: android-dev(develop) - - if: %{ env_selected == "beta" } - then: - - call: android-beta(develop) - - if: %{ env_selected == "teflon" } - then: - - call: android-teflon(develop) + - call: android-teflon(develop) # selector-feature: # - switch(${market}):
Update .looper.multibranch.yml
Update .looper.multibranch.yml
8bca819e6565899ad1abf935abc96a922c702746
--- src/screens/RosterDetailScreen/SupplyChainRosterDetailScreen/useSupplyChainRosterDetails.ts @@ -93,7 +93,7 @@ export const useSupplyChainRosterDetails = ({ lng: 'en-US', }); }; - + return isSalariedOrLead ? getTeamLabelOrDefault(switcherTeamState.teamIds, switcherTeamState?.teamLabel) : getTeamLabelOrDefault(teamState.teamIds, teamState?.teamLabel); --- src/utils/rosterDetail.tsx @@ -502,45 +502,45 @@ export const getFilterCountForHourlyUser = ( const totalSite = state.teamIds?.[0] === TOTAL_SITE_TEAM_ID || state.teamIds?.[0] === ''; - const filterByShift = ( - items: Associate[] | Maybe<SupplyChainTeamAssociateMembership>[], - checkFunction: Function, - checkFunctionWithShift: Function, - shiftSelected: string | undefined, - ) => { - return items.filter((item) => { - if (shiftSelected === undefined || shiftSelected === 'all') { - return checkFunction(item); - } else { - return checkFunctionWithShift(item, shiftSelected); - } - }).length as number; - }; - - const hourlyTotalSiteCount = ( - checkAssociate: Function, - checkAssociateWithShiftForTotal: Function, - ) => { - return filterByShift( - teamRoster, - checkAssociate, - checkAssociateWithShiftForTotal, - shiftSelected, - ); - }; - - const hourlyTeamCount = ( - checkAssociate: Function, - checkAssociateWithShift: Function, - teamData: SupplyChainTeam, - ) => { - return filterByShift( - teamData?.membership ?? [], - (team: SupplyChainTeamAssociateMembership) => checkAssociate(team?.associate), - checkAssociateWithShift, - shiftSelected, - ); - }; + const filterByShift = ( + items: Associate[] | Maybe<SupplyChainTeamAssociateMembership>[], + checkFunction: Function, + checkFunctionWithShift: Function, + shiftSelected: string | undefined, + ) => { + return items.filter((item) => { + if (shiftSelected === undefined || shiftSelected === 'all') { + return checkFunction(item); + } else { + return checkFunctionWithShift(item, shiftSelected); + } + }).length as number; + }; + + const hourlyTotalSiteCount = ( + checkAssociate: Function, + checkAssociateWithShiftForTotal: Function, + ) => { + return filterByShift( + teamRoster, + checkAssociate, + checkAssociateWithShiftForTotal, + shiftSelected, + ); + }; + + const hourlyTeamCount = ( + checkAssociate: Function, + checkAssociateWithShift: Function, + teamData: SupplyChainTeam, + ) => { + return filterByShift( + teamData?.membership ?? [], + (team: SupplyChainTeamAssociateMembership) => checkAssociate(team?.associate), + checkAssociateWithShift, + shiftSelected, + ); + }; if (totalSite) { return {
fix(ui): lint fix
fix(ui): lint fix
553ffa52653e4cac700367db9ddded41248734c8
--- packages/react-native-shared-navigation/src/index.ts @@ -56,8 +56,7 @@ export const dispatch = AllsparkNavigationClient.dispatch; * const { reset } = useRootNavigation(); * reset(...); */ -export const reset: typeof AllsparkNavigationClient.reset = - AllsparkNavigationClient.reset; +export const reset = AllsparkNavigationClient.reset; /** * @deprecated use `AllsparkNavigationClient` from '@walmart/allspark-foundation/Navigation' instead.
fix: revert inferred type change
fix: revert inferred type change
22077bc0e993410937f681a521d386235ad509c3
--- packages/associate-exp-hub-mini-app/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.12.0](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.11.1...@walmart/associate-exp-hub-mini-app@1.12.0) (2025-12-12) + +### Features + +- **ui:** update lint fix--no-verify ([43033cb](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/commit/43033cb7fc81f6e157c93c10e64b0ecffdc227ce)) + ## [1.11.1](https://gecgithub01.walmart.com/smdv/associate-exp-hub-mini-app/compare/@walmart/associate-exp-hub-mini-app@1.11.0...@walmart/associate-exp-hub-mini-app@1.11.1) (2025-12-12) **Note:** Version bump only for package @walmart/associate-exp-hub-mini-app --- packages/associate-exp-hub-mini-app/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/associate-exp-hub-mini-app", - "version": "1.11.1", + "version": "1.12.0", "packageManager": "yarn@4.6.0", "engines": { "node": ">=18"
chore(version): updating package version
chore(version): updating package version - @walmart/associate-exp-hub-mini-app@1.12.0
430a531021f9546a530d717aba62caf98d22b883
--- src/queries/getDailyRoster.ts @@ -15,7 +15,7 @@ export type GetDailyRosterQuery = { __typename?: 'Query'; getDailyRoster?: Array<{ __typename: 'MewAssociate'; - associateId: string | null; + associateId?: string | null; firstName?: string | null; fullName?: string | null; jobCategoryCodeDesc?: string | null; --- src/queries/getDailyRoster.ts @@ -15,7 +15,7 @@ export type GetDailyRosterQuery = { __typename?: 'Query'; getDailyRoster?: Array<{ __typename: 'MewAssociate'; - associateId: string | null; + associateId?: string | null; firstName?: string | null; fullName?: string | null; jobCategoryCodeDesc?: string | null;
Adding optional to associateId
Adding optional to associateId
412369611e9a64c7d89f139b99e0c19f98a42ac9
--- targets/US/package.json @@ -87,7 +87,7 @@ "@walmart/ask-sam-mini-app": "1.24.7", "@walmart/associate-listening-mini-app": "1.2.7", "@walmart/attendance-mini-app": "3.44.0", - "@walmart/avp-feature-app": "0.10.6", + "@walmart/avp-feature-app": "0.10.7", "@walmart/avp-shared-library": "0.10.1", "@walmart/backroom-mini-app": "1.5.15", "@walmart/calling-mini-app": "0.5.17", --- yarn.lock @@ -6037,9 +6037,9 @@ __metadata: languageName: node linkType: hard -"@walmart/avp-feature-app@npm:0.10.6": - version: 0.10.6 - resolution: "@walmart/avp-feature-app@npm:0.10.6" +"@walmart/avp-feature-app@npm:0.10.7": + version: 0.10.7 + resolution: "@walmart/avp-feature-app@npm:0.10.7" peerDependencies: "@react-navigation/native": ">=6.0.8" "@react-navigation/stack": ">=6.1.1" @@ -6048,7 +6048,7 @@ __metadata: react-native: ">=0.72.10" react-redux: ">=8.0.4" redux: ">=4.2.1" - checksum: 10c0/87cfd693115f91eb42df6a757b3aa9cb9595bf75ddf3849c16e8c1c1f15058c0d8f6547e5ec8b6b315dbf3e50efeff31c007b24090eb6791c451b6aae5cff58e + checksum: 10c0/24836c2ae17a99775b1c35672d33797fb3247aa7b5201986aca1d865a71de1d4f728521d853560144331524c647b974a606f54cde435d4cda7897ce6281f9800 languageName: node linkType: hard @@ -6994,7 +6994,7 @@ __metadata: "@walmart/ask-sam-mini-app": "npm:1.24.7" "@walmart/associate-listening-mini-app": "npm:1.2.7" "@walmart/attendance-mini-app": "npm:3.44.0" - "@walmart/avp-feature-app": "npm:0.10.6" + "@walmart/avp-feature-app": "npm:0.10.7" "@walmart/avp-shared-library": "npm:0.10.1" "@walmart/backroom-mini-app": "npm:1.5.15" "@walmart/calling-mini-app": "npm:0.5.17"
bumped avp
bumped avp
7cc2ccc40ce20bee9e55c9fb7036409d49e429fd
--- .looper-pr.yml @@ -18,9 +18,9 @@ envs: APP_NAME: associate-exp-hub-mini-app STAGES_TO_RUN: LINT: true - UNITTEST: true - BUILD: true - SONAR_SCAN: true + UNITTEST: false + BUILD: false + SONAR_SCAN: false ARTIFACT_PUBLISH: true AUTO_PR_MONO: false JIRAPREFIX: SSMP
feat(ui): update associate exp
feat(ui): update associate exp
fb8861fa1470dde3a1edd0e11ebe9c883b8a5ce7
--- example/src/teamHub/screens/container.tsx @@ -2,7 +2,7 @@ import {useNavigation} from '@react-navigation/native'; import {useEffect} from 'react'; import {TeamHub} from '../feature'; import {TeamHubLogger, TeamHubTelemetry} from '../services'; -import {Header} from '@walmart/allspark-foundation/Components'; +import {HubHeader} from '@walmart/allspark-foundation/Components'; export const ContainerScreen = TeamHub.createScreen( () => { @@ -18,7 +18,7 @@ export const ContainerScreen = TeamHub.createScreen( return ( <> - <Header + <HubHeader title="Hub value-prop title" subText="Short introduction to convey the action we intend the associate to take through this hub." /> --- example/src/teamHub/screens/screen.tsx @@ -6,7 +6,7 @@ import {useNavigation} from '@react-navigation/core'; import {TeamHubLogger, TeamHubTelemetry} from '../services'; import {TeamHub} from '../feature'; import {AllsparkNavigationClient} from '@walmart/allspark-foundation/Navigation'; -import {Header} from '@walmart/allspark-foundation/Components'; +import {HubHeader} from '@walmart/allspark-foundation/Components'; export const HomeScreen = TeamHub.createScreen( () => { @@ -22,7 +22,7 @@ export const HomeScreen = TeamHub.createScreen( return ( <View style={{flex: 1}}> - <Header + <HubHeader backgroundColor="white" textColor="black" title="Hub value-prop title" --- packages/allspark-foundation/__tests__/Hub/Header.test.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { render } from '../utils'; -import { Header } from '../../src/Components/Hub/Header'; +import { Header } from '../../src/Components/Hub/HubHeader'; import { colors } from '@walmart/gtp-shared-components'; //Helper function to find a style object in the styles array --- packages/allspark-foundation/src/Components/HubHeader/index.tsx @@ -5,7 +5,7 @@ import { HeaderStyles } from './styles'; export * from './types'; -export const Header = ({ +export const HubHeader = ({ title, subText, backgroundColor, --- packages/allspark-foundation/src/Components/HubHeader/styles.ts --- packages/allspark-foundation/src/Components/HubHeader/types.ts --- packages/allspark-foundation/src/Components/index.tsx @@ -3,7 +3,7 @@ import { useSnackbar } from '@walmart/gtp-shared-components'; export * from './Badges'; export * from './Banners'; export * from './Hub/Container'; -export * from './Hub/Header'; +export * from './HubHeader'; export * from './Hub/TeamSwitcher'; export * from './TeamOnboarding';
Merge changes from parent repo
Merge changes from parent repo
9e2344832eab48939f5e3396d860505d2a63bbc4
--- packages/allspark-authentication/src/Authentication.ts @@ -98,7 +98,6 @@ export class AllsparkAuthentication { const { issuer, clientId } = currentConfig!; return `${AUTH_RESULT_STORAGE_KEY}_${issuer}_${clientId}`; }, - validate: async (res) => this._isAuthResultExpired(res), onInfo: (payload) => { this._eventManager.runEvent('info', { category: payload.event,
fix: remove uneeded validate function
fix: remove uneeded validate function
2334750d8cb93ae36ffb1b58f39f56cddfcc272f
--- core/src/navigation/USHallway/AssociateHallwayNav/MainStackNav.tsx @@ -50,7 +50,7 @@ import { SelfIdNav, } from '@walmart/profile-feature-app'; import {App as ReceiptCheckMiniApp} from '@walmart/receipt-check-miniapp'; -import {ReturnsMiniApp} from '@walmart/returns-mini-app'; +import ReturnsMiniApp from '@walmart/returns-mini-app'; import RfidScanFeature from '@walmart/rfid-scan-mini-app'; import ReceivingRootApp from '@walmart/rn-receiving-mini-app'; import ShelfAvailabilityFeature from '@walmart/shelfavailability-mini-app'; @@ -154,15 +154,6 @@ const MiniAppScreens = createMiniAppScreens(MainStack, [ }, clockCheckEnabled: true, }, - { - featureId: MINI_APPS.CHECKOUT_RETURN, - name: 'Returns', - component: ReturnsMiniApp, - options: { - headerShown: false, - }, - clockCheckEnabled: true, - }, { featureId: 'backroom', name: 'Backroom', @@ -620,6 +611,9 @@ export const MainStackNav = () => { {RfidScanFeature.buildAllScreens({ Navigator: MainStack as any, })} + {ReturnsMiniApp.buildAllScreens({ + Navigator: MainStack as any, + })} </MainStack.Navigator> </> ); --- targets/US/package.json @@ -142,7 +142,7 @@ "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch", "@walmart/receipt-check-miniapp": "1.27.3", "@walmart/redux-store": "~6.3.28", - "@walmart/returns-mini-app": "4.16.3", + "@walmart/returns-mini-app": "4.16.4", "@walmart/rfid-scan-mini-app": "2.7.1", "@walmart/rn-mobile-sdk-pairing": "2.0.4", "@walmart/rn-receiving-mini-app": "2.4.45", --- yarn.lock @@ -7379,7 +7379,7 @@ __metadata: "@walmart/react-native-webex-sdk": "patch:@walmart/react-native-webex-sdk@npm%3A0.4.3#~/.yarn/patches/@walmart-react-native-webex-sdk-npm-0.4.3-2621d9f1df.patch" "@walmart/receipt-check-miniapp": "npm:1.27.3" "@walmart/redux-store": "npm:~6.3.28" - "@walmart/returns-mini-app": "npm:4.16.3" + "@walmart/returns-mini-app": "npm:4.16.4" "@walmart/rfid-scan-mini-app": "npm:2.7.1" "@walmart/rn-mobile-sdk-pairing": "npm:2.0.4" "@walmart/rn-receiving-mini-app": "npm:2.4.45" @@ -8056,9 +8056,9 @@ __metadata: languageName: node linkType: hard -"@walmart/returns-mini-app@npm:4.16.3": - version: 4.16.3 - resolution: "@walmart/returns-mini-app@npm:4.16.3" +"@walmart/returns-mini-app@npm:4.16.4": + version: 4.16.4 + resolution: "@walmart/returns-mini-app@npm:4.16.4" dependencies: "@walmart/common-utilities-js": "npm:^1.2.10" "@walmart/virtual-zpl-printer-model": "npm:^0.2.11" @@ -8084,7 +8084,7 @@ __metadata: dependenciesMeta: "@walmart/me-at-walmart": built: false - checksum: 10c0/aaf23fb863498e5e4565840b953c04fd91c00e99cda3d8fcc20f6250346a2fe15b2e538c778c52be7ba574c32d0d316c72110c078f27b79ab53051ffe3fb661b + checksum: 10c0/6c4e8f89f0fde4f5f8e2f72ac9edbd4363e8477899b66b5e978c3929d130332da9cf3ef735e7b555f05e17fc05375db3ef6b527cb9b0a96793a0238b35eb3562 languageName: node linkType: hard
chore(ui): fix returns crahsing issue
chore(ui): fix returns crahsing issue
26cfb67bce68ac7051d5e4e5715c2d4511df19dc
--- src/translations/es-MX.ts @@ -4,8 +4,8 @@ export const esMX = { '@walmart/allspark-health-survey-mini-app': 'Health Survey', '@walmart/allspark-home-mini-app': 'Home', '@walmart/allspark-me-mini-app': 'Me', - '@walmart/ask-sam-mini-app': 'Ask Sam', '@walmart/amp-mini-app': 'Amp', + '@walmart/ask-sam-mini-app': 'Ask Sam', '@walmart/counts-component-miniapp': 'Counts', '@walmart/exception-mini-app': 'Pinpoint', '@walmart/facilities-management-miniapp': 'Gestión de instalaciones',
Update src/translations/es-MX.ts
Update src/translations/es-MX.ts Co-authored-by: Dylan Lane - rlane1 <Russell.Lane@walmart.com>
fcf219d114039f786657ffa7d2911fdfc905ed21
--- packages/allspark-foundation-hub/package.json @@ -1,6 +1,6 @@ { "name": "@walmart/allspark-foundation-hub", - "version": "1.0.1-alpha.2", + "version": "1.0.1-alpha.3", "description": "", "main": "Core/index.js", "types": "Core/index.d.ts",
Update foundation hub version
Update foundation hub version
103fe52b61db6554ac1dfc2880f19e234015d5f8
--- package-lock.json @@ -79,7 +79,7 @@ "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.6.1", - "@walmart/receipt-check-miniapp": "1.18.6", + "@walmart/receipt-check-miniapp": "1.18.7", "@walmart/redux-store": "3.7.0", "@walmart/returns-mini-app": "3.13.0", "@walmart/schedule-mini-app": "0.63.0", @@ -9564,9 +9564,9 @@ } }, "node_modules/@walmart/receipt-check-miniapp": { - "version": "1.18.6", - "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.18.6.tgz", - "integrity": "sha512-PIc3Y8QPdc4bzv9J77hb4kfu/lJ6ULSQGjER+1UAFZSUFSEgm/O9H645dGVvOA3RbLG2qVWMDyDkZMrSYdKGzg==", + "version": "1.18.7", + "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.18.7.tgz", + "integrity": "sha512-9dZak0kH/vlgG7bCCdcN/vhbzKCmPxJPCtpyL9/KvkSzpc5wAH8mXoYHzlPNhTOlNrL8gbqqp/VrUae0exRJSg==", "hasInstallScript": true, "dependencies": { "@walmart/tcnumber": "^2.3.3", @@ -33499,9 +33499,9 @@ "integrity": "sha512-jGJ2GDvDka1L8scmqvU2puNj93TFRgpr61ef4XyFO+FPUIPhs4CUtxDAChg4XIHMjLcNkQOwpc2mtz4A01wJfg==" }, "@walmart/receipt-check-miniapp": { - "version": "1.18.6", - "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.18.6.tgz", - "integrity": "sha512-PIc3Y8QPdc4bzv9J77hb4kfu/lJ6ULSQGjER+1UAFZSUFSEgm/O9H645dGVvOA3RbLG2qVWMDyDkZMrSYdKGzg==", + "version": "1.18.7", + "resolved": "https://npme.walmart.com/@walmart/receipt-check-miniapp/-/receipt-check-miniapp-1.18.7.tgz", + "integrity": "sha512-9dZak0kH/vlgG7bCCdcN/vhbzKCmPxJPCtpyL9/KvkSzpc5wAH8mXoYHzlPNhTOlNrL8gbqqp/VrUae0exRJSg==", "requires": { "@walmart/tcnumber": "^2.3.3", "@xstate/react": "^3.0.1", --- package.json @@ -120,7 +120,7 @@ "@walmart/react-native-shared-navigation": "1.0.2", "@walmart/react-native-store-map": "0.3.7", "@walmart/react-native-sumo-sdk": "2.6.1", - "@walmart/receipt-check-miniapp": "1.18.6", + "@walmart/receipt-check-miniapp": "1.18.7", "@walmart/redux-store": "3.7.0", "@walmart/returns-mini-app": "3.13.0", "@walmart/schedule-mini-app": "0.63.0",
update version
update version
b8acf4d9e8518022c734323b98663d008a03689f
--- package.json @@ -133,6 +133,7 @@ "@firebase/firestore-types": "^2.5.1", "@react-native-community/art@npm:^1.2.0": "patch:@react-native-community/art@npm%3A1.2.0#~/.yarn/patches/@react-native-community-art-npm-1.2.0-1c93d63acc.patch", "@react-native-community/datetimepicker": "^7.6.2", + "@reduxjs/toolkit": "1.9.7", "@stomp/stompjs": "^7.0.0", "@types/crypto-js": "^4.1.3", "@types/lodash": "~4.14.178", --- yarn.lock @@ -4837,7 +4837,7 @@ __metadata: languageName: node linkType: hard -"@reduxjs/toolkit@npm:^1.9.7": +"@reduxjs/toolkit@npm:1.9.7": version: 1.9.7 resolution: "@reduxjs/toolkit@npm:1.9.7" dependencies:
Update redux js toolkit resolution
Update redux js toolkit resolution
966b98f3000d6596eda931ceffa71da22aa53e3d
--- src/screens/MeganavScreen.tsx @@ -65,7 +65,6 @@ const styles = StyleSheet.create({ messageTextView: { justifyContent: 'center', alignSelf: 'center', - backgroundColor: 'yellow', }, extraView: { paddingHorizontal: 16, --- src/screens/MeganavScreen.tsx @@ -65,7 +65,6 @@ const styles = StyleSheet.create({ messageTextView: { justifyContent: 'center', alignSelf: 'center', - backgroundColor: 'yellow', }, extraView: { paddingHorizontal: 16,
Removed unnecessary code
Removed unnecessary code
f94289936f5e35f2ecbdccb264a6b30513f4f955
--- src/Adapters/useGetStoreAssociateAdapter.ts @@ -1,16 +1,16 @@ -import { StoreImages } from "@walmart/allspark-foundation-hub"; -import { Team as StoreAssociateTeam } from "@walmart/me-at-walmart-athena-queries/lib/schema.types"; -import { useMemo } from "react"; +import { StoreImages } from '@walmart/allspark-foundation-hub'; +import { Team as StoreAssociateTeam } from '@walmart/me-at-walmart-athena-queries/lib/schema.types'; +import { useMemo } from 'react'; import { useGetStoreAssociateTeamPreference, useGetTeamsByStore, -} from "../Hooks"; +} from '../Hooks'; import { createEnrichedTeamLookup, createStoreAssociateTeamSections, -} from "src/common/utils"; -import { TeamSection, TeamImage, EnrichedTeam } from "src/common/types"; +} from 'src/common/utils'; +import { TeamSection, TeamImage, EnrichedTeam } from 'src/common/types'; export interface StoreAssociateAdapterData { /** Array of enriched team objects with images */ --- src/Adapters/useGetTeamsAdapter.ts @@ -1,30 +1,30 @@ -import { useGetTeamsDataAdapter } from "./useGetTeamsDataAdapter"; +import { useGetTeamsDataAdapter } from './useGetTeamsDataAdapter'; import { SiteSelectors, useAllsparkSelector, -} from "@walmart/allspark-foundation"; -import { AssociateExpHubSelectors } from "src/Redux/selectors"; +} from '@walmart/allspark-foundation'; +import { AssociateExpHubSelectors } from 'src/Redux/selectors'; import { StoreImages, SupplyChainImages, useGetViewersPrimaryTeam, -} from "@walmart/allspark-foundation-hub"; +} from '@walmart/allspark-foundation-hub'; import { TeamSection, EnrichedTeam, ShiftCode, TeamImage, -} from "src/common/types"; -import { Team } from "@walmart/me-at-walmart-athena-queries/lib/schema.types"; -import { useMemo } from "react"; +} from 'src/common/types'; +import { Team } from '@walmart/me-at-walmart-athena-queries/lib/schema.types'; +import { useMemo } from 'react'; const DEFAULT_TEAM_NAMES = { - STORE: "Total store", - DISTRIBUTION_CENTER: "Total site", + STORE: 'Total store', + DISTRIBUTION_CENTER: 'Total site', } as const; -const SHIFT_CODE_SEPARATOR = " | "; -const SHIFT_CODE_DELIMITER = ", "; +const SHIFT_CODE_SEPARATOR = ' | '; +const SHIFT_CODE_DELIMITER = ', '; interface UseGetTeamsAdapterResult { loading: boolean; @@ -198,7 +198,7 @@ function getShiftCodeSuffix( shiftCodes: ShiftCode[] = [] ): string { if (!isSiteDC || !shiftCodes?.length) { - return ""; + return ''; } const validShiftCodes = shiftCodes @@ -207,5 +207,5 @@ function getShiftCodeSuffix( return validShiftCodes.length > 0 ? ` ${SHIFT_CODE_SEPARATOR} ${validShiftCodes.join(SHIFT_CODE_DELIMITER)}` - : ""; + : ''; }
feat(ui): data improvements #SMDV-7856
feat(ui): data improvements #SMDV-7856
d98805343c0a6aa2988a862f2c50dcf47941e252
--- packages/allspark-foundation/src/FeatureRunner/modals/types.ts @@ -1,3 +0,0 @@ -export type FeatureRunnerModalParams = { - 'container.changeLanguage': undefined; -}; --- packages/allspark-foundation/src/FeatureRunner/navigation.tsx @@ -25,6 +25,7 @@ import { import { UserActionCreators, UserSelectors } from '../User'; import { useContainerService } from '../Container'; import { AnyNavigator } from '../Navigation/types'; +import { ChangeLanguageModal } from '../Translation/modals'; import { Home } from './screens/Home'; import { Login } from './screens/Login'; @@ -36,7 +37,6 @@ import { PermissionsScreen } from './screens/Permissions'; import { SideMenu } from './screens/SideMenu'; import { ElementsScreen } from './screens/Elements'; import { NavigationScreen } from './screens/Navigation'; -import { TranslationModal } from './modals/TranslationModal'; import { ChangeLanguageButton } from './components/LanguageButton'; import { FeatureRunnerScreenParams } from './screens/types'; import { ImpersonationScreen } from './screens/Impersonation'; @@ -61,11 +61,10 @@ export const createFeatureRunnerNavigation = <F extends AllsparkFeatureModule>( Navigator: Stack as AnyNavigator, }); - AllsparkNavigationClient.addModal('container.changeLanguage', { - modal: TranslationModal, - position: 'bottom', - backdropOpacity: 0, - }); + AllsparkNavigationClient.addModal( + 'container.changeLanguage', + ChangeLanguageModal + ); const connectFeature = async () => { if (!AllsparkFeatureManager.has(feature.id)) { --- packages/allspark-foundation/src/Translation/client.ts @@ -14,6 +14,7 @@ export const DefaultConfig: TranslationClientOptions = { ns: ['container'], defaultNS: 'container', compatibilityJSON: 'v3', + supportedLanguages: ['en-US'], }; /** --- packages/allspark-foundation/src/Translation/modals/ChangeLanguageModal.tsx @@ -4,10 +4,8 @@ import { BottomSheet, Radio } from '@walmart/gtp-shared-components'; import { SafeAreaView } from 'react-native-safe-area-context'; import { useAllsparkModal } from '../../Navigation'; -import { - AllsparkTranslationClient, - useAllsparkTranslation, -} from '../../Translation'; +import { AllsparkTranslationClient, useAllsparkTranslation } from '../index'; +import { AllsparkFeature } from '../../Feature'; const styles = StyleSheet.create({ radioButton: { @@ -15,7 +13,7 @@ const styles = StyleSheet.create({ }, }); -export const TranslationModal = () => { +export const ChangeLanguageModalComponent = () => { const modal = useAllsparkModal(); const { i18n } = useAllsparkTranslation(); const [languages] = useState( @@ -63,3 +61,10 @@ export const TranslationModal = () => { </BottomSheet> ); }; + +export const ChangeLanguageModal = new AllsparkFeature( + 'change-langugage' +).createModal(ChangeLanguageModalComponent, { + position: 'bottom', + backdropOpacity: 0, +}); --- packages/allspark-foundation/src/Translation/modals/index.ts @@ -0,0 +1 @@ +export * from './ChangeLanguageModal';
feat: export common change language modal
feat: export common change language modal
5c1c770aef041c86ee81aa20cca69ea5cbb471d1
--- __tests__/components/SearchHeaderTest.tsx @@ -41,6 +41,10 @@ describe('SearchHeader tests', () => { const searchHeader = renderWithProviders( <Header originalHeaderType={SearchHeaderBase} {...stackHeaderProps} />, ); + const originalHeader = searchHeader.UNSAFE_getByProps({ + originalHeaderType: SearchHeaderBase, + }); + expect(originalHeader.children).toEqual(expect.arrayContaining(['Header'])); expect(searchHeader).toMatchSnapshot(); });
added assertion
added assertion
2f2255c4b7f501880af2a49ac0651b24e714b7d0
--- package.json @@ -87,7 +87,7 @@ "@walmart/core-widget-registry": "0.5.7", "@walmart/counts-component-miniapp": "0.0.39", "@walmart/exception-mini-app": "0.42.6", - "@walmart/facilities-management-miniapp": "0.3.9", + "@walmart/facilities-management-miniapp": "0.3.10", "@walmart/feedback-all-spark-miniapp": "0.8.0", "@walmart/financial-wellbeing-feature-app": "1.0.29", "@walmart/functional-components": "2.0.6",
Update package.json
Update package.json
e14f9df54da234d11b22f05d9f2de07595115332
--- packages/me-at-walmart-container/src/redux/config.ts @@ -307,4 +307,5 @@ export const ConfigSagas = [ onRefetchNavConfig, ), takeLatest(ConfigActionTypes.FETCH_SUCCESS, onAppConfigSuccess), + takeLatest([ConfigActionTypes.FETCH_SUCCESS, ConfigActionTypes.BACKGROUND_REFRESH], onConfigUpdate), ];
Feature toggle enabled for foundation
Feature toggle enabled for foundation
97b888c2b6de1018e07f591d1a77d0fddaca6506
--- package-lock.json @@ -41,7 +41,7 @@ "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.13.4", "@walmart/attendance-mini-app": "0.190.6", - "@walmart/compass-sdk-rn": "5.4.0", + "@walmart/compass-sdk-rn": "5.5.0", "@walmart/config-components": "4.2.1", "@walmart/copilot-mini-app": "1.77.9", "@walmart/core-services": "~2.2.0", @@ -51,7 +51,7 @@ "@walmart/counts-component-miniapp": "0.1.5", "@walmart/emergency-mini-app": "1.25.1", "@walmart/exception-mini-app": "1.5.1", - "@walmart/facilities-management-miniapp": "0.6.75", + "@walmart/facilities-management-miniapp": "0.6.76", "@walmart/feedback-all-spark-miniapp": "0.9.43", "@walmart/financial-wellbeing-feature-app": "1.10.4", "@walmart/functional-components": "~4.0.3", @@ -8071,9 +8071,9 @@ } }, "node_modules/@walmart/compass-sdk-rn": { - "version": "5.4.0", - "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.4.0.tgz", - "integrity": "sha512-v9pVRENouHTqJ7fnGJy+WfNPzaW5JHcOOVoNpRqL0ICVVMX41/5rx9Wz9UKMcN2IgaJgR5raDsCo1F7Cb2X8Gg==", + "version": "5.5.0", + "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.5.0.tgz", + "integrity": "sha512-T1QnXeSvzmo8jCIVOFN5Ms7C12b12sPU0eiOnu+0SomElhl/izPhgjdAIwVcq36MfwRJwrtag4aHw5e4O94s5g==", "license": "MIT", "peerDependencies": { "react": "*", @@ -8271,9 +8271,9 @@ } }, "node_modules/@walmart/facilities-management-miniapp": { - "version": "0.6.75", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.75.tgz", - "integrity": "sha512-sAM0at7YR3jX1xMW0jGUq2tBjMwuBF2AcZ3SuF302Sa+BcvbxzGUXMa/v9Z85OcNzzcYSy74/W025NzzsTaBVg==", + "version": "0.6.76", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.76.tgz", + "integrity": "sha512-n8nLexIpfBxvbp6NocwpBnQa9LgyRZ0lfla8SUy2lqDHV1G5L6D98lqRx+ZVJ8ID8uMrjqdjbkuRbEpHeX5NfA==", "hasInstallScript": true, "peerDependencies": { "@react-native-camera-roll/camera-roll": "5.6.0", @@ -10196,13 +10196,6 @@ "version": "7.0.0-beta.0", "license": "MIT" }, - "node_modules/babel-plugin-transform-remove-console": { - "version": "6.9.4", - "resolved": "https://npme.walmart.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz", - "integrity": "sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==", - "dev": true, - "license": "MIT" - }, "node_modules/babel-plugin-transform-flow-enums": { "version": "0.0.2", "resolved": "https://npme.walmart.com/babel-plugin-transform-flow-enums/-/babel-plugin-transform-flow-enums-0.0.2.tgz", @@ -10213,6 +10206,13 @@ "@babel/plugin-syntax-flow": "^7.12.1" } }, + "node_modules/babel-plugin-transform-remove-console": { + "version": "6.9.4", + "resolved": "https://npme.walmart.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz", + "integrity": "sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==", + "dev": true, + "license": "MIT" + }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, @@ -33540,9 +33540,9 @@ } }, "@walmart/compass-sdk-rn": { - "version": "5.4.0", - "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.4.0.tgz", - "integrity": "sha512-v9pVRENouHTqJ7fnGJy+WfNPzaW5JHcOOVoNpRqL0ICVVMX41/5rx9Wz9UKMcN2IgaJgR5raDsCo1F7Cb2X8Gg==" + "version": "5.5.0", + "resolved": "https://npme.walmart.com/@walmart/compass-sdk-rn/-/compass-sdk-rn-5.5.0.tgz", + "integrity": "sha512-T1QnXeSvzmo8jCIVOFN5Ms7C12b12sPU0eiOnu+0SomElhl/izPhgjdAIwVcq36MfwRJwrtag4aHw5e4O94s5g==" }, "@walmart/config-components": { "version": "4.2.1", @@ -33615,9 +33615,9 @@ "integrity": "sha512-d5j7mlW+7Muw6vSZzc0WvoPbOOlF0oLkniWfAS6IP/o9SZ08Ph6NRIRAg95PWOqeW52zh7YTJZwEi24Zpaf93g==" }, "@walmart/facilities-management-miniapp": { - "version": "0.6.75", - "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.75.tgz", - "integrity": "sha512-sAM0at7YR3jX1xMW0jGUq2tBjMwuBF2AcZ3SuF302Sa+BcvbxzGUXMa/v9Z85OcNzzcYSy74/W025NzzsTaBVg==" + "version": "0.6.76", + "resolved": "https://npme.walmart.com/@walmart/facilities-management-miniapp/-/facilities-management-miniapp-0.6.76.tgz", + "integrity": "sha512-n8nLexIpfBxvbp6NocwpBnQa9LgyRZ0lfla8SUy2lqDHV1G5L6D98lqRx+ZVJ8ID8uMrjqdjbkuRbEpHeX5NfA==" }, "@walmart/feedback-all-spark-miniapp": { "version": "0.9.43", @@ -34493,12 +34493,6 @@ "babel-plugin-syntax-trailing-function-commas": { "version": "7.0.0-beta.0" }, - "babel-plugin-transform-remove-console": { - "version": "6.9.4", - "resolved": "https://npme.walmart.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz", - "integrity": "sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==", - "dev": true - }, "babel-plugin-transform-flow-enums": { "version": "0.0.2", "resolved": "https://npme.walmart.com/babel-plugin-transform-flow-enums/-/babel-plugin-transform-flow-enums-0.0.2.tgz", @@ -34508,6 +34502,12 @@ "@babel/plugin-syntax-flow": "^7.12.1" } }, + "babel-plugin-transform-remove-console": { + "version": "6.9.4", + "resolved": "https://npme.walmart.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz", + "integrity": "sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==", + "dev": true + }, "babel-preset-current-node-syntax": { "version": "1.0.1", "dev": true, --- package.json @@ -82,7 +82,7 @@ "@walmart/ask-sam-chat-components": "^0.2.7", "@walmart/ask-sam-mini-app": "1.13.4", "@walmart/attendance-mini-app": "0.190.6", - "@walmart/compass-sdk-rn": "5.4.0", + "@walmart/compass-sdk-rn": "5.5.0", "@walmart/config-components": "4.2.1", "@walmart/copilot-mini-app": "1.77.9", "@walmart/core-services": "~2.2.0", @@ -92,7 +92,7 @@ "@walmart/counts-component-miniapp": "0.1.5", "@walmart/emergency-mini-app": "1.25.1", "@walmart/exception-mini-app": "1.5.1", - "@walmart/facilities-management-miniapp": "0.6.75", + "@walmart/facilities-management-miniapp": "0.6.76", "@walmart/feedback-all-spark-miniapp": "0.9.43", "@walmart/financial-wellbeing-feature-app": "1.10.4", "@walmart/functional-components": "~4.0.3",
Updating the compass-sdk-rn version to 5.5.0
Updating the compass-sdk-rn version to 5.5.0