@rh-support/troubleshoot 2.6.70 → 2.6.73
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.
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +15 -14
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +6 -7
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +17 -18
- package/lib/esm/components/TroubleshootSection/AskRedHat.js +3 -3
- package/lib/esm/components/shared/fileUpload/FileLister.js +4 -5
- package/lib/esm/css/AskRedHat.css +7 -5
- package/lib/esm/css/productSelector.css +4 -0
- package/lib/esm/scss/_main.scss +0 -5
- package/lib/esm/scss/_pf-overrides.scss +22 -4
- package/package.json +4 -4
package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js
CHANGED
|
@@ -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,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAYhF,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAYhF,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAsZ7C"}
|
|
@@ -194,19 +194,20 @@ export function CaseDetailsAside(props) {
|
|
|
194
194
|
React.createElement("div", { className: "case-detail-collapse-panel" },
|
|
195
195
|
React.createElement("p", { className: "case-detail-collapse-label" },
|
|
196
196
|
React.createElement(Trans, null, "Collapse")),
|
|
197
|
-
React.createElement(OpenDrawerRightIcon, { className: "pf-v6-u-ml-auto" })))) : (React.createElement("div", { className: "
|
|
198
|
-
React.createElement(
|
|
199
|
-
React.createElement(
|
|
200
|
-
React.createElement(
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
197
|
+
React.createElement(OpenDrawerRightIcon, { className: "pf-v6-u-ml-auto" })))) : (React.createElement("div", { className: "sidebar-header-container" },
|
|
198
|
+
React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-flex-direction-column sidebar-section-collapsed pf-v6-u-align-items-center pf-v6-u-justify-content-center" },
|
|
199
|
+
React.createElement(Tooltip, { content: t('Expand sidebar'), position: "left" },
|
|
200
|
+
React.createElement("div", { className: "case-detail-collapse-panel" },
|
|
201
|
+
React.createElement(OpenDrawerRightIcon, { className: "mirrored" }))),
|
|
202
|
+
canSeeToggleCustomerView && (React.createElement(Tooltip, { content: viewAsCustomer ? t('External view') : t('Internal view'), position: "left" },
|
|
203
|
+
React.createElement(Button, { icon: React.createElement(Icon, { size: "lg", className: `${viewAsCustomer ? 'blueLock' : 'greyLock'} pf-v6-u-p-sm` },
|
|
204
|
+
React.createElement(LockIcon, null)), variant: "link", onClick: () => setSectionToScollRef(toggleCustomerViewRef), className: "sidebar-section-toggle-btn", "aria-label": viewAsCustomer ? t('External view') : t('Internal view') }))),
|
|
205
|
+
!isLoadingRecommendations && allDocs.length > 0 && (React.createElement(Tooltip, { content: t('Top recommendations'), position: "left" },
|
|
206
|
+
React.createElement(Button, { icon: React.createElement(Icon, { className: "pf-v6-u-p-sm", size: "lg" },
|
|
207
|
+
React.createElement(ListIcon, null)), variant: "link", onClick: () => setSectionToScollRef(topSolutionsRef), className: "sidebar-section-toggle-btn", "aria-label": t('Top recommendations') }))),
|
|
208
|
+
!caseEscalations.isFetching && (canCreateICE || (canCreateRME && isCreateRMEVisible)) && (React.createElement(Tooltip, { content: t('Request an escalation'), position: "left" },
|
|
209
|
+
React.createElement(Button, { icon: React.createElement(Icon, { className: "pf-v6-u-p-sm", size: "lg" },
|
|
210
|
+
React.createElement(TrendUpIcon, null)), variant: "link", className: "sidebar-section-toggle-btn", onClick: () => setSectionToScollRef(createEscalationRef), "aria-label": t('Request an escalation') }))))))),
|
|
210
211
|
React.createElement("pfe-collapse-panel", { className: "sidebar-content", "pfe-animation": "false", id: "case-details-aside-content", ref: caseDetailsAsidePanelRef },
|
|
211
212
|
React.createElement("div", { className: "grid-aside-content" },
|
|
212
213
|
React.createElement("div", { className: "grid-aside-content-inner-div" },
|
|
@@ -215,7 +216,7 @@ export function CaseDetailsAside(props) {
|
|
|
215
216
|
preferredOrDefaultCaseView() ? t('Customer view') : t('Internal view'),
|
|
216
217
|
React.createElement(Popover, { "aria-label": "Preferred-default-case-view-popover", position: PopoverPosition.top, bodyContent: React.createElement("p", { className: 'pref-case-popover-text' },
|
|
217
218
|
React.createElement(Trans, null, renderCasePrefPopoverText())), showClose: false },
|
|
218
|
-
React.createElement(InfoCircleIcon, { "aria-label": "Preferred-case-view-info-icon", className: "pf-v6-u-ml-sm",
|
|
219
|
+
React.createElement(InfoCircleIcon, { "aria-label": "Preferred-case-view-info-icon", className: "pf-v6-u-ml-sm", color: "#5e40be" }))),
|
|
219
220
|
React.createElement(Switch, { title: preferredOrDefaultCaseView() ? t('Customer view') : t('Internal view'), "data-tracking-id": preferredOrDefaultCaseView()
|
|
220
221
|
? 'disable-view-as-customer'
|
|
221
222
|
: 'enable-view-as-customer', "aria-label": preferredOrDefaultCaseView()
|
|
@@ -158,7 +158,7 @@ export function CaseDetailsTabs(props) {
|
|
|
158
158
|
' ',
|
|
159
159
|
React.createElement("span", { style: { marginLeft: '0.25rem' } },
|
|
160
160
|
React.createElement(ExternalLinkAltIcon, null)))) },
|
|
161
|
-
React.createElement(InfoCircleIcon, { color: "
|
|
161
|
+
React.createElement(InfoCircleIcon, { color: "#5e40be" })))) })))),
|
|
162
162
|
React.createElement("div", { className: "case-details-tabs-content pf-v6-u-pt-xl" }, tabsToRender.map((tab, index) => {
|
|
163
163
|
return index === getActiveTabKey() && !isExportingPDF ? (React.createElement(TabContent, { eventKey: index, key: tab.key, id: `pf-tab-${index}-${tab.title.split(' ')[0]}-tabpanel`, ref: tab.ref, "aria-label": tab.title, hidden: isExportingPDF ? !isTabVisibleInPdfExport(tab) : index !== getActiveTabKey() },
|
|
164
164
|
React.createElement(ErrorBoundary, { errorMsgInfo: {
|
|
@@ -242,7 +242,7 @@ export default function CaseOverview(props) {
|
|
|
242
242
|
React.createElement("p", { className: "pf-v6-u-mb-sm" },
|
|
243
243
|
React.createElement(Trans, null, "The customer has received two warnings regarding inactivity. This case will be closed soon if we don't receive any input."))) })))),
|
|
244
244
|
React.createElement(CaseContactPhoneNumberAlert, { isReview: true, tabRef: props.tabsRef }),
|
|
245
|
-
React.createElement("header",
|
|
245
|
+
React.createElement("header", { className: "pf-v6-u-mb-sm pf-v6-u-mt-lg" },
|
|
246
246
|
React.createElement("h2", { className: "case-ID" },
|
|
247
247
|
React.createElement(Trans, null, "Case"),
|
|
248
248
|
" ",
|
|
@@ -256,7 +256,7 @@ export default function CaseOverview(props) {
|
|
|
256
256
|
? 'case-close-btn-case-details-overview'
|
|
257
257
|
: 'case-reopen-btn-case-details-overview' }),
|
|
258
258
|
React.createElement(Trans, null, isCaseInOpenState ? 'Close case' : 'Reopen case')))),
|
|
259
|
-
React.createElement("div", { className: `case-details-header-secondary push-bottom-narrow ${isExportingPDF && !viewAsCustomer ? 'hide-in-pdf' : ''}` },
|
|
259
|
+
React.createElement("div", { className: `case-details-header-secondary push-bottom-narrow pf-v6-u-mb-sm ${isExportingPDF && !viewAsCustomer ? 'hide-in-pdf' : ''}` },
|
|
260
260
|
React.createElement("span", { className: `case-support-level ${isExportingPDF ? 'hide-in-pdf' : ''}` }, computeSupportLink())),
|
|
261
261
|
React.createElement("div", { className: "case-details-summary push-bottom-narrow" },
|
|
262
262
|
React.createElement(Summary, { inlineEditable: true, hideLabel: true })),
|
|
@@ -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,+
|
|
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,
|
|
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,
|
package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map
CHANGED
|
@@ -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,+
|
|
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,
|
|
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,
|
|
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
|
|
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" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAgMxD"}
|
|
@@ -106,7 +106,7 @@ export default function CaseReferenceNumber(props) {
|
|
|
106
106
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localRefNumberChange, value: referenceNumber, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.altID) }),
|
|
107
107
|
' ',
|
|
108
108
|
!isExportingPDF ? (React.createElement(Tooltip, { trigger: 'mouseenter focus', position: TooltipPosition.top, content: React.createElement(Trans, null, "Add your internal tracking ID to better identify and organize support issues.") },
|
|
109
|
-
React.createElement(InfoIcon, { className: "pf-v6-u-ml-sm cursor-pointer
|
|
109
|
+
React.createElement(InfoIcon, { className: "pf-v6-u-ml-sm cursor-pointer", "aria-label": "Case Alternate ID", color: "#5e40be" }))) : ('')), allowInlineEdit: inlineEditable, content: referenceNumber || t('No personal reference number to display.'), hideSaveCancel: hideSaveCancel, saveDisabled: saveDisabled, charCount: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) || 0, charTotal: CASE_REFERENCE_NUMBER_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
|
|
110
110
|
React.createElement(TextInputGroup, null,
|
|
111
111
|
React.createElement(TextInput, { value: referenceNumberState, type: "text", id: "case-details-reference-number", placeholder: t(`Enter the reference number used personally or within your company`), onChange: (_event, value) => onReferenceNumberChange(value), "data-tracking-id": "case-details-reference-number", isDisabled: isUpdating, onKeyDown: handleKeyDown, validated: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT
|
|
112
112
|
? ValidatedOptions.error
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { InputGroupText, Spinner, TextInput,
|
|
10
|
+
import { InputGroupText, Spinner, TextInput, ValidatedOptions } from '@patternfly/react-core';
|
|
11
11
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
12
12
|
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
13
13
|
import { NewInlineEdit, ToastNotification, ValueChangedIcon } from '@rh-support/components';
|
|
@@ -127,11 +127,11 @@ function Summary(props) {
|
|
|
127
127
|
React.createElement(Trans, null, "Title"),
|
|
128
128
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localSummaryChange, value: summary, getTooltipContent: getSummaryChangedTT }),
|
|
129
129
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")), allowInlineEdit: props.inlineEditable, content: summary ? summary : t('No summary to display.'), saveDisabled: saveDisabled, hideLabel: props.hideLabel, hideSaveCancel: props.hideSaveCancel, charCount: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) || 0, charTotal: SUMMARY_LENGTH_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
|
|
130
|
-
React.createElement(
|
|
130
|
+
React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-flex-direction-row pf-v6-u-align-items-center" },
|
|
131
131
|
React.createElement(TextInput, { type: "text", id: "case-details-summary", "aria-required": true, required: true, name: "case-details-summary", value: summaryState, onChange: (_event, value) => onSummaryChange(value), isDisabled: isSummaryUpdating, "data-tracking-id": "case-details-summary", onKeyDown: handleKeyDown, validated: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) > SUMMARY_LENGTH_LIMIT || isSummaryEmpty
|
|
132
132
|
? ValidatedOptions.error
|
|
133
133
|
: ValidatedOptions.default }),
|
|
134
|
-
!isSummaryUpdating ? (React.createElement(
|
|
134
|
+
!isSummaryUpdating ? (React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-align-items-center" },
|
|
135
135
|
React.createElement("button", { className: "btn btn-app btn-link pf-v6-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
|
|
136
136
|
React.createElement(CheckIcon, null)),
|
|
137
137
|
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
/* This value is calculated in timeline.tsx */
|
|
47
47
|
bottom: calc(var(--timeline-bottom) + var(--timeline-bottom-offset, 18.35%));
|
|
48
|
-
left: calc(
|
|
48
|
+
left: calc(20% + 14.5px);
|
|
49
49
|
transform: translateX(-50%);
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
.timeline-avatar {
|
|
121
121
|
position: absolute;
|
|
122
|
-
left: calc(
|
|
122
|
+
left: calc(20% + 15px);
|
|
123
123
|
transform: translateX(-91%);
|
|
124
124
|
top: 12px;
|
|
125
125
|
z-index: 5;
|
|
@@ -132,14 +132,14 @@
|
|
|
132
132
|
width: 10px;
|
|
133
133
|
height: 10px;
|
|
134
134
|
z-index: 2;
|
|
135
|
-
left: calc(
|
|
135
|
+
left: calc(20% + 18px);
|
|
136
136
|
transform: translateX(-195%);
|
|
137
137
|
top: 25px;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.left-node {
|
|
141
|
-
flex: 0 0
|
|
142
|
-
max-width:
|
|
141
|
+
flex: 0 0 20%;
|
|
142
|
+
max-width: 25%;
|
|
143
143
|
padding-right: 24px;
|
|
144
144
|
margin-left: -2em;
|
|
145
145
|
margin-right: 24px;
|
|
@@ -161,7 +161,6 @@
|
|
|
161
161
|
font-weight: 400;
|
|
162
162
|
text-align: right;
|
|
163
163
|
line-height: 30px;
|
|
164
|
-
padding-left: 1em;
|
|
165
164
|
white-space: nowrap;
|
|
166
165
|
overflow: hidden;
|
|
167
166
|
}
|
|
@@ -279,7 +278,7 @@ ul#case-history-paginated-timeline {
|
|
|
279
278
|
}
|
|
280
279
|
|
|
281
280
|
.case-history-timeline-datepicker input[aria-label='Date picker'] {
|
|
282
|
-
|
|
281
|
+
padding-right: 0 !important;
|
|
283
282
|
}
|
|
284
283
|
|
|
285
284
|
.case-history-timeline-datepicker button {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactPhoneNumberPopOver.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberPopOver.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"ContactPhoneNumberPopOver.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberPopOver.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,yBAAyB,yBAsBrC,CAAC"}
|
|
@@ -5,5 +5,5 @@ import { Trans } from 'react-i18next';
|
|
|
5
5
|
export const ContactPhoneNumberPopOver = () => {
|
|
6
6
|
return (React.createElement(Popover, { "aria-label": "Support Severity Level info", position: PopoverPosition.right, bodyContent: React.createElement("p", null,
|
|
7
7
|
React.createElement(Trans, null, "When you change the phone number, it affects both this case and your contact info in the Red Hat support system.")), closeBtnAriaLabel: "Close" },
|
|
8
|
-
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs icon-size cursor-pointer
|
|
8
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs icon-size cursor-pointer", "aria-label": "Contact Phone Number Info", color: "#5e40be" })));
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cep.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/Cep.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAoB/D,UAAU,MAAM;CAAG;AAEnB,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Cep.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/Cep.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAoB/D,UAAU,MAAM;CAAG;AAEnB,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,qBA8ThC"}
|
|
@@ -142,7 +142,7 @@ export function Cep(props) {
|
|
|
142
142
|
React.createElement("div", { id: "cep-checkbox" },
|
|
143
143
|
React.createElement(Checkbox, { id: "get-support-cep", label: t('Consultant has been engaged'), isChecked: isEqual(cep, undefined) ? false : cep, onChange: onCepChange, "data-tracking-id": "get-support-cep", name: "get-support-cep" }),
|
|
144
144
|
!isExportingPDF ? (React.createElement(Popover, { id: "cep-info-popover", "aria-label": "CEP info", position: PopoverPosition.top, bodyContent: React.createElement(Trans, null, "Used by consultants to indicate that a consulting engagement is in progress and the issue requires increased attention from support resources."), closeBtnAriaLabel: "Close" },
|
|
145
|
-
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs icon-size cursor-pointer", "aria-label": "CEP Info" }))) : ('')),
|
|
145
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs icon-size cursor-pointer", "aria-label": "CEP Info", color: "#5e40be" }))) : ('')),
|
|
146
146
|
React.createElement(LoadingIndicator, { show: isCaseUpdating && isPostingCep, isInline: true, size: "sm" }),
|
|
147
147
|
React.createElement(Modal, { id: "cep-details-modal", "aria-describedby": "cep-modal-description", isOpen: isCepModalOpen, variant: ModalVariant.large, onClose: onCancel },
|
|
148
148
|
React.createElement(ModalHeader, null,
|
|
@@ -48,22 +48,21 @@ export default function Suggestions(props) {
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
return (React.createElement("div", { className: "top-content-suggestion-accordion" },
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
props.title
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
!isTCSearchEnabled && (React.createElement(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: showAllCategories, "data-tracking-id": "suggestions-more-categories" }, "More categories")))));
|
|
51
|
+
return (React.createElement("div", { className: "top-content-suggestion-accordion" }, showTitleDescription && (React.createElement("div", { className: "card card-support top-content-card-wrapper" },
|
|
52
|
+
isTCSearchEnabled && (React.createElement("h3", { className: "card-heading popular-solutions green-card-heading" },
|
|
53
|
+
props.title
|
|
54
|
+
? props.title
|
|
55
|
+
: t('i18nKeyPopularSolutions', 'Red Hat hand picked support articles'),
|
|
56
|
+
React.createElement(Tooltip, { content: React.createElement("div", null,
|
|
57
|
+
React.createElement(Trans, null, "Support articles are matched to the product and version details you selected, not the problem details you entered.")) },
|
|
58
|
+
React.createElement(InfoCircleIcon, { className: "pf-v6-u-ml-sm", "aria-label": t('More info about how support articles are matched') })))),
|
|
59
|
+
React.createElement("div", { className: "card-body" },
|
|
60
|
+
!isTCSearchEnabled && (React.createElement(TopContentSearch, { className: "pf-v6-u-text-color-regular", topContentData: topContent.data, topContentResultsWrapperRef: accordionRef, onSearch: onSearchChange, dataTrackingId: "top-content-filter-troubleshoot", enableEventTracking: true })),
|
|
61
|
+
React.createElement(Accordion, { className: "pf-v6-u-mt-md" }, map(filteredTC.slice(0, maxTC), (sug, index) => {
|
|
62
|
+
var _a, _b;
|
|
63
|
+
toggleButtonRefs.current.push(index);
|
|
64
|
+
return (React.createElement(TopContent, { seSessionId: activeSessionId, seResourceOriginID: (_b = (_a = sessionResourceTracking[SessionResourceSource.TOP_CONTENT]) === null || _a === void 0 ? void 0 : _a.resourceOriginId) !== null && _b !== void 0 ? _b : '', topContentIndex: index, onResourceClick: onResourceClick, name: sug.categoryName, key: sug.categoryName, items: sug.content, helperText: (sug === null || sug === void 0 ? void 0 : sug.helperText) || '' }));
|
|
65
|
+
})),
|
|
66
|
+
showMax && filteredTC.length > maxTC && (React.createElement("div", { className: "text-right" },
|
|
67
|
+
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: showAllCategories, "data-tracking-id": "suggestions-more-categories" }, "More categories"))))))));
|
|
69
68
|
}
|
|
@@ -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(
|
|
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(
|
|
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 -
|
|
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 -
|
|
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 {
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -690,22 +690,40 @@ button.pf-m-plain.manage-bookmark-info-icon-button {
|
|
|
690
690
|
display: flex;
|
|
691
691
|
align-items: center;
|
|
692
692
|
justify-content: space-between;
|
|
693
|
-
width: 100%;
|
|
694
|
-
padding: 24px;
|
|
695
693
|
color: var(--pf-t--global--text--color--link--default);
|
|
696
694
|
font-size: var(--pf-t--global--font--size--md);
|
|
697
695
|
font-weight: 500;
|
|
698
696
|
cursor: pointer;
|
|
699
|
-
|
|
697
|
+
padding: 10px;
|
|
698
|
+
margin-bottom: 16px;
|
|
700
699
|
p.case-detail-collapse-label {
|
|
701
700
|
margin-bottom: 0;
|
|
702
701
|
}
|
|
703
|
-
|
|
704
702
|
svg {
|
|
705
703
|
height: 1.5rem;
|
|
706
704
|
width: 1.5rem;
|
|
707
705
|
}
|
|
708
706
|
}
|
|
707
|
+
|
|
708
|
+
.sidebar-header-container {
|
|
709
|
+
padding: 24px;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.case-detail-collapse-panel:hover {
|
|
713
|
+
background-color: #dedede;
|
|
714
|
+
border-radius: 8px;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.sidebar-header .case-detail-collapse-panel:hover {
|
|
718
|
+
background-color: transparent;
|
|
719
|
+
border-radius: 0;
|
|
720
|
+
margin-top: 16px;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.sidebar-header .case-detail-collapse-panel {
|
|
724
|
+
margin: 16px;
|
|
725
|
+
}
|
|
726
|
+
|
|
709
727
|
.top-content-accordion {
|
|
710
728
|
margin-bottom: 0px !important;
|
|
711
729
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.73",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@progress/kendo-licensing": "1.3.5",
|
|
60
60
|
"@progress/kendo-react-pdf": "^5.16.0",
|
|
61
61
|
"@redux-devtools/extension": "^3.3.0",
|
|
62
|
-
"@rh-support/components": "2.5.
|
|
63
|
-
"@rh-support/react-context": "2.5.
|
|
62
|
+
"@rh-support/components": "2.5.54",
|
|
63
|
+
"@rh-support/react-context": "2.5.69",
|
|
64
64
|
"@rh-support/types": "2.0.5",
|
|
65
65
|
"@rh-support/user-permissions": "2.5.25",
|
|
66
66
|
"@rh-support/utils": "2.5.22",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"defaults and supports es6-module",
|
|
136
136
|
"maintained node versions"
|
|
137
137
|
],
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "59dea26fe8f22c9ded29139d007d026ffc357416"
|
|
139
139
|
}
|