@rh-support/troubleshoot 2.6.28 → 2.6.29
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/CaseDetailsAside.js +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +15 -11
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +1 -1
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.js +5 -3
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +8 -4
- package/lib/esm/scss/_main.scss +19 -0
- package/lib/esm/scss/_pf-overrides.scss +4 -0
- package/package.json +2 -2
|
@@ -209,7 +209,7 @@ export function CaseDetailsAside(props) {
|
|
|
209
209
|
React.createElement(TrendUpIcon, null)), variant: "link", className: "sidebar-section-toggle-btn", onClick: () => setSectionToScollRef(createEscalationRef), "aria-label": t('Request an escalation') })))))),
|
|
210
210
|
React.createElement("pfe-collapse-panel", { className: "sidebar-content", "pfe-animation": "false", id: "case-details-aside-content", ref: caseDetailsAsidePanelRef },
|
|
211
211
|
React.createElement("div", { className: "grid-aside-content" },
|
|
212
|
-
React.createElement("div",
|
|
212
|
+
React.createElement("div", { className: "grid-aside-content-inner-div" },
|
|
213
213
|
canSeeToggleCustomerView && (React.createElement("div", { className: "pf-v6-u-display-flex customer-view-toggle", ref: toggleCustomerViewRef },
|
|
214
214
|
React.createElement("span", { className: "customer-view-switch-label" },
|
|
215
215
|
preferredOrDefaultCaseView() ? t('Customer view') : t('Internal view'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAwE3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+
|
|
1
|
+
{"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAwE3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+EAqhBxB,CAAC"}
|
|
@@ -19,7 +19,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
19
19
|
return t;
|
|
20
20
|
};
|
|
21
21
|
import { search } from '@cee-eng/hydrajs';
|
|
22
|
-
import {
|
|
22
|
+
import { AccordionContent, AccordionItem, AccordionToggle, Button, Card, CardBody, CardExpandableContent, CardHeader, Modal, ModalFooter, ModalVariant, } from '@patternfly/react-core';
|
|
23
23
|
import { PaginatedList, ToastNotification } from '@rh-support/components';
|
|
24
24
|
import { useGlobalStateContext } from '@rh-support/react-context';
|
|
25
25
|
import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
@@ -102,6 +102,10 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
102
102
|
}), isEqual);
|
|
103
103
|
const caseDispatch = useCaseDispatch();
|
|
104
104
|
const caseOverviewDispatch = useContext(CaseOverviewDispatchContext);
|
|
105
|
+
const [isExpanded, setIsExpanded] = useState(false);
|
|
106
|
+
const onExpand = () => {
|
|
107
|
+
setIsExpanded(!isExpanded);
|
|
108
|
+
};
|
|
105
109
|
const { recommendationState: { isLoadingRecommendations, allDocs }, } = useRecommendationStateContext();
|
|
106
110
|
const { globalMetadataState: { loggedInUsersAccount }, } = useGlobalStateContext();
|
|
107
111
|
const recommendationsDispatch = useRecommendationDispatchContext();
|
|
@@ -109,7 +113,6 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
109
113
|
const { caseNumber, isSecureSupportAccount } = props;
|
|
110
114
|
const [isPinLoading, setIsPinLoading] = useState({});
|
|
111
115
|
const [isCaseCloseLoading, setIsCaseCloseLoading] = useState(false);
|
|
112
|
-
const [handPickedOpen, setHandPickedOpen] = useState(true);
|
|
113
116
|
const [pinnedOpen, setPinnedOpen] = useState(true);
|
|
114
117
|
const [recommendations, setRecommendations] = useState([]);
|
|
115
118
|
const [topRecommendations, setTopRecommendations] = useState([]);
|
|
@@ -295,17 +298,18 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
295
298
|
React.createElement(Trans, null, "Close case")))));
|
|
296
299
|
return (React.createElement(React.Fragment, null,
|
|
297
300
|
closeCaseModal,
|
|
298
|
-
React.createElement(
|
|
299
|
-
linkedRecommendations.length !== 0 && (React.createElement(
|
|
300
|
-
React.createElement(
|
|
301
|
+
React.createElement(Card, null,
|
|
302
|
+
linkedRecommendations.length !== 0 && (React.createElement(Card, { isExpanded: isExpanded },
|
|
303
|
+
React.createElement(CardHeader, { onExpand: onExpand },
|
|
301
304
|
React.createElement("span", null, canLinkUnlink ? (React.createElement(Trans, null, "Handpicked by you")) : (React.createElement(Trans, null, "Handpicked for this case"))),
|
|
302
305
|
React.createElement("span", { className: "badge-item pf-v6-u-font-size-sm pf-v6-u-mx-sm" }, linkedRecommendations.length)),
|
|
303
|
-
React.createElement(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
React.createElement(CardExpandableContent, null,
|
|
307
|
+
React.createElement(CardBody, null, !hasLink ? (!canLinkUnlink ? (React.createElement(Trans, null, "If a Red Hat engineer finds an article or solution that can help with your case, they'll pin it here.")) : (React.createElement(React.Fragment, null))) : (React.createElement(PaginatedList, { id: "case-details-handpicked-recommendations", listItems: linkedRecommendations.map((rec, index) => canLinkUnlink
|
|
308
|
+
? renderHandPickedByRedHatter(rec, index, 'handpicked-recommendations')
|
|
309
|
+
: renderHandpickedCustomerView(rec, index, 'handpicked-recommendations')), perPage: 5, className: "list-icons list-icons-flush", isFetching: !!isLoadingRecommendations, perPageOptions: [
|
|
310
|
+
{ title: '5', value: 5 },
|
|
311
|
+
{ title: '10', value: 10 },
|
|
312
|
+
] })))))),
|
|
309
313
|
pinnedRecommendations.length !== 0 && (React.createElement(AccordionItem, { isExpanded: pinnedOpen },
|
|
310
314
|
React.createElement(AccordionToggle, { id: "sol-pinned", onClick: () => setPinnedOpen((pre) => !pre) },
|
|
311
315
|
React.createElement("span", null, canLinkUnlink ? (React.createElement(Trans, null, "Pinned by customer")) : (React.createElement(Trans, null, "My pinned recommendations"))),
|
|
@@ -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,+EAyH3B,CAAC"}
|
|
@@ -49,7 +49,7 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
|
|
|
49
49
|
React.createElement(ListItem, null, t('Agreed upon by both Red Hat and you, the end user'))),
|
|
50
50
|
React.createElement("p", { className: "rrs-light-grey-text" }, t('Red Hat will add a comment to your case to schedule your remote session.')),
|
|
51
51
|
waitingOnCallback && (React.createElement(Tooltip, { content: t('Remote session has already been requested.'), triggerRef: tooltipRef, "aria-live": 'polite' })),
|
|
52
|
-
React.createElement(Button, { "aria-label": waitingOnCallback ? t('Remote session requested') : t('Request remote session'), variant: waitingOnCallback ? 'primary' : 'secondary', onClick: toggleNewESSRemoteSessionModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: waitingOnCallback, ref: tooltipRef }, waitingOnCallback ? t('Remote session requested') : t('Request remote session')))))));
|
|
52
|
+
React.createElement(Button, { "aria-label": waitingOnCallback ? t('Remote session requested') : t('Request remote session'), variant: waitingOnCallback ? 'primary' : 'secondary', onClick: toggleNewESSRemoteSessionModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: waitingOnCallback, ref: tooltipRef, className: "remote-session-button" }, waitingOnCallback ? t('Remote session requested') : t('Request remote session')))))));
|
|
53
53
|
return (React.createElement(React.Fragment, null,
|
|
54
54
|
ESSRemoteSessionSectionBody,
|
|
55
55
|
React.createElement(NewEssTermsModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openNewESSRemoteSessionModal, onClose: toggleNewESSRemoteSessionModal, siteCode: TncConstants.REMOTE_RIDER_SITE_CODE, eventCode: TncConstants.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })));
|
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,+EAwHjC,CAAC"}
|
|
@@ -49,7 +49,7 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
|
|
|
49
49
|
React.createElement(ListItem, null, t('Agreed upon by both Red Hat and you, the end user'))),
|
|
50
50
|
React.createElement("p", { className: "rrs-light-grey-text" }, t('Red Hat will add a comment to your case to schedule your remote session.')),
|
|
51
51
|
acceptedRemoteSessionTerms && (React.createElement(Tooltip, { content: t('Remote session has already been requested.'), triggerRef: tooltipRef, "aria-live": 'polite' })),
|
|
52
|
-
React.createElement(Button, { "aria-label": waitingOnCallback ? t('Remote session requested') : t('Request remote session'), variant: waitingOnCallback ? 'primary' : 'secondary', onClick: toggleRemoteSessionAgreementModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: waitingOnCallback, ref: tooltipRef }, waitingOnCallback ? t('Remote session requested') : t('Request remote session')))))));
|
|
52
|
+
React.createElement(Button, { "aria-label": waitingOnCallback ? t('Remote session requested') : t('Request remote session'), variant: waitingOnCallback ? 'primary' : 'secondary', onClick: toggleRemoteSessionAgreementModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: waitingOnCallback, ref: tooltipRef, className: "remote-session-button" }, waitingOnCallback ? t('Remote session requested') : t('Request remote session')))))));
|
|
53
53
|
return (React.createElement(React.Fragment, null,
|
|
54
54
|
RemoteSessionAgreementSectionBody,
|
|
55
55
|
React.createElement(RemoteSessionAgreementModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openRequestRemoteSessionModal, onClose: toggleRemoteSessionAgreementModal, siteCode: TncConstants.REMOTE_RIDER_SITE_CODE, eventCode: TncConstants.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RestoreLastSessionModal.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/RestoreLastSessionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAGnF,OAAc,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAQ9C,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,YAAY,EAAE,YAAY,CAAC;CAC9B;AAED,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"RestoreLastSessionModal.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/RestoreLastSessionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAGnF,OAAc,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAQ9C,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,YAAY,EAAE,YAAY,CAAC;CAC9B;AAED,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,MAAM,CAuE9C,CAAC"}
|
|
@@ -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 { Button, Modal, ModalFooter, ModalVariant } from '@patternfly/react-core';
|
|
10
|
+
import { Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant } from '@patternfly/react-core';
|
|
11
11
|
import isEqual from 'lodash/isEqual';
|
|
12
12
|
import React, { useContext } from 'react';
|
|
13
13
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -38,8 +38,10 @@ export const RestoreLastSessionModal = ({ onRestore, errorSession }) => {
|
|
|
38
38
|
updateCaseCreationErrorStatus(caseDispatch, false);
|
|
39
39
|
updateSession(sessionDispatch, errorSession.session.id, errorSession.sessionDetails, Object.assign(Object.assign({}, errorSession.session), { caseCreationError: false }));
|
|
40
40
|
};
|
|
41
|
-
return (React.createElement(Modal, { "data-tracking-id": "restore-session-modal", variant: ModalVariant.small,
|
|
42
|
-
React.createElement(
|
|
41
|
+
return (React.createElement(Modal, { "data-tracking-id": "restore-session-modal", variant: ModalVariant.small, isOpen: !caseCreationError && caseCreation500ErrorStatus, onClose: onOpenNewCase, "aria-labelledby": "restore-session-modal-title", "aria-describedby": "restore-session-modal-body" },
|
|
42
|
+
React.createElement(ModalHeader, { title: t('Restore last session?'), labelId: "restore-session-modal-title" }),
|
|
43
|
+
React.createElement(ModalBody, { id: "restore-session-modal-body" },
|
|
44
|
+
React.createElement(Trans, null, "It looks like an error prevented your last case from being submitted. Would you like to restore the last session or open a new case?")),
|
|
43
45
|
React.createElement(ModalFooter, null,
|
|
44
46
|
React.createElement(Button, { key: "restore", variant: "primary", onClick: onRestoreClick, "data-tracking-id": "restore-session-button" },
|
|
45
47
|
React.createElement(Trans, null, " Restore")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTroubleshootEffects.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/GlobalTroubleshootEffects.tsx"],"names":[],"mappings":"AASA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAWvD,OAAO,
|
|
1
|
+
{"version":3,"file":"GlobalTroubleshootEffects.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/GlobalTroubleshootEffects.tsx"],"names":[],"mappings":"AASA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAWvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAYvG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,qBAuTtD"}
|
|
@@ -24,7 +24,8 @@ import { useResetCaseCreate } from '../../hooks/useResetCaseCreate';
|
|
|
24
24
|
import { CASE_DEATILS_SOURCE_REFERRER_LIMIT } from '../../reducers/CaseConstNTypes';
|
|
25
25
|
import { getDescriptionWOQues } from '../../reducers/CaseHelpers';
|
|
26
26
|
import { setCaseAccountNumber, setCaseDetails, setCaseOwner } from '../../reducers/CaseReducer';
|
|
27
|
-
import {
|
|
27
|
+
import { AppRouteSections } from '../../reducers/RouteConstNTypes';
|
|
28
|
+
import { setActiveSectionChanged, setRouteFlags, updateisNextBtnClickedToShowValidationError, } from '../../reducers/RouteReducer';
|
|
28
29
|
import { fetchEdmundAbbottRules } from '../../reducers/RulesReducer';
|
|
29
30
|
import { fetchTopContent } from '../../reducers/TopContentReducer';
|
|
30
31
|
import RouteUtils from '../../utils/routeUtils';
|
|
@@ -117,11 +118,11 @@ export function GlobalTroubleshootEffects(props) {
|
|
|
117
118
|
}, [allProducts.data.productsResult, caseDispatch, props.routeProps]);
|
|
118
119
|
// if you want to hide any section on page load then the logic will go here..
|
|
119
120
|
useEffect(() => {
|
|
121
|
+
// Reset validation error state when the troubleshoot app loads freshly
|
|
122
|
+
updateisNextBtnClickedToShowValidationError(dispatchToRouteReducer, false);
|
|
120
123
|
if (!isFirstMount.current && loggedInUser.data && managedAccounts.data)
|
|
121
124
|
return;
|
|
122
125
|
if (isFirstMount.current) {
|
|
123
|
-
// Reset validation error state when the troubleshoot app first loads
|
|
124
|
-
updateisNextBtnClickedToShowValidationError(dispatchToRouteReducer, false);
|
|
125
126
|
// set the summary if redirected from portal with url query param "summary"
|
|
126
127
|
if (!isEmpty(urlQueryParams.summary)) {
|
|
127
128
|
setCaseDetails(caseDispatch, { summary: urlQueryParams.summary });
|
|
@@ -145,11 +146,14 @@ export function GlobalTroubleshootEffects(props) {
|
|
|
145
146
|
*/
|
|
146
147
|
useEffect(() => {
|
|
147
148
|
if (props.routeProps.location.pathname === RouteUtils.seBasePath) {
|
|
149
|
+
// Set the active section to the default section when navigating to base path
|
|
150
|
+
const defaultSection = isCaseCreate ? AppRouteSections.GET_SUPPORT : AppRouteSections.TROUBLESHOOT;
|
|
151
|
+
setActiveSectionChanged(dispatchToRouteReducer, defaultSection, '');
|
|
148
152
|
RouteUtils.navigateToDefaltSection(props.routeProps, isCaseCreate, isSearchIntent, false);
|
|
149
153
|
!isSearchIntent && resetCaseCreateState();
|
|
150
154
|
}
|
|
151
155
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
152
|
-
}, [dispatchToRouteReducer, props.routeProps, isCaseCreate, isSearchIntent]);
|
|
156
|
+
}, [dispatchToRouteReducer, props.routeProps.location.pathname, isCaseCreate, isSearchIntent]);
|
|
153
157
|
/**
|
|
154
158
|
* Setting Default AccountNumber and ContactSsoUsername from loggedInUsersAccount
|
|
155
159
|
* Disabling exhaustive-deps rule as we don't want to reset default values if user manually clears these from UI.
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -81,6 +81,17 @@ div.support-grid-case-details.support-case {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
+
.grid-aside-content-inner-div {
|
|
85
|
+
margin: 0px !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.card-heading {
|
|
89
|
+
margin-bottom: 0px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#case-details-top-recommendations-pagination-bottom-pagination {
|
|
93
|
+
justify-content: flex-start;
|
|
94
|
+
}
|
|
84
95
|
}
|
|
85
96
|
}
|
|
86
97
|
|
|
@@ -258,6 +269,7 @@ div.support-grid-case-details.support-case {
|
|
|
258
269
|
justify-content: space-between;
|
|
259
270
|
-ms-flex-wrap: wrap;
|
|
260
271
|
flex-wrap: wrap;
|
|
272
|
+
border-radius: 8px;
|
|
261
273
|
|
|
262
274
|
& > * {
|
|
263
275
|
margin: 9px;
|
|
@@ -303,6 +315,7 @@ div.support-grid-case-details.support-case {
|
|
|
303
315
|
}
|
|
304
316
|
|
|
305
317
|
.case-overview-secondary {
|
|
318
|
+
border-radius: 8px;
|
|
306
319
|
.form-group {
|
|
307
320
|
margin-bottom: 0;
|
|
308
321
|
}
|
|
@@ -1112,6 +1125,7 @@ svg.pf-v6-u-ml-xs.icon-size {
|
|
|
1112
1125
|
|
|
1113
1126
|
.review-form {
|
|
1114
1127
|
background-color: #e0e0e0 !important;
|
|
1128
|
+
border-radius: 8px;
|
|
1115
1129
|
}
|
|
1116
1130
|
|
|
1117
1131
|
.ai-label-text {
|
|
@@ -1281,3 +1295,8 @@ svg.pf-v6-u-ml-xs.icon-size {
|
|
|
1281
1295
|
.article-recommendations-card h3 {
|
|
1282
1296
|
margin-bottom: 0;
|
|
1283
1297
|
}
|
|
1298
|
+
|
|
1299
|
+
.postcomment-submit:disabled,
|
|
1300
|
+
.remote-session-button:disabled {
|
|
1301
|
+
color: var(--pf-v6-c-button--disabled--Color);
|
|
1302
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.29",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"defaults and supports es6-module",
|
|
135
135
|
"maintained node versions"
|
|
136
136
|
],
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "c533afec1e04aa8a6da485d8855d80ce1a75fd88"
|
|
138
138
|
}
|