@rh-support/troubleshoot 2.2.156 → 2.2.158
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/CaseInformation/Description.js +2 -2
- package/lib/esm/components/ImproveCase/KtQuestions.js +9 -9
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +2 -2
- package/lib/esm/components/wizardLayout/NewFeatureModal.js +1 -1
- package/lib/esm/reducers/CaseConstNTypes.d.ts +2 -2
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +2 -2
- package/lib/esm/scss/_pf-overrides.scss +1 -1
- package/package.json +2 -2
|
@@ -58,7 +58,7 @@ export default function Description(props) {
|
|
|
58
58
|
const isKT1Required = true;
|
|
59
59
|
const headerPopoverContent = (React.createElement("div", null,
|
|
60
60
|
React.createElement("div", null,
|
|
61
|
-
React.createElement(Trans, null, "Describe your problem
|
|
61
|
+
React.createElement(Trans, null, "Describe your problem in detail for faster more relevant solutions")),
|
|
62
62
|
React.createElement("div", null,
|
|
63
63
|
React.createElement(Badge, { isRead: true, className: 'badge-icon-info' },
|
|
64
64
|
React.createElement(StarIcon, { className: "star-icon-info" }),
|
|
@@ -67,7 +67,7 @@ export default function Description(props) {
|
|
|
67
67
|
const PopoverContent = (React.createElement("div", null,
|
|
68
68
|
React.createElement("div", { className: "popover-body-info-description" },
|
|
69
69
|
React.createElement("p", null,
|
|
70
|
-
React.createElement(Trans, null, "Tell us what you
|
|
70
|
+
React.createElement(Trans, null, "Tell us what you\u2019ve already done, and include error messages. We\u2019ll share articles to help you troubleshoot before opening a ticket.")))));
|
|
71
71
|
return (React.createElement(InlineEdit, { labelContent: React.createElement(React.Fragment, null, props.customTitle ? (props.customTitle) : (React.createElement(React.Fragment, null,
|
|
72
72
|
React.createElement(Trans, null, "Describe your problem. Include specific actions and error messages."),
|
|
73
73
|
isKT1Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
@@ -59,9 +59,9 @@ function KtQuestions(props) {
|
|
|
59
59
|
const getVariantQ2 = () => {
|
|
60
60
|
if (!environment || isEmpty(environment))
|
|
61
61
|
return ProgressVariant.success;
|
|
62
|
-
if (environment.length >
|
|
62
|
+
if (environment.length > CASE_DEATILS_ENVIRONMENT_LIMIT)
|
|
63
63
|
return ProgressVariant.danger;
|
|
64
|
-
if (environment.length >
|
|
64
|
+
if (environment.length > CASE_DEATILS_ENVIRONMENT_LIMIT / 2)
|
|
65
65
|
return ProgressVariant.warning;
|
|
66
66
|
return ProgressVariant.success;
|
|
67
67
|
};
|
|
@@ -97,18 +97,18 @@ function KtQuestions(props) {
|
|
|
97
97
|
: 'default', "aria-invalid": timeFramesAndUrgency && (timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length) > CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT
|
|
98
98
|
? 'true'
|
|
99
99
|
: 'false', id: "ktQ4-timeFramesAndUrgency", value: timeFramesAndUrgency, onChange: (e, value) => onKtQ4Change(value, e), "aria-required": isKT4Required, "data-tracking-id": "get-support-ktQ4-timeFramesAndUrgency", placeholder: t('Describe the user or financial impact. Tell us about any legal, national, or medical urgency.'), isRequired: isKT4Required, resizeOrientation: "vertical", rows: 5 }),
|
|
100
|
-
React.createElement(
|
|
101
|
-
React.createElement(
|
|
100
|
+
React.createElement("p", { className: "form-instructions pf-v5-u-danger-color-100", "data-tracking-id": "large-4k-warning-ktQ4-environment" }, `${(timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length) > CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT ? KTQ4LengthError : ''}`),
|
|
101
|
+
React.createElement(Progress, { value: timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length, min: 0, max: KTQUESTION_MAX_LIMIT, size: ProgressSize.sm, label: `${timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length} / ${KTQUESTION_MAX_LIMIT}`, valueText: `${timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length} / ${KTQUESTION_MAX_LIMIT}`, measureLocation: ProgressMeasureLocation.top, "aria-label": `Progress - ${timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length} / ${KTQUESTION_MAX_LIMIT}`, variant: getVariantQ4(), title: ' ', className: `pf-v5-u-mt-md kt-progress-bar`, id: "summary-progress-bar" })),
|
|
102
102
|
!props.onlyShowKT4 && (React.createElement(React.Fragment, null,
|
|
103
103
|
React.createElement(InlineEdit, { labelProps: { htmlFor: 'ktQ2-environment' }, labelContent: React.createElement(React.Fragment, null,
|
|
104
104
|
t(KtQuestionConstant.environment),
|
|
105
105
|
' ',
|
|
106
|
-
isKT2Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))), allowInlineEdit: props.inlineEditable, hideSaveCancel: props.hideSaveCancel, initialIsEditing: isEmpty(environment) || environment.length >
|
|
106
|
+
isKT2Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))), allowInlineEdit: props.inlineEditable, hideSaveCancel: props.hideSaveCancel, initialIsEditing: isEmpty(environment) || environment.length > CASE_DEATILS_ENVIRONMENT_LIMIT, usePreformattedTag: true, saveOnBlur: true, content: environment },
|
|
107
107
|
React.createElement(TextArea, { id: "ktQ2-environment", validated: environment && (environment === null || environment === void 0 ? void 0 : environment.length) > CASE_DEATILS_ENVIRONMENT_LIMIT
|
|
108
108
|
? 'error'
|
|
109
109
|
: 'default', value: environment, onChange: (e, value) => onKtQ2Change(value, e), "aria-required": isKT2Required, isRequired: isKT2Required, "data-tracking-id": "get-support-ktQ2-environment", "aria-invalid": environment && (environment === null || environment === void 0 ? void 0 : environment.length) > CASE_DEATILS_ENVIRONMENT_LIMIT ? 'true' : 'false', resizeOrientation: "vertical", placeholder: t('Please provide details about the location, device, software version, etc. where you encounter this issue'), rows: 5 }),
|
|
110
|
-
React.createElement(
|
|
111
|
-
React.createElement(
|
|
110
|
+
React.createElement("p", { className: "form-instructions pf-v5-u-danger-color-100", "data-tracking-id": "large-4k-warning-ktQ2-environment" }, `${(environment === null || environment === void 0 ? void 0 : environment.length) > CASE_DEATILS_ENVIRONMENT_LIMIT ? KTQ2LengthError : ''}`),
|
|
111
|
+
React.createElement(Progress, { value: environment === null || environment === void 0 ? void 0 : environment.length, min: 0, max: CASE_DEATILS_ENVIRONMENT_LIMIT, size: ProgressSize.sm, label: `${environment === null || environment === void 0 ? void 0 : environment.length} / ${CASE_DEATILS_ENVIRONMENT_LIMIT}`, valueText: `${environment === null || environment === void 0 ? void 0 : environment.length} / ${CASE_DEATILS_ENVIRONMENT_LIMIT}`, measureLocation: ProgressMeasureLocation.top, "aria-label": `Progress - ${environment === null || environment === void 0 ? void 0 : environment.length} / ${CASE_DEATILS_ENVIRONMENT_LIMIT}`, variant: getVariantQ2(), title: ' ', className: `pf-v5-u-mt-md kt-progress-bar`, id: "summary-progress-bar" })),
|
|
112
112
|
React.createElement(InlineEdit, { labelProps: { htmlFor: 'ktQ3-periodicityOfIssue' }, labelContent: React.createElement(React.Fragment, null,
|
|
113
113
|
t(KtQuestionConstant.periodicityOfIssue),
|
|
114
114
|
' ',
|
|
@@ -118,8 +118,8 @@ function KtQuestions(props) {
|
|
|
118
118
|
: 'default', value: periodicityOfIssue, onChange: (e, value) => onKtQ3Change(value, e), "aria-required": isKT3Required, isRequired: isKT3Required, "data-tracking-id": "get-support-ktQ3-periodicityOfIssue", "aria-invalid": periodicityOfIssue && (periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length) > CASE_DEATILS_PERIODICITYOFISSUE_LIMIT
|
|
119
119
|
? 'true'
|
|
120
120
|
: 'false', resizeOrientation: "vertical", placeholder: t('Describe when and how often the problem occurs, e.g., daily, after specific actions, at particular times of day, etc.'), rows: 5 }),
|
|
121
|
-
React.createElement(
|
|
122
|
-
React.createElement(
|
|
121
|
+
React.createElement("p", { className: "form-instructions pf-v5-u-danger-color-100", "data-tracking-id": "large-4k-warning-ktQ3-environment" }, `${(periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length) > CASE_DEATILS_PERIODICITYOFISSUE_LIMIT ? KTQ3LengthError : ''}`),
|
|
122
|
+
React.createElement(Progress, { value: periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length, min: 0, max: KTQUESTION_MAX_LIMIT, size: ProgressSize.sm, label: `${periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length} / ${KTQUESTION_MAX_LIMIT}`, valueText: `${periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length} / ${KTQUESTION_MAX_LIMIT}`, measureLocation: ProgressMeasureLocation.top, "aria-label": `Progress - ${periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length} / ${KTQUESTION_MAX_LIMIT}`, variant: getVariantQ3(), title: ' ', className: `pf-v5-u-mt-md kt-progress-bar`, id: "summary-progress-bar" }))))));
|
|
123
123
|
}
|
|
124
124
|
KtQuestions.defaultProps = defaultProps;
|
|
125
125
|
export default KtQuestions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAuB1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EA2M9D"}
|
|
@@ -8,7 +8,7 @@ import { useCaseSelector } from '../../context/CaseContext';
|
|
|
8
8
|
import { RecommendationStateContext } from '../../context/RecommendationContext';
|
|
9
9
|
import { RouteContext } from '../../context/RouteContext';
|
|
10
10
|
import { TCStateContext } from '../../context/TopContentContext';
|
|
11
|
-
import { CASE_REFERENCE_NUMBER_LIMIT, CONTACT_INFO_24X7_LIMIT, HOSTNAME_LENGTH_LIMIT, ISSUE_SUMMARY_LENGTH_LIMIT, KTQUESTION_MAX_LIMIT, TITLE_SUMMARY_LENGTH_LIMIT, } from '../../reducers/CaseConstNTypes';
|
|
11
|
+
import { CASE_DEATILS_ENVIRONMENT_LIMIT, CASE_REFERENCE_NUMBER_LIMIT, CONTACT_INFO_24X7_LIMIT, HOSTNAME_LENGTH_LIMIT, ISSUE_SUMMARY_LENGTH_LIMIT, KTQUESTION_MAX_LIMIT, TITLE_SUMMARY_LENGTH_LIMIT, } from '../../reducers/CaseConstNTypes';
|
|
12
12
|
import { isCaseInformationSectionValid, isCaseManagementStateValid, isCaseStateValid, isClusterIDValid, isIdeaCaseStateValid, } from '../../reducers/CaseHelpers';
|
|
13
13
|
import { AppRouteSections } from '../../reducers/RouteConstNTypes';
|
|
14
14
|
import { AttachmentStateContext } from './fileUpload/reducer/AttachmentReducerContext';
|
|
@@ -104,7 +104,7 @@ export function useIsSectionValid(sectionName) {
|
|
|
104
104
|
isClusterIDValid(caseState, (_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult) &&
|
|
105
105
|
isCaseInformationSectionValid(caseState, loggedInUserJwtToken) &&
|
|
106
106
|
hostnameIsValid &&
|
|
107
|
-
environment.length <=
|
|
107
|
+
environment.length <= CASE_DEATILS_ENVIRONMENT_LIMIT &&
|
|
108
108
|
timeFramesAndUrgency.length <= KTQUESTION_MAX_LIMIT &&
|
|
109
109
|
periodicityOfIssue.length <= KTQUESTION_MAX_LIMIT);
|
|
110
110
|
};
|
|
@@ -32,7 +32,7 @@ const NewFeatureModal = () => {
|
|
|
32
32
|
], showClose: false },
|
|
33
33
|
React.createElement(RedHatCustomerPortalIcon, null),
|
|
34
34
|
React.createElement(Title, { headingLevel: "h2", className: "pf-v5-u-font-weight-bold" }, t('Change: Application Announcement For KT Question Update')),
|
|
35
|
-
React.createElement(Trans, null, "
|
|
35
|
+
React.createElement(Trans, null, "Welcome back! To improve your troubleshooting experience, we've updated how you create cases, changed the questions we ask, and given you more chances to edit your problem. We want to help you solve your technical challenges quickly."),
|
|
36
36
|
React.createElement(Checkbox, { className: "pf-v5-u-mt-md", id: "new-feature-modal-checkbox", label: t(`I don't want to see this modal again`), isChecked: checkedToNotShowModal, onChange: onBannerCheckboxChange, "data-tracking-id": "new-feature-modal-checkbox" })))));
|
|
37
37
|
};
|
|
38
38
|
export default NewFeatureModal;
|
|
@@ -39,13 +39,13 @@ export declare const CASE_DEATILS_PERIODICITYOFISSUE_LIMIT = 4000;
|
|
|
39
39
|
export declare const CASE_DEATILS_SOURCE_REFERRER_LIMIT = 255;
|
|
40
40
|
export declare const summaryMaxLengthErrorMessage = "Case summary cannot be more than {{limit}} characters.";
|
|
41
41
|
export declare enum KtQuestionConstant {
|
|
42
|
-
issue = "
|
|
42
|
+
issue = "Describe your problem. Include specific actions and error messages.",
|
|
43
43
|
timeFramesAndUrgency = "Describe the impact to you or the business",
|
|
44
44
|
environment = "In what environment are you experiencing this behavior?",
|
|
45
45
|
periodicityOfIssue = "How frequently does this behavior occur? Does it occur repeatedly or at certain times?",
|
|
46
46
|
ideaIssue = "Please describe your request"
|
|
47
47
|
}
|
|
48
|
-
export declare const KTQ2LengthError = "That description exceeds
|
|
48
|
+
export declare const KTQ2LengthError = "That description exceeds 3000 characters. Try shortening it.";
|
|
49
49
|
export declare const KTQ3LengthError = "That description exceeds 4000 characters. Try shortening it.";
|
|
50
50
|
export declare const KTQ4LengthError = "That description exceeds 4000 characters. Try shortening it.";
|
|
51
51
|
export declare const enum SupportLevel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AAG,SAAS,CAAC;IAChF,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;CAAG;AAC7D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG,eAAO,MAAM,yCAAyC,+CAA+C,CAAC"}
|
|
@@ -35,13 +35,13 @@ export const summaryMaxLengthErrorMessage = 'Case summary cannot be more than {{
|
|
|
35
35
|
// Constants
|
|
36
36
|
export var KtQuestionConstant;
|
|
37
37
|
(function (KtQuestionConstant) {
|
|
38
|
-
KtQuestionConstant["issue"] = "
|
|
38
|
+
KtQuestionConstant["issue"] = "Describe your problem. Include specific actions and error messages.";
|
|
39
39
|
KtQuestionConstant["timeFramesAndUrgency"] = "Describe the impact to you or the business";
|
|
40
40
|
KtQuestionConstant["environment"] = "In what environment are you experiencing this behavior?";
|
|
41
41
|
KtQuestionConstant["periodicityOfIssue"] = "How frequently does this behavior occur? Does it occur repeatedly or at certain times?";
|
|
42
42
|
KtQuestionConstant["ideaIssue"] = "Please describe your request";
|
|
43
43
|
})(KtQuestionConstant || (KtQuestionConstant = {}));
|
|
44
|
-
export const KTQ2LengthError = 'That description exceeds
|
|
44
|
+
export const KTQ2LengthError = 'That description exceeds 3000 characters. Try shortening it.'; //environment kt question with only 3k limit
|
|
45
45
|
export const KTQ3LengthError = 'That description exceeds 4000 characters. Try shortening it.';
|
|
46
46
|
export const KTQ4LengthError = 'That description exceeds 4000 characters. Try shortening it.';
|
|
47
47
|
export const SupportLevelDisplay = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.158",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"defaults and supports es6-module",
|
|
132
132
|
"maintained node versions"
|
|
133
133
|
],
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "20876ece4a970145e3f94cbfb76e242530c6f841"
|
|
135
135
|
}
|