Skip to content

Conversation

@SambhuPega
Copy link
Contributor

Updated the header component style
case type added in the sdk config

Comment on lines 167 to 169
if (caseTypes && caseTypes.length > 0) {
//mashupCaseType = caseTypes[0].pyWorkTypeImplementationClassName;
mashupCaseType = 'DIXL-MediaCo-Work-PurchasePhone';
mashupCaseType = sdkConfigData.authConfig.mashupCaseType;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to modify this logic, it should be like below one

if (caseTypes && caseTypes.length > 0) {
        mashupCaseType = caseTypes[0].pyWorkTypeImplementationClassName;
}

sdk-config.json Outdated
"sdk_optional_configs_doc_comment": "See the document(link below) for more details on all the available config settings",
"sdk_optional_configs_doc": "https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/configuring-sdk-config-json.html",
"theme": "light",
"theme": "dark",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep light as default theme

sdk-config.json Outdated
Comment on lines 17 to 18
"portalClientId": "25795373220702300272",
"mashupCaseType": "DIXL-MediaCo-Work-PurchasePhone"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need of new key 'mashupCaseType', appMashupCaseType is already present below

import StoreContext from '../../../bridge/Context/StoreContext';
import createPConnectComponent from '../../../bridge/react_pconnect';

import sdkConfigData from '../../../../../../sdk-config.json';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this import

tsconfig.json Outdated
"allowJs": true, // must be false for @pega/pcore-pconnect-typedefs
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this too

@tumms2021389 tumms2021389 changed the title Mod/tor/embedded update fix: header theme changes in embedded sample Oct 29, 2025
@tumms2021389 tumms2021389 merged commit ee8f143 into master Oct 29, 2025
5 checks passed
@tumms2021389 tumms2021389 deleted the mod/tor/embeddedUpdate branch October 29, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants