@rh-support/troubleshoot 0.2.20 → 0.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"AddCustomEmailToAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.tsx"],"names":[],"mappings":"AAOA,UAAU,MAAM;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AACD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,eA+GpD"}
1
+ {"version":3,"file":"AddCustomEmailToAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.tsx"],"names":[],"mappings":"AAOA,UAAU,MAAM;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AACD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,eAiHpD"}
@@ -35,13 +35,15 @@ export function AddCustomEmailToAccount(props) {
35
35
  const onFirstNameChange = (firstName) => setFirstName(firstName);
36
36
  const onLastNameChange = (lastName) => setLastName(lastName);
37
37
  const handleClose = () => {
38
+ if (isFetching)
39
+ return;
38
40
  setIsSaveButtonClicked(false);
39
41
  props.onClose && props.onClose();
40
42
  };
41
- return (React.createElement(Modal, { variant: ModalVariant.medium, title: t('Add a notification email to your account'), isOpen: true, onClose: handleClose, actions: [
43
+ return (React.createElement(Modal, { variant: ModalVariant.medium, title: t('Add a notification email to your account'), isOpen: true, onClose: handleClose, onEscapePress: handleClose, actions: [
42
44
  React.createElement(Button, { spinnerAriaValueText: isFetching ? t('Adding') : undefined, isLoading: isFetching, key: "confirm", variant: "primary", onClick: onAdd, isDisabled: isFetching || (isSaveButtonClicked && isEmpty(firstName)) },
43
45
  React.createElement(Trans, null, "Add to account")),
44
- React.createElement(Button, { key: "cancel", variant: "link", onClick: handleClose },
46
+ React.createElement(Button, { key: "cancel", variant: "link", onClick: handleClose, isDisabled: isFetching },
45
47
  React.createElement(Trans, null, "Cancel")),
46
48
  ] },
47
49
  React.createElement("p", { className: "pf-u-mb-lg" },
@@ -1 +1 @@
1
- {"version":3,"file":"SessionRestore.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestore.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAQvD,OAAO,EAGH,eAAe,EAElB,MAAM,iCAAiC,CAAC;AAgBzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,eAgU3C"}
1
+ {"version":3,"file":"SessionRestore.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestore.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAQvD,OAAO,EAGH,eAAe,EAElB,MAAM,iCAAiC,CAAC;AAgBzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,eAqU3C"}
@@ -21,7 +21,7 @@ import { RouteContext, useRouteDispatchContext } from '../../context/RouteContex
21
21
  import { SessionRestoreDispatchContext, SessionRestoreStateContext } from '../../context/SessionRestoreContext';
22
22
  import { CaseReducerConstants, SESSION_REFERRER_URL_LIMIT } from '../../reducers/CaseConstNTypes';
23
23
  import { getSessionDetailsFromCase } from '../../reducers/CaseHelpers';
24
- import { setCaseAccountNumber, setCaseOwner, updateCaseWithSession } from '../../reducers/CaseReducer';
24
+ import { setCaseAccountNumber, setCaseOwner, setCaseState, updateCaseWithSession } from '../../reducers/CaseReducer';
25
25
  import { AppRouteSections, sessionRestoreCardSections, } from '../../reducers/RouteConstNTypes';
26
26
  import { getDefaultSection, RouteReducerConstants } from '../../reducers/RouteReducer';
27
27
  import { createSession, getRelevantSessionFromSessions, loadPreviousSessions, markAllSessionsUnresolved, updateActiveSessionId, updateSession, } from '../../reducers/SessionRestoreReducer';
@@ -192,6 +192,10 @@ export function SessionRestore(props) {
192
192
  sessionDetails.accountNumber = caseDetails.accountNumberRef;
193
193
  sessionDetails.contactSsoUsername = caseDetails.contactSSOName;
194
194
  }
195
+ //set OpenShift v3 cluster name
196
+ const reg = new RegExp('Cluster Name: (.*) ');
197
+ const v3ClusterName = reg.exec(sessionDetails.description) ? reg.exec(sessionDetails.description)[1] : '';
198
+ setCaseState(caseDispatch, { v3ClusterName });
195
199
  yield updateCaseWithSession(caseDispatch, sessionItem, loggedInUserRights.data.getAccountNumber(), loggedInUserRights.data.getHydraContactFromLoggedInUser(), loggedInUsersAccount.data);
196
200
  restoreFilesFromSession(dispatchToAttachmentReducer, sessionItem.session.id);
197
201
  // navigate to beginning section if submit case.
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Alle Felder sind optional.',
40
40
  'Where are you experiencing the behavior? What environment?': 'Wo erleben Sie das Verhalten? In welcher Umgebung?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': 'Wann tritt das Verhalten auf? Häufigkeit? Wiederholt? Zu bestimmten Zeiten?',
42
- 'What information can you provide around timeframes and the business impact?': 'Welche Informationen können Sie zu Zeitrahmen und geschäftlichen Auswirkungen bereitstellen?',
42
+ 'What is the business impact? Please also provide timeframe information.?': 'Welche Informationen können Sie zu Zeitrahmen und geschäftlichen Auswirkungen bereitstellen?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'Die gesamte Fallbeschreibung darf nicht länger als {{limit}} Zeichen sein.',
44
44
  'Drag a file here or browse to upload': 'Datei zum Hochladen hierher ziehen oder navigieren',
45
45
  'Select File': 'Datei auswählen',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Todos los campos son opcionales',
40
40
  'Where are you experiencing the behavior? What environment?': '¿Dónde está experimentando el problema? ¿Qué entorno?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': '¿Cuándo ocurre el problema? ¿Frecuencia? ¿Reiteradamente? ¿En ciertos momentos?',
42
- 'What information can you provide around timeframes and the business impact?': '¿Qué información puede proporcionar sobre los plazos y el impacto comercial?',
42
+ 'What is the business impact? Please also provide timeframe information.?': '¿Qué información puede proporcionar sobre los plazos y el impacto comercial?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'La descripción total del caso debe tener menos de {{limit}} caracteres.',
44
44
  'Drag a file here or browse to upload': 'Arrastre un archivo aquí o presione Examinar para cargar un archivo',
45
45
  'Select File': 'Seleccionar archivo',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Tous les champs sont facultatifs',
40
40
  'Where are you experiencing the behavior? What environment?': 'Où observez-vous ce comportement ? Dans quel environnement ?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': 'Quand ce comportement se produit-il ? Fréquence ? De façon répétitive ? À certains moments en particulier ?',
42
- 'What information can you provide around timeframes and the business impact?': "Quelles informations pouvez-vous fournir sur les délais et l'impact sur l'entreprise ?",
42
+ 'What is the business impact? Please also provide timeframe information.?': "Quelles informations pouvez-vous fournir sur les délais et l'impact sur l'entreprise ?",
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'La description cumulative du cas ne peut comporter plus de {{limit}} caractères.',
44
44
  'Drag a file here or browse to upload': 'Faites glisser un fichier ici ou naviguez pour effectuer un téléchargement',
45
45
  'Select File': 'Sélectionner le fichier',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Tutti i campi sono facoltativi',
40
40
  'Where are you experiencing the behavior? What environment?': 'Dove stai riscontrando questo comportamento? In quale ambiente?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': 'Quando si verifica questo comportamento? Con quale frequenza? Ripetutamente? In alcuni momenti?',
42
- 'What information can you provide around timeframes and the business impact?': "Quali informazioni puoi fornire in merito agli intervalli di tempo e all'impatto sulla tua attività?",
42
+ 'What is the business impact? Please also provide timeframe information.?': "Quali informazioni puoi fornire in merito agli intervalli di tempo e all'impatto sulla tua attività?",
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'La descrizione cumulativa del caso non può contenere più di {{limit}} caratteri',
44
44
  'Drag a file here or browse to upload': 'Trascina qui un file o sfoglia per caricarlo',
45
45
  'Select File': 'Seleziona il file',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'すべてのフィールドはオプションです',
40
40
  'Where are you experiencing the behavior? What environment?': '問題の発生場所および環境',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': '問題の発生するタイミングおよび頻度。繰り返し発生するか? 特定のタイミングで発生するか?',
42
- 'What information can you provide around timeframes and the business impact?': '時間枠や、ビジネスへの影響に関する情報はこちらに記載してください。',
42
+ 'What is the business impact? Please also provide timeframe information.?': '時間枠や、ビジネスへの影響に関する情報はこちらに記載してください。',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'ケースの説明文の文字数はまとめて {{limit}} 字以内となります',
44
44
  'Drag a file here or browse to upload': 'ここにファイルをドラッグするか、参照してアップロードする',
45
45
  'Select File': 'ファイルの選択',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': '모든 필드는 선택 사항입니다.',
40
40
  'Where are you experiencing the behavior? What environment?': '어디에서 이 문제가 발생했습니까? 어떤 환경에서 이 문제가 발생했습니까?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': '언제 이 문제가 발생했습니까? 얼마나 자주 발생했습니까? 문제가 반복적으로 발생합니까? 특정 시간에 문제가 발생합니까?',
42
- 'What information can you provide around timeframes and the business impact?': '기간 및 비즈니스 영향과 관련하여 어떤 정보를 제공할 수 있습니까?',
42
+ 'What is the business impact? Please also provide timeframe information.?': '기간 및 비즈니스 영향과 관련하여 어떤 정보를 제공할 수 있습니까?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': '문제 설명 길이는 {{limit}}자를 초과할 수 없습니다.',
44
44
  'Drag a file here or browse to upload': '여기에 파일을 드래그하거나 업로드할 파일을 선택하십시오.',
45
45
  'Select File': '파일 선택',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Todos os campos são opcionais',
40
40
  'Where are you experiencing the behavior? What environment?': 'Onde o comportamento está ocorrendo? Em que ambiente?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': 'Quando o comportamento ocorre? Frequência? Repetidamente? Em alguns momentos?',
42
- 'What information can you provide around timeframes and the business impact?': 'Que informações você pode fornecer sobre os períodos de ocorrência e o impacto nos negócios?',
42
+ 'What is the business impact? Please also provide timeframe information.?': 'Que informações você pode fornecer sobre os períodos de ocorrência e o impacto nos negócios?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'A descrição cumulativa do caso não pode exceder {{limit}} caracteres',
44
44
  'Drag a file here or browse to upload': 'Arraste um arquivo aqui ou procure para fazer upload',
45
45
  'Select File': 'Selecionar arquivo',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': 'Все поля являются необязательными',
40
40
  'Where are you experiencing the behavior? What environment?': 'Где вы сталкиваетесь с таким поведением? В какой среде?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': 'Когда возникает такое поведение? Какова частота его возникновения? Возникает ли оно повторно? Возникает ли оно в определенные моменты времени?',
42
- 'What information can you provide around timeframes and the business impact?': 'Какую информацию вы можете указать по срокам решения и влиянию на ваш бизнес?',
42
+ 'What is the business impact? Please also provide timeframe information.?': 'Какую информацию вы можете указать по срокам решения и влиянию на ваш бизнес?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': 'Общее описание случая не может превышать {{limit}} символов',
44
44
  'Drag a file here or browse to upload': 'Перетащите файл сюда либо откройте проводник для его загрузки',
45
45
  'Select File': 'Выберите файл',
@@ -39,7 +39,7 @@ declare const _default: {
39
39
  'All fields optional.': string;
40
40
  'Where are you experiencing the behavior? What environment?': string;
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': string;
42
- 'What information can you provide around timeframes and the business impact?': string;
42
+ 'What is the business impact? Please also provide timeframe information.?': string;
43
43
  'Cumulative case description cannot be more than {{limit}} characters': string;
44
44
  'Drag a file here or browse to upload': string;
45
45
  'Select File': string;
@@ -39,7 +39,7 @@ export default {
39
39
  'All fields optional.': '所有项都是可选的',
40
40
  'Where are you experiencing the behavior? What environment?': '您在哪里遇到这个问题?什么环境?',
41
41
  'When does the behavior occur? Frequency? Repeatedly? At certain times?': '这个问题在什么时候发生?问题发生的频率是什么?问题是否会重复发生?问题是否在特定时间发生?',
42
- 'What information can you provide around timeframes and the business impact?': '您可以在时间和业务影响方面提供哪些信息?',
42
+ 'What is the business impact? Please also provide timeframe information.?': '您可以在时间和业务影响方面提供哪些信息?',
43
43
  'Cumulative case description cannot be more than {{limit}} characters': '问题描述的长度不能超过 {{limit}} 个字符',
44
44
  'Drag a file here or browse to upload': '把文件拖放在这里或选择要上传的文件',
45
45
  'Select File': '选择文件',
@@ -21,12 +21,14 @@ export declare const SESSION_PERIODICITY_OF_ISSUE_LIMIT = 32768;
21
21
  export declare const SESSION_ISSUE_LIMIT = 32768;
22
22
  export declare const SESSION_ENVIRONMENT_LIMIT = 32768;
23
23
  export declare const SESSION_REFERRER_URL_LIMIT = 1024;
24
+ export declare const SESSION_NO_CLUSTER_REASON_LENGTH_LIMIT = 255;
25
+ export declare const SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT = 255;
24
26
  export declare const summaryMaxLengthErrorMessage = "Case summary cannot be more than {{limit}} characters.";
25
27
  export declare enum KtQuestionConstant {
26
28
  issue = "What problem/issue/behavior are you having trouble with? What do you expect to see?",
27
29
  environment = "Where are you experiencing the behavior? What environment?",
28
30
  periodicityOfIssue = "When does the behavior occur? Frequency? Repeatedly? At certain times?",
29
- timeFramesAndUrgency = "What information can you provide around timeframes and the business impact?"
31
+ timeFramesAndUrgency = "What is the business impact? Please also provide timeframe information."
30
32
  }
31
33
  export declare const enum SupportLevelsInternal {
32
34
  SELF_SUPPORT = "selfSupport",
@@ -1 +1 @@
1
- {"version":3,"file":"CaseConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/Ca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sBAAsB,CAAC,CAAC;AACpF,oBAAY,uBAAuB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG,eAAO,MAAM,yCAAyC,+CAA+C,CAAC"}
@@ -13,6 +13,8 @@ export const SESSION_PERIODICITY_OF_ISSUE_LIMIT = 32768;
13
13
  export const SESSION_ISSUE_LIMIT = 32768;
14
14
  export const SESSION_ENVIRONMENT_LIMIT = 32768;
15
15
  export const SESSION_REFERRER_URL_LIMIT = 1024;
16
+ export const SESSION_NO_CLUSTER_REASON_LENGTH_LIMIT = 255;
17
+ export const SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT = 255;
16
18
  export const summaryMaxLengthErrorMessage = 'Case summary cannot be more than {{limit}} characters.';
17
19
  // Constants
18
20
  export var KtQuestionConstant;
@@ -20,7 +22,7 @@ export var KtQuestionConstant;
20
22
  KtQuestionConstant["issue"] = "What problem/issue/behavior are you having trouble with? What do you expect to see?";
21
23
  KtQuestionConstant["environment"] = "Where are you experiencing the behavior? What environment?";
22
24
  KtQuestionConstant["periodicityOfIssue"] = "When does the behavior occur? Frequency? Repeatedly? At certain times?";
23
- KtQuestionConstant["timeFramesAndUrgency"] = "What information can you provide around timeframes and the business impact?";
25
+ KtQuestionConstant["timeFramesAndUrgency"] = "What is the business impact? Please also provide timeframe information.";
24
26
  })(KtQuestionConstant || (KtQuestionConstant = {}));
25
27
  export const SupportLevelDisplay = {
26
28
  STANDARD: 'Standard',
@@ -1 +1 @@
1
- {"version":3,"file":"CaseHelpers.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvG,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CA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AAG,MAQhF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBAAkB,MAAM,YAAY,MAAM,KAAG,MAQhF,CAAC;AAEF,eAAO,MAAM,sBAAsB,aAAc,MAAM,KAAG,MAKzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,+CAkC5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,cAAe,UAAU,wBAAwB,QAAQ,eAAe,CAAC,KAAG,OA0BxG,CAAC;AAEF,eAAO,MAAM,0BAA0B,cACxB,UAAU,wBACC,QAAQ,eAAe,CAAC,KAC/C,OAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,cAC3B,UAAU,wBACC,QAAQ,eAAe,CAAC,KAC/C,OAgBF,CAAC;AAEF,eAAO,MAAM,iBAAiB,cACf,UAAU,gBACP,YAAY,iBACZ,OAAO,KACtB,QAAQ,YAAY,CAiEtB,CAAC;AAEF,eAAO,MAAM,wBAAwB,qBAAsB,YAAY,EAAE,KAAG,YAAY,EAEvF,CAAC;AACF,eAAO,MAAM,yBAAyB,qBAAsB,YAAY,EAAE,KAAG,OAE5E,CAAC;AAEF,eAAO,MAAM,yBAAyB,gBACrB,YAAY,6BACE,MAAM,mBAChB,MAAM,KACxB,QAAQ,YAAY,CA6BtB,CAAC;AACF,eAAO,MAAM,yBAAyB,gBACrB,QAAQ,YAAY,CAAC,gCACJ,QAAQ,EAAE,KACzC,eAyCF,CAAC"}
@@ -8,7 +8,7 @@ import some from 'lodash/some';
8
8
  import unionBy from 'lodash/unionBy';
9
9
  import uniqBy from 'lodash/uniqBy';
10
10
  import { getIsClusterIdInvalid, isClusterIdEnabledForProduct } from '../utils/caseOpenshiftClusterIdUtils';
11
- import { ALTERNATE_CASE_ID_LIMIT, CLUSTER_ID_LIMIT, CONTACT_INFO_24X7_LIMIT, DESCRIPTION_LENGTH_LIMIT, HOSTNAME_LENGTH_LIMIT, ITRForSLASeverity, KtQuestionConstant, SESSION_ENVIRONMENT_LIMIT, SESSION_ISSUE_LIMIT, SESSION_NOTIFIED_USERS_EXTERNAL_LIMIT, SESSION_NOTIFIED_USERS_INTERNAL_LIMIT, SESSION_PERIODICITY_OF_ISSUE_LIMIT, SESSION_TIME_FRAMES_URGENCY_LIMIT, SeverityDescription, SUMMARY_LENGTH_LIMIT, } from './CaseConstNTypes';
11
+ import { ALTERNATE_CASE_ID_LIMIT, CLUSTER_ID_LIMIT, CONTACT_INFO_24X7_LIMIT, DESCRIPTION_LENGTH_LIMIT, HOSTNAME_LENGTH_LIMIT, ITRForSLASeverity, KtQuestionConstant, SESSION_ENVIRONMENT_LIMIT, SESSION_ISSUE_LIMIT, SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT, SESSION_NO_CLUSTER_REASON_LENGTH_LIMIT, SESSION_NOTIFIED_USERS_EXTERNAL_LIMIT, SESSION_NOTIFIED_USERS_INTERNAL_LIMIT, SESSION_PERIODICITY_OF_ISSUE_LIMIT, SESSION_TIME_FRAMES_URGENCY_LIMIT, SeverityDescription, SUMMARY_LENGTH_LIMIT, } from './CaseConstNTypes';
12
12
  export const getCaseRecommendations = (docs, oldDocs) => {
13
13
  const recs = [];
14
14
  docs.forEach((doc, i) => {
@@ -243,7 +243,7 @@ export const getHasInvalidEntitlements = (caseEntitlements) => {
243
243
  return filter(unionBy(caseEntitlements, 'slaProcessId'), (e) => !!e.slaProcessId).length === 0;
244
244
  };
245
245
  export const getCaseFromSessionDetails = (sessionItem, loggedInUserAccountNumber, loggedInUserSSO) => {
246
- var _a, _b, _c, _d, _e, _f, _g, _h;
246
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
247
247
  const { sessionDetails, session } = sessionItem;
248
248
  return {
249
249
  product: sessionDetails.product,
@@ -267,12 +267,14 @@ export const getCaseFromSessionDetails = (sessionItem, loggedInUserAccountNumber
267
267
  cep: sessionDetails.isCep,
268
268
  openshiftClusterID: (_g = sessionDetails.clusterId) !== null && _g !== void 0 ? _g : '',
269
269
  alternateId: (_h = sessionDetails.caseAlternateId) !== null && _h !== void 0 ? _h : '',
270
+ noClusterIdReason: (_j = sessionDetails.noClusterIdReason) !== null && _j !== void 0 ? _j : '',
271
+ noClusterIdReasonExplanation: (_k = sessionDetails.noClusterIdReasonExplanation) !== null && _k !== void 0 ? _k : '',
270
272
  userAgent: session.userAgent,
271
273
  originatingSystem: session.originatingSystem,
272
274
  };
273
275
  };
274
276
  export const getSessionDetailsFromCase = (caseDetails, selectedNotificationContacts) => {
275
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
277
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
276
278
  const notifiedUsersInternal = [];
277
279
  const notifiedUsersExternal = [];
278
280
  forEach(selectedNotificationContacts, (contact) => {
@@ -307,5 +309,7 @@ export const getSessionDetailsFromCase = (caseDetails, selectedNotificationConta
307
309
  isCep: caseDetails.cep,
308
310
  clusterId: (_l = (_k = caseDetails.openshiftClusterID) === null || _k === void 0 ? void 0 : _k.substring(0, CLUSTER_ID_LIMIT)) !== null && _l !== void 0 ? _l : '',
309
311
  caseAlternateId: (_o = (_m = caseDetails.alternateId) === null || _m === void 0 ? void 0 : _m.substring(0, ALTERNATE_CASE_ID_LIMIT)) !== null && _o !== void 0 ? _o : '',
312
+ noClusterIdReason: (_q = (_p = caseDetails.noClusterIdReason) === null || _p === void 0 ? void 0 : _p.substring(0, SESSION_NO_CLUSTER_REASON_LENGTH_LIMIT)) !== null && _q !== void 0 ? _q : '',
313
+ noClusterIdReasonExplanation: (_s = (_r = caseDetails.noClusterIdReasonExplanation) === null || _r === void 0 ? void 0 : _r.substring(0, SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT)) !== null && _s !== void 0 ? _s : '',
310
314
  };
311
315
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -26,7 +26,7 @@
26
26
  "lib/**/*"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@cee-eng/hydrajs": "4.5.3",
29
+ "@cee-eng/hydrajs": "4.5.4",
30
30
  "@cee-eng/ui-toolkit": "1.1.3",
31
31
  "@patternfly/patternfly": "4.102.2",
32
32
  "@patternfly/pfe-accordion": "1.1.0",
@@ -63,7 +63,7 @@
63
63
  "react-virtualized": "^9.21.2"
64
64
  },
65
65
  "dependencies": {
66
- "@cee-eng/hydrajs": "4.5.3",
66
+ "@cee-eng/hydrajs": "4.5.4",
67
67
  "@cee-eng/ui-toolkit": "1.1.3",
68
68
  "@patternfly/patternfly": "4.102.2",
69
69
  "@patternfly/pfe-accordion": "1.1.0",
@@ -72,12 +72,12 @@
72
72
  "@patternfly/react-core": "4.128.2",
73
73
  "@progress/kendo-drawing": "^1.6.0",
74
74
  "@progress/kendo-react-pdf": "^3.12.0",
75
- "@rh-support/api": "0.3.4",
76
- "@rh-support/components": "1.1.10",
77
- "@rh-support/react-context": "0.2.11",
75
+ "@rh-support/api": "0.3.5",
76
+ "@rh-support/components": "1.1.11",
77
+ "@rh-support/react-context": "0.2.12",
78
78
  "@rh-support/types": "0.2.0",
79
- "@rh-support/user-permissions": "0.2.6",
80
- "@rh-support/utils": "0.2.6",
79
+ "@rh-support/user-permissions": "0.2.7",
80
+ "@rh-support/utils": "0.2.7",
81
81
  "@types/react-redux": "^7.1.12",
82
82
  "@types/redux": "^3.6.0",
83
83
  "@webcomponents/webcomponentsjs": "^2.2.10",
@@ -142,5 +142,5 @@
142
142
  "not ie <= 11",
143
143
  "not op_mini all"
144
144
  ],
145
- "gitHead": "4ee1a23ceff5396412eaa92983cbc5aed8ac47dd"
145
+ "gitHead": "702cca6758159b3f8eee82f5e87d7d285cfee3b6"
146
146
  }