Merge branch 'develop' into feature/uboppa/INSR-8668

This commit is contained in:
Udayboppasafelite 2026-06-18 10:59:58 -04:00
commit 4eef67bf85
2 changed files with 14 additions and 8 deletions

View file

@ -162,6 +162,14 @@ body {
bailoutInfo.push({ name: 'App Name', value: 'ISS' }); bailoutInfo.push({ name: 'App Name', value: 'ISS' });
bailoutInfo.push({ name: 'Site Name', value: 'ISS 2.0' }); bailoutInfo.push({ name: 'Site Name', value: 'ISS 2.0' });
// Build Info
bailoutInfo.push({ name: 'Build Version', value: mainStore.issConfig?.buildInfo?.versionString });
bailoutInfo.push({ name: 'Build Time', value: mainStore.issConfig?.buildInfo?.buildTime });
// ISS Configuration Info
bailoutInfo.push({ name: 'Client Tag', value: mainStore.issConfig?.clientTag });
bailoutInfo.push({ name: 'Client Name', value: mainStore.issConfig?.clientName });
// Not included (yet) from heritage: // Not included (yet) from heritage:
// - Site ID // - Site ID
// - Code // - Code
@ -356,19 +364,16 @@ body {
diagnosticContainer.remove(); diagnosticContainer.remove();
} }
// TODO: Re-enable logging after some further testing.
/*
const apiHostname = environmentInfo?.apiHostname; const apiHostname = environmentInfo?.apiHostname;
if(apiHostname) { if(apiHostname) {
try { try {
const endpointUrl = `https://${apiHostname}/analytics/api/v1/logging/log-error`; const endpointUrl = `https://${apiHostname}/analytics/api/v1/logging/log-error`;
const infoString = bailoutInfo?.map( const infoString = bailoutInfo?.map(
(entry) => `${entry.name}: ${entry.value}` (entry) => `${entry.name}: ${entry.value}`
)?.reduce( )?.reduce(
(prev, next) => `${prev}\n${next}` (prev, next) => `${prev}\n${next}`
); );
const entryString = `User encountered bailout page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`; const entryString = `User landed on the static-error page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`;
const headers = generateRequestHeader(headerInfo); const headers = generateRequestHeader(headerInfo);
@ -420,7 +425,6 @@ body {
console.error(e); console.error(e);
} }
} }
*/
}; };
</script> </script>
</body> </body>

View file

@ -638,6 +638,8 @@ export const useMainStore = defineStore({
payload: payload:
{ {
referralCorrelationId: this.order.referralCorrelationId, referralCorrelationId: this.order.referralCorrelationId,
referralDate: this.order.referralDate,
referralNumber: this.order.referralNumber,
accountNumber: this.order.parentAccountNumber?.toString() ?? '', accountNumber: this.order.parentAccountNumber?.toString() ?? '',
policyData: this.order.policy.policyData, policyData: this.order.policy.policyData,
// TODO: Remove this isRepair flag from the payload after coverage service updates are deployed. // TODO: Remove this isRepair flag from the payload after coverage service updates are deployed.