Commit e721427a authored by Alper Akgun's avatar Alper Akgun

Remove feedback link in discover security point

Changelog: removed
EE: true
parent 092feebd
...@@ -881,7 +881,6 @@ $security-and-compliance-carousel-image-carousel-width: 1000px; ...@@ -881,7 +881,6 @@ $security-and-compliance-carousel-image-carousel-width: 1000px;
$security-and-compliance-carousel-image-discover-button-width: 45%; $security-and-compliance-carousel-image-discover-button-width: 45%;
$security-and-compliance-carousel-image-discover-buttons-max-width: 280px; $security-and-compliance-carousel-image-discover-buttons-max-width: 280px;
$security-and-compliance-carousel-image-discover-footer-max-width: 500px; $security-and-compliance-carousel-image-discover-footer-max-width: 500px;
$security-and-compliance-carousel-image-discover-feedback-width: 30%;
$security-and-compliance-carousel-image-discover-text-carousel-max-width: 650px; $security-and-compliance-carousel-image-discover-text-carousel-max-width: 650px;
$security-and-compliance-carousel-image-discover-text-carousel-caption-height: 100%; $security-and-compliance-carousel-image-discover-text-carousel-caption-height: 100%;
$security-and-compliance-carousel-image-discover-text-carousel-caption-max-width: 500px; $security-and-compliance-carousel-image-discover-text-carousel-caption-max-width: 500px;
......
...@@ -50,11 +50,6 @@ export default { ...@@ -50,11 +50,6 @@ export default {
required: false, required: false,
default: '', default: '',
}, },
linkFeedback: {
type: String,
required: false,
default: '',
},
}, },
data() { data() {
return { return {
...@@ -90,7 +85,6 @@ export default { ...@@ -90,7 +85,6 @@ export default {
discoverTitle: s__( discoverTitle: s__(
'Discover|Security capabilities, integrated into your development lifecycle', 'Discover|Security capabilities, integrated into your development lifecycle',
), ),
discoverFeedbackLabel: s__('Discover|Send feedback'),
discoverUpgradeLabel: s__('Discover|Upgrade now'), discoverUpgradeLabel: s__('Discover|Upgrade now'),
discoverTrialLabel: s__('Discover|Start a free trial'), discoverTrialLabel: s__('Discover|Start a free trial'),
carouselCaptions: [ carouselCaptions: [
...@@ -189,20 +183,5 @@ export default { ...@@ -189,20 +183,5 @@ export default {
{{ $options.i18n.discoverTrialLabel }} {{ $options.i18n.discoverTrialLabel }}
</gl-button> </gl-button>
</div> </div>
<div id="tooltipcontainer" class="discover-feedback gl-fixed">
<gl-button
class="discover-button-feedback"
category="secondary"
variant="default"
target="_blank"
rel="noopener noreferrer"
data-track-action="click_button"
data-track-label="security-discover-feedback-cta"
:data-track-property="slide"
:href="linkFeedback"
>
{{ $options.i18n.discoverFeedbackLabel }}
</gl-button>
</div>
</div> </div>
</template> </template>
...@@ -11,7 +11,6 @@ export default () => { ...@@ -11,7 +11,6 @@ export default () => {
projectName, projectName,
linkMain, linkMain,
linkSecondary, linkSecondary,
linkFeedback,
namespaceId, namespaceId,
userName, userName,
firstName, firstName,
...@@ -30,7 +29,6 @@ export default () => { ...@@ -30,7 +29,6 @@ export default () => {
}, },
linkMain, linkMain,
linkSecondary, linkSecondary,
linkFeedback,
}; };
return new Vue({ return new Vue({
......
...@@ -42,13 +42,6 @@ ...@@ -42,13 +42,6 @@
max-width: $security-and-compliance-carousel-image-discover-footer-max-width; max-width: $security-and-compliance-carousel-image-discover-footer-max-width;
} }
.discover-feedback {
width: $security-and-compliance-carousel-image-discover-feedback-width;
bottom: $gl-spacing-scale-5;
right: $gl-spacing-scale-5;
text-align: right;
}
.discover-text-carousel { .discover-text-carousel {
max-width: $security-and-compliance-carousel-image-discover-text-carousel-max-width; max-width: $security-and-compliance-carousel-image-discover-text-carousel-max-width;
......
...@@ -46,8 +46,7 @@ module Groups::SecurityFeaturesHelper ...@@ -46,8 +46,7 @@ module Groups::SecurityFeaturesHelper
}, },
link: { link: {
main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content), main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content),
secondary: group_billings_path(group.root_ancestor, source: content), secondary: group_billings_path(group.root_ancestor, source: content)
feedback: 'https://gitlab.com/gitlab-org/growth/ui-ux/issues/25'
} }
} }
......
...@@ -19,8 +19,7 @@ module Projects::Security::DiscoverHelper ...@@ -19,8 +19,7 @@ module Projects::Security::DiscoverHelper
}, },
link: { link: {
main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content), main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content),
secondary: link_upgrade, secondary: link_upgrade
feedback: 'https://gitlab.com/gitlab-org/growth/ui-ux/issues/25'
} }
} }
......
...@@ -22,7 +22,6 @@ describe('Card security discover app', () => { ...@@ -22,7 +22,6 @@ describe('Card security discover app', () => {
}, },
linkMain: '/link/main', linkMain: '/link/main',
linkSecondary: '/link/secondary', linkSecondary: '/link/secondary',
linkFeedback: 'link/feedback',
}; };
wrapper = mountFn(CardSecurityDiscoverApp, { wrapper = mountFn(CardSecurityDiscoverApp, {
localVue, localVue,
...@@ -59,10 +58,6 @@ describe('Card security discover app', () => { ...@@ -59,10 +58,6 @@ describe('Card security discover app', () => {
); );
}); });
it('renders discover feedback link properly', () => {
expect(wrapper.find('.discover-button-feedback').html()).toContain('Send feedback');
});
it('renders discover upgrade links properly', () => { it('renders discover upgrade links properly', () => {
expect(wrapper.find('.discover-button-upgrade').html()).toContain('Upgrade now'); expect(wrapper.find('.discover-button-upgrade').html()).toContain('Upgrade now');
}); });
...@@ -107,15 +102,6 @@ describe('Card security discover app', () => { ...@@ -107,15 +102,6 @@ describe('Card security discover app', () => {
property: 'sliding0-1', property: 'sliding0-1',
}); });
}); });
it('tracks an event when clicked on feedback', () => {
wrapper.find('.discover-button-feedback').trigger('click');
expect(spy).toHaveBeenCalledWith('_category_', 'click_button', {
label: 'security-discover-feedback-cta',
property: '0',
});
});
}); });
}); });
describe('Experiment pql_three_cta_test', () => { describe('Experiment pql_three_cta_test', () => {
......
...@@ -102,8 +102,7 @@ RSpec.describe Groups::SecurityFeaturesHelper do ...@@ -102,8 +102,7 @@ RSpec.describe Groups::SecurityFeaturesHelper do
}, },
link: { link: {
main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content), main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content),
secondary: group_billings_path(group.root_ancestor, source: content), secondary: group_billings_path(group.root_ancestor, source: content)
feedback: 'https://gitlab.com/gitlab-org/growth/ui-ux/issues/25'
} }
}.merge(helper.hand_raise_props(group.root_ancestor)) }.merge(helper.hand_raise_props(group.root_ancestor))
end end
......
...@@ -17,8 +17,7 @@ RSpec.describe Projects::Security::DiscoverHelper do ...@@ -17,8 +17,7 @@ RSpec.describe Projects::Security::DiscoverHelper do
}, },
link: { link: {
main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content), main: new_trial_registration_path(glm_source: 'gitlab.com', glm_content: content),
secondary: profile_billings_path(project.group, source: content), secondary: profile_billings_path(project.group, source: content)
feedback: 'https://gitlab.com/gitlab-org/growth/ui-ux/issues/25'
} }
}.merge(helper.hand_raise_props(project.root_ancestor)) }.merge(helper.hand_raise_props(project.root_ancestor))
end end
......
...@@ -12536,9 +12536,6 @@ msgstr "" ...@@ -12536,9 +12536,6 @@ msgstr ""
msgid "Discover|See the other features of the %{linkStart}ultimate plan%{linkEnd}" msgid "Discover|See the other features of the %{linkStart}ultimate plan%{linkEnd}"
msgstr "" msgstr ""
msgid "Discover|Send feedback"
msgstr ""
msgid "Discover|Start a free trial" msgid "Discover|Start a free trial"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment