Skip to content

Commit 6912ac4

Browse files
OlegApanovichcagdasdag
authored andcommitted
VC-3543 remove pnps survey
1 parent 14c839c commit 6912ac4

File tree

5 files changed

+0
-14
lines changed

5 files changed

+0
-14
lines changed

public/components/popup/popupContainer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const PopupContainer = ({ activePopup, allPopupsHidden, isPopupVisible, popupVis
4848

4949
const popupClasses = classNames({
5050
'vcv-layout-popup': true,
51-
'vcv-layout-feedback-popup': activePopup === 'votePopup',
5251
'vcv-layout-popup--visible': isPopupVisible,
5352
'vcv-layout-popup--action-clicked': actionClicked,
5453
'vcv-layout-popup--pricing-popup': activePopup === 'pricingPopup'

public/components/popup/types.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ export interface PopupProps {
1313
onPrimaryButtonClick: () => void
1414
}
1515

16-
export interface VotePopupProps extends PopupProps {
17-
popupVisibilitySet: (status: boolean) => void
18-
popupShown: (popupName: string) => void
19-
popupsSet: (popups: Popups) => void
20-
popups: Popups
21-
}
22-
2316
export interface PopupInnerProps extends PopupProps {
2417
children: JSX.Element | JSX.Element[] | null,
2518
headingText: string

public/editor/services/dataManager/service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const dataManager = {
2121
adminAjaxUrl: () => { return window.vcvAdminAjaxUrl },
2222
editorType: () => { return window.VCV_EDITOR_TYPE ? window.VCV_EDITOR_TYPE() : 'default' },
2323
pageTemplates: () => { return window.VCV_PAGE_TEMPLATES ? window.VCV_PAGE_TEMPLATES() : '' },
24-
showFeedbackForm: () => { return window.VCV_SHOW_FEEDBACK_FORM && window.VCV_SHOW_FEEDBACK_FORM() },
2524
showInitialHelpers: () => { return window.VCV_SHOW_INITIAL_HELPERS && window.VCV_SHOW_INITIAL_HELPERS() },
2625
hubGetElements: () => { return window.VCV_HUB_GET_ELEMENTS ? window.VCV_HUB_GET_ELEMENTS() : {} },
2726
elementsGlobalsUrl: () => { return window.vcvElementsGlobalsUrl },

public/editor/services/dataManager/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ declare global {
304304
vcvAdminAjaxUrl: string,
305305
VCV_EDITOR_TYPE: () => string,
306306
VCV_PAGE_TEMPLATES: () => string,
307-
VCV_SHOW_FEEDBACK_FORM: () => boolean,
308307
VCV_SHOW_INITIAL_HELPERS: () => string,
309308
VCV_SHOW_DATA_COLLECTION_POPUP: () => boolean,
310309
VCV_HUB_GET_ELEMENTS: () => HubElements,

public/editor/stores/editorPopup/slice.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ const getActivePopup = (popupData: Popups): string => {
3232

3333
const initialState: popupStore = {
3434
popups: {
35-
votePopup: {
36-
visible: dataManager?.get('showFeedbackForm'),
37-
priority: 1
38-
},
3935
pricingPopup: {
4036
visible: !!dataManager?.get('showPricingPopup'),
4137
priority: 4

0 commit comments

Comments
 (0)