@rh-support/react-context 2.1.45 → 2.1.47
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/HostnameAwarenessModal/HostnameAwarenessModal.d.ts.map +1 -1
- package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.js +31 -37
- package/lib/esm/reducers/GlobalAlertMessageReducer.d.ts +2 -2
- package/lib/esm/reducers/GlobalAlertMessageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/GlobalMetadataReducer.d.ts +6 -6
- package/lib/esm/reducers/GlobalMetadataReducer.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAOtC,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"HostnameAwarenessModal.d.ts","sourceRoot":"","sources":["../../../../src/components/HostnameAwarenessModal/HostnameAwarenessModal.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAOtC,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,eAAO,MAAM,sBAAsB,yBAsKlC,CAAC"}
|
|
@@ -22,45 +22,52 @@ export const HostnameAwarenessModal = () => {
|
|
|
22
22
|
// Function to fetch original data
|
|
23
23
|
const { getHostnamesVisibilityObj, updateShowHostnamesCount } = useUserPreferences();
|
|
24
24
|
// Setting State for original data value which are used to open/finalize close modal
|
|
25
|
-
const [originalViewedCountValue, setViewedCountValue] = useState(
|
|
25
|
+
const [originalViewedCountValue, setViewedCountValue] = useState(undefined);
|
|
26
26
|
const [doNotShowModal, setDoNotShowModal] = useState(0);
|
|
27
|
-
const [
|
|
28
|
-
const [isModalOpen, setIsModalOpen] = useState(true);
|
|
27
|
+
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
29
28
|
const [isHostnamesChecked, setisHostnamesChecked] = useState(false);
|
|
30
|
-
const [isLoadingHostnamesVisibilityObj, setIsLoadingHostnamesVisibilityObj] = useState(true);
|
|
31
|
-
//preserving initial state to disable modal load
|
|
32
|
-
const [alreadyCheckedCloseModal, setAlreadyCheckedCloseModal] = useState(false);
|
|
33
29
|
const { globalMetadataState: { loggedInUsersAccount }, } = useGlobalStateContext();
|
|
34
30
|
const dispatchToGlobalMetadataReducer = useContext(GlobalMetadataDispatchContext);
|
|
35
31
|
const accountNumber = loggedInUsersAccount.data.accountNumber;
|
|
36
32
|
const { request: updateHostnameDefault, isFetching: isFetchingUpdateHostnameDefault } = useFetch(accounts.updateIsSharingHostname);
|
|
33
|
+
//Do not show modal if user cannot share hostnames.
|
|
34
|
+
const canUseHostName = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.HOSTNAME);
|
|
37
35
|
useEffect(() => {
|
|
36
|
+
if (loggedInUsersAccount.isFetching)
|
|
37
|
+
return;
|
|
38
|
+
let localOriginalViewedCountValue;
|
|
39
|
+
let localDoNotShowModal;
|
|
38
40
|
const userOriginalHostnamesCount = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
39
41
|
try {
|
|
40
|
-
setIsLoadingHostnamesVisibilityObj(true);
|
|
41
42
|
const originalHostnameVisibilityObj = yield getHostnamesVisibilityObj();
|
|
42
43
|
if (!originalHostnameVisibilityObj)
|
|
43
44
|
return;
|
|
44
45
|
const parsedVisibilityObj = JSON.parse(originalHostnameVisibilityObj);
|
|
45
|
-
|
|
46
|
+
// updating space takes time, here we define a lcal variable to immidiatly use the value
|
|
47
|
+
localOriginalViewedCountValue = parsedVisibilityObj.shownCount;
|
|
48
|
+
localDoNotShowModal = parsedVisibilityObj.doNotShow;
|
|
46
49
|
setViewedCountValue(parsedVisibilityObj.shownCount);
|
|
47
50
|
setDoNotShowModal(parsedVisibilityObj.doNotShow);
|
|
48
51
|
}
|
|
49
52
|
catch (error) {
|
|
50
|
-
setIsLoadingHostnamesVisibilityObj(false);
|
|
51
53
|
console.log(error);
|
|
52
54
|
}
|
|
53
55
|
});
|
|
54
56
|
const userOriginalHostnameValue = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
55
|
-
var _a
|
|
57
|
+
var _a;
|
|
56
58
|
setisHostnamesChecked((_a = loggedInUsersAccount.data) === null || _a === void 0 ? void 0 : _a.shareHostnameWithRHT);
|
|
57
|
-
// This is needed so we preserve initial state we do not close modal upon updating names.
|
|
58
|
-
setAlreadyCheckedCloseModal((_b = loggedInUsersAccount.data) === null || _b === void 0 ? void 0 : _b.shareHostnameWithRHT);
|
|
59
59
|
});
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
const init = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
61
|
+
yield userOriginalHostnamesCount();
|
|
62
|
+
userOriginalHostnameValue();
|
|
63
|
+
//Do not show modal if user is already sharing hostnames, has seen the modal more than twice, or opted to not show it again
|
|
64
|
+
if (canUseHostName && localDoNotShowModal !== 1 && localOriginalViewedCountValue < 2) {
|
|
65
|
+
setIsModalOpen(true);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
init();
|
|
62
69
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
63
|
-
}, []);
|
|
70
|
+
}, [loggedInUsersAccount.isFetching]);
|
|
64
71
|
// To handle modal close
|
|
65
72
|
const onCloseModal = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
66
73
|
if (isFetchingUpdateHostnameDefault)
|
|
@@ -68,7 +75,7 @@ export const HostnameAwarenessModal = () => {
|
|
|
68
75
|
try {
|
|
69
76
|
const updatedCountValue = (originalViewedCountValue || 0) + 1;
|
|
70
77
|
updateShowHostnamesCount({ shownCount: updatedCountValue, doNotShow: doNotShowModal });
|
|
71
|
-
setIsModalOpen(
|
|
78
|
+
setIsModalOpen(false);
|
|
72
79
|
}
|
|
73
80
|
catch (error) {
|
|
74
81
|
console.log(error);
|
|
@@ -89,7 +96,6 @@ export const HostnameAwarenessModal = () => {
|
|
|
89
96
|
//for the checkbox
|
|
90
97
|
const onDoNotAskAgain = () => {
|
|
91
98
|
try {
|
|
92
|
-
setDoNotShowNotClicked(false);
|
|
93
99
|
setDoNotShowModal(1);
|
|
94
100
|
const updateObjValue = { shownCount: originalViewedCountValue, doNotShow: 1 };
|
|
95
101
|
updateShowHostnamesCount(updateObjValue);
|
|
@@ -109,24 +115,12 @@ export const HostnameAwarenessModal = () => {
|
|
|
109
115
|
React.createElement(InfoIcon, { className: "pf-v5-u-ml-sm hostnameInfoIcon" })),
|
|
110
116
|
isFetchingUpdateHostnameDefault && (React.createElement(Spinner, { size: "lg", className: "pf-v5-u-ml-sm hostnameSpinner", "aria-label": "Hostname loading" }))));
|
|
111
117
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
(doNotShowModal === 1 && doNotShowNotClicked)) {
|
|
121
|
-
return React.createElement(React.Fragment, null);
|
|
122
|
-
}
|
|
123
|
-
return (React.createElement(React.Fragment, null,
|
|
124
|
-
React.createElement(Modal, { variant: ModalVariant.medium, title: "Share hostnames with Red Hat?", isOpen: isModalOpen, onClose: onCloseModal, actions: [
|
|
125
|
-
React.createElement(Button, { "data-tracking-id": "close-hostname-modal", key: "close", variant: "primary", onClick: onCloseModal, isDisabled: isFetchingUpdateHostnameDefault }, "Close"),
|
|
126
|
-
React.createElement("div", { className: "dontAskCheckbox" },
|
|
127
|
-
React.createElement(Checkbox, { isChecked: !!doNotShowModal, label: "Don't ask me again", id: "dont-ask-again", "data-tracking-id": "dont-ask-again-hostname-modal", onChange: onDoNotAskAgain })),
|
|
128
|
-
] },
|
|
129
|
-
React.createElement("div", null,
|
|
130
|
-
React.createElement(Trans, null, "Red Hat Support cannot currently access hostnames that have been entered on a case. You can share this information at any time to improve your support experience, or you can ignore this.")),
|
|
131
|
-
modalBody())));
|
|
118
|
+
return (React.createElement(Modal, { variant: ModalVariant.medium, title: "Share hostnames with Red Hat?", isOpen: isModalOpen, onClose: onCloseModal, actions: [
|
|
119
|
+
React.createElement(Button, { "data-tracking-id": "close-hostname-modal", key: "close", variant: "primary", onClick: onCloseModal, isDisabled: isFetchingUpdateHostnameDefault }, "Close"),
|
|
120
|
+
React.createElement("div", { className: "dontAskCheckbox" },
|
|
121
|
+
React.createElement(Checkbox, { isChecked: !!doNotShowModal, label: "Don't ask me again", id: "dont-ask-again", "data-tracking-id": "dont-ask-again-hostname-modal", onChange: onDoNotAskAgain })),
|
|
122
|
+
] },
|
|
123
|
+
React.createElement("div", null,
|
|
124
|
+
React.createElement(Trans, null, "Red Hat Support cannot currently access hostnames that have been entered on a case. You can share this information at any time to improve your support experience, or you can ignore this.")),
|
|
125
|
+
modalBody()));
|
|
132
126
|
};
|
|
@@ -7,8 +7,8 @@ export interface IGlobalAlertMessageState {
|
|
|
7
7
|
}
|
|
8
8
|
export interface IGlobalAlertMessagePayloadType extends IGlobalAlertMessageState {
|
|
9
9
|
}
|
|
10
|
-
type IActionType = IAction<GlobalAlertMessageReducerConstants, IGlobalAlertMessagePayloadType>;
|
|
11
|
-
export type GlobalAlertMessageReducerDispatchType = (value: IActionType) => void;
|
|
10
|
+
declare type IActionType = IAction<GlobalAlertMessageReducerConstants, IGlobalAlertMessagePayloadType>;
|
|
11
|
+
export declare type GlobalAlertMessageReducerDispatchType = (value: IActionType) => void;
|
|
12
12
|
export declare const initialGlobalAlertMessageState: IGlobalAlertMessageState;
|
|
13
13
|
export declare const globalAlertMessageReducer: (state: IGlobalAlertMessageState, action: IActionType) => IGlobalAlertMessageState;
|
|
14
14
|
export declare const toggleSubscriptionAbuseModalOpen: (dispatch: GlobalAlertMessageReducerDispatchType) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalAlertMessageReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalAlertMessageReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,oBAAY,kCAAkC;IAC1C,gCAAgC,qCAAqC;CACxE;AAED,MAAM,WAAW,wBAAwB;IACrC,4BAA4B,EAAE,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AACnF,
|
|
1
|
+
{"version":3,"file":"GlobalAlertMessageReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalAlertMessageReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,oBAAY,kCAAkC;IAC1C,gCAAgC,qCAAqC;CACxE;AAED,MAAM,WAAW,wBAAwB;IACrC,4BAA4B,EAAE,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AACnF,aAAK,WAAW,GAAG,OAAO,CAAC,kCAAkC,EAAE,8BAA8B,CAAC,CAAC;AAC/F,oBAAY,qCAAqC,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAEjF,eAAO,MAAM,8BAA8B,EAAE,wBAE5C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC3B,wBAAwB,0BAEhC,wBASF,CAAC;AAEF,eAAO,MAAM,gCAAgC,aAAc,qCAAqC,SAI/F,CAAC"}
|
|
@@ -79,9 +79,9 @@ export declare enum GlobalMetadataReducerConstants {
|
|
|
79
79
|
getNoclusteridreasons = "getNoclusteridreasons",
|
|
80
80
|
setIsSharingHostnameswithRHt = "setIsSharingHostnameswithRHt"
|
|
81
81
|
}
|
|
82
|
-
export type ICaseType = string;
|
|
83
|
-
export type ICaseSeverity = string;
|
|
84
|
-
export type ICaseStatus = string;
|
|
82
|
+
export declare type ICaseType = string;
|
|
83
|
+
export declare type ICaseSeverity = string;
|
|
84
|
+
export declare type ICaseStatus = string;
|
|
85
85
|
export interface IIntraction {
|
|
86
86
|
time: Date;
|
|
87
87
|
action: string;
|
|
@@ -90,7 +90,7 @@ export interface IIntraction {
|
|
|
90
90
|
export interface IUserPreferences {
|
|
91
91
|
isCaseListFilterPanelExanded?: boolean;
|
|
92
92
|
}
|
|
93
|
-
export type IFeatureFlags = {
|
|
93
|
+
export declare type IFeatureFlags = {
|
|
94
94
|
[k in keyof typeof FeatureFlagKey]?: boolean;
|
|
95
95
|
};
|
|
96
96
|
export interface IBookmarkedGroupIds {
|
|
@@ -132,8 +132,8 @@ export interface IGlobalMetadataPayloadType extends IGlobalMetadataState {
|
|
|
132
132
|
account: IAccount;
|
|
133
133
|
flag: boolean;
|
|
134
134
|
}
|
|
135
|
-
type IActionType = IAction<GlobalMetadataReducerConstants, IGlobalMetadataPayloadType>;
|
|
136
|
-
export type GlobalMetadataReducerDispatchType = (value: IActionType) => void;
|
|
135
|
+
declare type IActionType = IAction<GlobalMetadataReducerConstants, IGlobalMetadataPayloadType>;
|
|
136
|
+
export declare type GlobalMetadataReducerDispatchType = (value: IActionType) => void;
|
|
137
137
|
export declare const initialGlobalMetadataState: IGlobalMetadataState;
|
|
138
138
|
export declare const globalMetadataReducer: (pState: IGlobalMetadataState, action: IActionType) => IGlobalMetadataState;
|
|
139
139
|
export declare const setReferrerUrl: (dispatch: GlobalMetadataReducerDispatchType, referrerUrl: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalMetadataReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalMetadataReducer.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,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AAM,uBAAuB,aACtB,iCAAiC,sBACvB,MAAM,EAAE,kBA6B/B,CAAC;AAEF,eAAO,MAAM,kBAAkB,aAAc,iCAAiC,mBAAmB,gBAAgB,SAYhH,CAAC;AAEF,eAAO,MAAM,YAAY,aAAc,iCAAiC,aAAa,iBAAiB,WAAW,CAAC,SAKjH,CAAC;AAEF,eAAO,MAAM,wBAAwB,aAAc,iCAAiC,SAEnF,CAAC;AAEF,eAAO,MAAM,oBAAoB,aACnB,iCAAiC,SACpC,QAAQ,eAAe,CAAC,kBAsBlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,aACpB,iCAAiC,eAC9B,MAAM,eACN,WAAW,EAAE,cACf,KAAK,GAAG,QAAQ,2CAEJ,OAAO,kBAiCjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAChB,iCAAiC,gBAC7B,QAAQ,aAAa,CAAC,SAMvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,aAAoB,iCAAiC,iBAAiB,MAAM,kBAiBhH,CAAC;AAEF,eAAO,MAAM,sBAAsB,aACrB,iCAAiC,uBACtB,6BAA6B,EAAE,SAMvD,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAAoB,iCAAiC,kBAkBhG,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAC9B,iCAAiC,wBACrB,QAAQ,QAAQ,CAAC,wBACjB,OAAO,SAMhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/react-context",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.47",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"defaults and supports es6-module",
|
|
94
94
|
"maintained node versions"
|
|
95
95
|
],
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "908b440e3c6cd625c77178c3205f4e2908630446"
|
|
97
97
|
}
|