Commit 64d4fffe authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'update-whats-new-drawer-text' into 'master'

Update text of whats new drawer

See merge request gitlab-org/gitlab!51422
parents 9294ac4d 0b60384e
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
@close="closeDrawer" @close="closeDrawer"
> >
<template #header> <template #header>
<h4 class="page-title gl-my-2">{{ __("What's new at GitLab") }}</h4> <h4 class="page-title gl-my-2">{{ __("What's new") }}</h4>
</template> </template>
<template v-if="features.length"> <template v-if="features.length">
<gl-infinite-scroll <gl-infinite-scroll
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
- if ::Feature.enabled?(:whats_new_drawer, current_user) - if ::Feature.enabled?(:whats_new_drawer, current_user)
%li %li
%button.gl-justify-content-space-between.gl-align-items-center.js-whats-new-trigger{ type: 'button', data: { storage_key: whats_new_storage_key }, class: 'gl-display-flex!' } %button.gl-justify-content-space-between.gl-align-items-center.js-whats-new-trigger{ type: 'button', data: { storage_key: whats_new_storage_key }, class: 'gl-display-flex!' }
= _("See what's new at GitLab") = _("What's new")
%span.js-whats-new-notification-count.whats-new-notification-count %span.js-whats-new-notification-count.whats-new-notification-count
= whats_new_most_recent_release_items_count = whats_new_most_recent_release_items_count
- else - else
%li %li
= link_to _("See what's new at GitLab"), "#{promo_url}/releases/gitlab-com/", target: '_blank', rel: 'noopener noreferrer', data: { track_event: 'click_whats_new', track_property: 'question_menu' } = link_to _("What's new"), "#{promo_url}/releases/gitlab-com/", target: '_blank', rel: 'noopener noreferrer', data: { track_event: 'click_whats_new', track_property: 'question_menu' }
---
title: Update what's new UI text
merge_request: 51422
author:
type: other
...@@ -19,10 +19,10 @@ RSpec.describe "renders a `whats new` dropdown item", :js do ...@@ -19,10 +19,10 @@ RSpec.describe "renders a `whats new` dropdown item", :js do
find('.header-help-dropdown-toggle').click find('.header-help-dropdown-toggle').click
expect(page).to have_button(text: "See what's new at GitLab") expect(page).to have_button(text: "What's new")
expect(page).to have_selector('.js-whats-new-notification-count') expect(page).to have_selector('.js-whats-new-notification-count')
find('button', text: "See what's new at GitLab").click find('button', text: "What's new").click
end end
find('.whats-new-drawer .gl-drawer-close-button').click find('.whats-new-drawer .gl-drawer-close-button').click
...@@ -30,7 +30,7 @@ RSpec.describe "renders a `whats new` dropdown item", :js do ...@@ -30,7 +30,7 @@ RSpec.describe "renders a `whats new` dropdown item", :js do
page.within '.header-help' do page.within '.header-help' do
expect(page).not_to have_selector('.notification-dot', visible: true) expect(page).not_to have_selector('.notification-dot', visible: true)
expect(page).to have_button(text: "See what's new at GitLab") expect(page).to have_button(text: "What's new")
expect(page).not_to have_selector('.js-whats-new-notification-count') expect(page).not_to have_selector('.js-whats-new-notification-count')
end end
end end
......
...@@ -25305,9 +25305,6 @@ msgstr "" ...@@ -25305,9 +25305,6 @@ msgstr ""
msgid "See vulnerability %{vulnerability_link} for any Solution details." msgid "See vulnerability %{vulnerability_link} for any Solution details."
msgstr "" msgstr ""
msgid "See what's new at GitLab"
msgstr ""
msgid "Select" msgid "Select"
msgstr "" msgstr ""
...@@ -31815,7 +31812,7 @@ msgstr "" ...@@ -31815,7 +31812,7 @@ msgstr ""
msgid "What is your job title? (optional)" msgid "What is your job title? (optional)"
msgstr "" msgstr ""
msgid "What's new at GitLab" msgid "What's new"
msgstr "" msgstr ""
msgid "What’s your experience level?" msgid "What’s your experience level?"
......
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