Commit 0b60384e authored by Marcel Amirault's avatar Marcel Amirault Committed by Martin Wortschack

Update text of whats new drawer

Change new at GitLab to new in GitLab
parent bc2401db
......@@ -95,7 +95,7 @@ export default {
@close="closeDrawer"
>
<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 v-if="features.length">
<gl-infinite-scroll
......
......@@ -2,9 +2,9 @@
- if ::Feature.enabled?(:whats_new_drawer, current_user)
%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!' }
= _("See what's new at GitLab")
= _("What's new")
%span.js-whats-new-notification-count.whats-new-notification-count
= whats_new_most_recent_release_items_count
- else
%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
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')
find('button', text: "See what's new at GitLab").click
find('button', text: "What's new").click
end
find('.whats-new-drawer .gl-drawer-close-button').click
......@@ -30,7 +30,7 @@ RSpec.describe "renders a `whats new` dropdown item", :js do
page.within '.header-help' do
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')
end
end
......
......@@ -25305,9 +25305,6 @@ msgstr ""
msgid "See vulnerability %{vulnerability_link} for any Solution details."
msgstr ""
msgid "See what's new at GitLab"
msgstr ""
msgid "Select"
msgstr ""
......@@ -31815,7 +31812,7 @@ msgstr ""
msgid "What is your job title? (optional)"
msgstr ""
msgid "What's new at GitLab"
msgid "What's new"
msgstr ""
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