@rh-support/troubleshoot 2.6.69 → 2.6.71

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.
@@ -45,7 +45,7 @@ export const ActiveCustomerEscalation = forwardRef((props, ref) => {
45
45
  React.createElement("div", { style: { marginLeft: 'auto' } },
46
46
  React.createElement(Popover, { showClose: false, position: 'left', hasAutoWidth: true, bodyContent: (hide) => (React.createElement("a", { href: "/support/escalation", target: "_blank", "aria-label": t('Learn more about escalation cases.') },
47
47
  React.createElement(Trans, null, "Learn more about escalation cases."))) },
48
- React.createElement(InfoCircleIcon, { title: t('Learn more about escalation cases popover') }))))),
48
+ React.createElement(InfoCircleIcon, { title: t('Learn more about escalation cases popover'), color: "#5e40be" }))))),
49
49
  React.createElement(CardBody, null,
50
50
  React.createElement(React.Fragment, null,
51
51
  React.createElement("p", null,
@@ -215,7 +215,7 @@ export function CaseDetailsAside(props) {
215
215
  preferredOrDefaultCaseView() ? t('Customer view') : t('Internal view'),
216
216
  React.createElement(Popover, { "aria-label": "Preferred-default-case-view-popover", position: PopoverPosition.top, bodyContent: React.createElement("p", { className: 'pref-case-popover-text' },
217
217
  React.createElement(Trans, null, renderCasePrefPopoverText())), showClose: false },
218
- React.createElement(InfoCircleIcon, { "aria-label": "Preferred-case-view-info-icon", className: "pf-v6-u-ml-sm", style: { color: '#5e40be', width: '1rem', height: '1rem' } }))),
218
+ React.createElement(InfoCircleIcon, { "aria-label": "Preferred-case-view-info-icon", className: "pf-v6-u-ml-sm", color: "#5e40be" }))),
219
219
  React.createElement(Switch, { title: preferredOrDefaultCaseView() ? t('Customer view') : t('Internal view'), "data-tracking-id": preferredOrDefaultCaseView()
220
220
  ? 'disable-view-as-customer'
221
221
  : 'enable-view-as-customer', "aria-label": preferredOrDefaultCaseView()
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,gBAAgB,+EAyH3B,CAAC"}
1
+ {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,gBAAgB,+EA0H3B,CAAC"}
@@ -31,8 +31,8 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
31
31
  React.createElement(CardBody, null,
32
32
  isInternal && (React.createElement(React.Fragment, null,
33
33
  React.createElement("p", null,
34
- React.createElement(LockIcon, null),
35
- " ",
34
+ React.createElement(LockIcon, { style: { marginRight: '8px' } }),
35
+ ' ',
36
36
  React.createElement("strong", null, `${t('Available to customers only')}`)),
37
37
  React.createElement("p", null,
38
38
  React.createElement(Trans, null,
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteSessionAgreement.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,+EAwHjC,CAAC"}
1
+ {"version":3,"file":"RemoteSessionAgreement.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,+EAyHjC,CAAC"}
@@ -31,8 +31,8 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
31
31
  React.createElement(CardBody, null,
32
32
  isInternal && (React.createElement(React.Fragment, null,
33
33
  React.createElement("p", null,
34
- React.createElement(LockIcon, null),
35
- " ",
34
+ React.createElement(LockIcon, { style: { marginRight: '8px' } }),
35
+ ' ',
36
36
  React.createElement("strong", null, `${t('Available to customers only')}`)),
37
37
  React.createElement("p", null,
38
38
  React.createElement(Trans, null,
@@ -1 +1 @@
1
- {"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBA6KlC;kBA7KQ,YAAY;;;AAgLrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBA8KlC;kBA9KQ,YAAY;;;AAiLrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -111,7 +111,7 @@ function CaseHostname(props) {
111
111
  React.createElement(InlineEdit, { labelProps: { htmlFor: 'case-details-hostname' }, formClassName: props.className || '', labelContent: React.createElement(React.Fragment, null,
112
112
  React.createElement(Trans, { className: "pf-v6-u-mr-xs" }, "Hostname"),
113
113
  React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localHostnameChange, value: hostname, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.hostname) })), helperContent: !isExportingPDF ? (React.createElement(Popover, { "aria-label": "Hostname Info", position: PopoverPosition.auto, bodyContent: hostNameVisibilityContent, closeBtnAriaLabel: "Close", headerContent: 'Share hostname?', onShow: () => userOriginalHostnameValue() },
114
- React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-sm F icon-size pf-v6-u-text-color-status-custom cursor-pointer", "aria-label": "Hostname Info" }))) : undefined, allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : undefined, isExportingPDF: isExportingPDF },
114
+ React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-sm F icon-size cursor-pointer", "aria-label": "Hostname Info", color: "#5e40be" }))) : undefined, allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : undefined, isExportingPDF: isExportingPDF },
115
115
  React.createElement(TextInput, { type: "text", id: "case-details-hostname", className: `${lengthError ? ' form-invalid' : ''}`, name: "case-details-hostname", value: hostnameState, onChange: (e, phone) => onHostnameChange(phone), isDisabled: isHostnameUpdating, "data-tracking-id": "case-details-hostname", "aria-invalid": lengthError })),
116
116
  lengthError && (React.createElement("div", { className: "pull-top" },
117
117
  React.createElement("p", { className: "form-instructions form-invalid" },
@@ -279,7 +279,7 @@ ul#case-history-paginated-timeline {
279
279
  }
280
280
 
281
281
  .case-history-timeline-datepicker input[aria-label='Date picker'] {
282
- min-width: 10rem;
282
+ padding-right: 0 !important;
283
283
  }
284
284
 
285
285
  .case-history-timeline-datepicker button {
@@ -243,10 +243,10 @@ export const AskRedHat = ({ onChatWithAIClick }) => {
243
243
  React.createElement("h3", { className: "ask-redhat-card-title" },
244
244
  React.createElement("a", { href: source.link, target: "_blank", rel: "noopener noreferrer", onClick: handleSourceClick(source, index) }, source.title))),
245
245
  React.createElement(CardBody, null,
246
- React.createElement("p", null, (source.snippet || '').slice(0, 100) + '...')))))))),
247
- React.createElement("div", { className: "response-actions-wrapper" },
248
- React.createElement(ResponseActions, { actions: responseActions, submittedFeedbackTypes: aiResponseState.submittedFeedbackTypes })))),
246
+ React.createElement("p", null, (source.snippet || '').slice(0, 100) + '...')))))))))),
249
247
  React.createElement("div", { className: "ask-redhat-footer-wrapper" },
248
+ React.createElement("div", { className: "response-actions-wrapper" },
249
+ React.createElement(ResponseActions, { actions: responseActions, submittedFeedbackTypes: aiResponseState.submittedFeedbackTypes })),
250
250
  React.createElement("div", { className: "ask-redhat-footer" },
251
251
  React.createElement("p", { className: "ask-redhat-footer-text" }, "Want to continue the conversation? Dive deeper with our AI assistant"),
252
252
  React.createElement(Button, { onClick: handleChatWithAIClick, className: 'ask-redhat-chat-button', "data-tracking-id": "ask-redhat-chat-button", icon: React.createElement(StarIcon, null) }, "Chat with AI"))),
@@ -1,5 +1,5 @@
1
1
  import { pcm } from '@cee-eng/hydrajs';
2
- import { Button, ButtonVariant, Label, Progress, ProgressMeasureLocation } from '@patternfly/react-core';
2
+ import { Button, ButtonVariant, Label, Progress, ProgressMeasureLocation, TextInput } from '@patternfly/react-core';
3
3
  import HistoryIcon from '@patternfly/react-icons/dist/js/icons/history-icon';
4
4
  import { CircularProgressbar } from '@rh-support/components';
5
5
  import { humanizeSize, PreviousCaseTypes } from '@rh-support/utils';
@@ -30,10 +30,9 @@ const analysisStepMap = {
30
30
  };
31
31
  export default function FileLister(props) {
32
32
  const { t } = useTranslation();
33
- const onDescriptionChange = (localFile, indexToEdit) => (event) => {
34
- var _a;
33
+ const onDescriptionChange = (localFile, indexToEdit) => (event, value) => {
35
34
  const editedLocalFile = Object.assign({}, localFile);
36
- editedLocalFile.description = isEmpty((_a = event.target.value) === null || _a === void 0 ? void 0 : _a.trim()) ? '' : event.target.value;
35
+ editedLocalFile.description = isEmpty(value === null || value === void 0 ? void 0 : value.trim()) ? '' : value;
37
36
  props.onFileEdit &&
38
37
  props.onFileEdit(editedLocalFile, indexToEdit, { description: editedLocalFile.description.trim() });
39
38
  };
@@ -128,7 +127,7 @@ export default function FileLister(props) {
128
127
  showDeleteBtn(localFile.uploadProgress.uploadStatus, localFile) && (React.createElement(Button, { variant: ButtonVariant.link, isDanger: true, "aria-label": t('Delete file'), title: t('Delete file'), className: "btn btn-link btn-app remove-file", "data-tracking-id": "file-lister-delete", onClick: onRemoveClick(localFile, index), hidden: !localFile.uploadability.ableToUpload },
129
128
  React.createElement(Trans, null, "Remove")))))),
130
129
  isAnalysingFile(localFile.analysisMetadata.analysisStatus) && (React.createElement(Progress, { measureLocation: ProgressMeasureLocation.top, value: getAnalysisStepCount(localFile), "aria-label": `Progress - ${getAnalysisProgressTitle(localFile)}`, min: 0, max: (analysisSteps === null || analysisSteps === void 0 ? void 0 : analysisSteps.length) + 1, label: getAnalysisProgressTitle(localFile), valueText: getAnalysisProgressTitle(localFile) })),
131
- React.createElement("input", { id: `file-${index + 1}-description`, "data-tracking-id": `case-${props.isSessionId ? 'create' : 'details'}-file-${index + 1}-description`, className: "file-description form-control pf-v6-u-my-sm", type: "text", value: localFile.description, onChange: onDescriptionChange(localFile, index), maxLength: 255, placeholder: t(`${shouldHideDescription(localFile, props.isSessionId)
130
+ React.createElement(TextInput, { id: `file-${index + 1}-description`, "data-tracking-id": `case-${props.isSessionId ? 'create' : 'details'}-file-${index + 1}-description`, className: "file-description pf-v6-u-my-sm", type: "text", value: localFile.description, onChange: onDescriptionChange(localFile, index), maxLength: 255, placeholder: t(`${shouldHideDescription(localFile, props.isSessionId)
132
131
  ? ''
133
132
  : t('Enter a description')}`), hidden: shouldHideDescription(localFile, props.isSessionId) }),
134
133
  isUploadedAndAnalysisSkipped(localFile) &&
@@ -22,7 +22,8 @@
22
22
  }
23
23
 
24
24
  .ask-redhat-content {
25
- height: 242px;
25
+ min-height: 242px;
26
+ max-height: 242px;
26
27
  color: #000;
27
28
  font-family: 'Red Hat Text';
28
29
  font-size: 16px;
@@ -31,16 +32,16 @@
31
32
  line-height: 24px;
32
33
  overflow: hidden;
33
34
  position: relative;
34
- transition: height 0.8s ease;
35
+ transition: max-height 0.8s ease;
35
36
  }
36
37
 
37
38
  .ask-redhat-content--expanded {
38
- height: calc(100vh - 382px);
39
- transition: height 0.8s ease !important;
39
+ max-height: calc(100vh - 376px) !important;
40
+ transition: max-height 0.8s ease !important;
40
41
  }
41
42
 
42
43
  .ask-redhat-content--expanded-scrollable {
43
- height: calc(100vh - 453px);
44
+ max-height: calc(100vh - 512px);
44
45
  overflow-y: auto;
45
46
  }
46
47
 
@@ -372,6 +373,7 @@ body:has(.pf-chatbot--embedded) .hide-for-askredhat {
372
373
 
373
374
  .response-actions-wrapper {
374
375
  margin-top: 24px;
376
+ margin-bottom: 24px;
375
377
  }
376
378
 
377
379
  .pf-chatbot__header {
@@ -1 +1 @@
1
- {"version":3,"file":"SessionRestoreReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/SessionRestoreReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,IAAI,sBAAsB,EAC/C,yBAAyB,IAAI,0BAA0B,EACvD,gCAAgC,IAAI,iCAAiC,EACxE,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAoB1G,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAwB,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAWlF,MAAM,WAAW,aAAa;IAC1B,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IACrC,kBAAkB,EAAE,gBAAgB,EAAE,CAAC;IACvC,qBAAqB,EAAE,gBAAgB,EAAE,CAAC;CAC7C;AAC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M,EAAE,sBAAsB,EAC9B,SAAS,EAAE,gBAAgB,EAAE,GAAG,SAAS,EACzC,cAAc,GAAE,MAAM,GAAG,SAAqB,iBAkEjD;AAED,eAAO,MAAM,oBAAoB,eACjB,eAAe,oBACT,0BAA0B,SACtC,MAAM,KACb,gBAAgB,EAIlB,CAAC;AAEF,eAAO,MAAM,YAAY,OACjB,WAAW,oBACG,0BAA0B,SACtC,MAAM,KACb,gBAMD,CAAC;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,mBAAmB,EAAE,EAC3B,gBAAgB,EAAE,0BAA0B,EAC5C,QAAQ,GAAE,MAAU,EACpB,WAAW,GAAE,MAAU,GACxB,gBAAgB,EAAE,CAMpB;AAGD,eAAO,MAAM,iBAAiB,QACrB,mBAAmB,oBACN,0BAA0B,SACtC,MAAM,KACb,gBAOD,CAAC;AAEH,eAAO,MAAM,mBAAmB,QACvB,MAAM,oBACO,0BAA0B,SACtC,MAAM,6BAEb,gBAMD,CAAC;AAEH,eAAO,MAAM,oBAAoB,WACrB,cAAc,oBACJ,0BAA0B,SACtC,MAAM,sBACO,iCAAiC,GAAG,SAAS,KACjE,gBAOD,CAAC;AAEH,eAAO,MAAM,iBAAiB,QACrB,0BAA0B,oBACb,0BAA0B,SACtC,MAAM,sBACO,iCAAiC,GAAG,SAAS,8CAGjE,gBAAgB,EAgBlB,CAAC;AAEF,eAAO,MAAM,cAAc,gFAY1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gFAYjC,CAAC;AAGF,eAAO,MAAM,gBAAgB,QACpB,MAAM,oBACO,0BAA0B,SACtC,MAAM,6BAEb,gBAMD,CAAC;AAIH,eAAO,MAAM,YAAY,eACT,mBAAmB,mBACd,mBAAmB,EAAE,YAC7B,mBAAmB,EAAE,uBAWjC,CAAC"}
@@ -19,7 +19,7 @@ import map from 'lodash/map';
19
19
  import slice from 'lodash/slice';
20
20
  import uniqBy from 'lodash/uniqBy';
21
21
  import { CaseReducerConstants } from './CaseConstNTypes';
22
- const { getSessions, patchSession, createNewSession, createSessionResources, updateSessionResources, createSessionCepDetails, SessionResourceVisibility, } = pcm.preCase.session;
22
+ const { getSessions, patchSession, createNewSession, createSessionResources, updateSessionResources, createSessionCepDetails, SessionResourceVisibility, SessionResourceSource, } = pcm.preCase.session;
23
23
  // Constants
24
24
  export var SessionRestoreConstants;
25
25
  (function (SessionRestoreConstants) {
@@ -309,7 +309,10 @@ export function markAllSessionsUnresolved(dispatch, sessionData, userAgent) {
309
309
  // Create or Update Session Resource Helper
310
310
  export function createOrUpdateSessionResources(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1, resources_1) {
311
311
  return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, resources, payload = JSON.stringify({}), workflowSource = undefined) {
312
- if (isEmpty(payload) || isEmpty(activeSessionId) || isEmpty(source))
312
+ if (isEmpty(payload) ||
313
+ isEmpty(activeSessionId) ||
314
+ isEmpty(source) ||
315
+ (isEmpty(resources) && source !== SessionResourceSource.ASK_RED_HAT))
313
316
  return;
314
317
  const resourceTracking = currentSessionResourceTracking[workflowSource || source];
315
318
  if (isEmpty(resourceTracking) || (resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.payload) !== payload) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.6.69",
3
+ "version": "2.6.71",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -135,5 +135,5 @@
135
135
  "defaults and supports es6-module",
136
136
  "maintained node versions"
137
137
  ],
138
- "gitHead": "a79baf6e34ec39cd38980c3d90df797fc5a4b48e"
138
+ "gitHead": "40f7bb68143a6cd096c7b3ee2e524083317d6957"
139
139
  }