Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0b60384e
Commit
0b60384e
authored
Jan 15, 2021
by
Marcel Amirault
Committed by
Martin Wortschack
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update text of whats new drawer
Change new at GitLab to new in GitLab
parent
bc2401db
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
app/assets/javascripts/whats_new/components/app.vue
app/assets/javascripts/whats_new/components/app.vue
+1
-1
ee/app/views/layouts/header/_whats_new_dropdown_item.html.haml
...p/views/layouts/header/_whats_new_dropdown_item.html.haml
+2
-2
ee/changelogs/unreleased/update-whats-new-drawer-text.yml
ee/changelogs/unreleased/update-whats-new-drawer-text.yml
+5
-0
ee/spec/features/whats_new_spec.rb
ee/spec/features/whats_new_spec.rb
+3
-3
locale/gitlab.pot
locale/gitlab.pot
+1
-4
No files found.
app/assets/javascripts/whats_new/components/app.vue
View file @
0b60384e
...
...
@@ -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
...
...
ee/app/views/layouts/header/_whats_new_dropdown_item.html.haml
View file @
0b60384e
...
...
@@ -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'
}
ee/changelogs/unreleased/update-whats-new-drawer-text.yml
0 → 100644
View file @
0b60384e
---
title
:
Update what's new UI text
merge_request
:
51422
author
:
type
:
other
ee/spec/features/whats_new_spec.rb
View file @
0b60384e
...
...
@@ -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
...
...
locale/gitlab.pot
View file @
0b60384e
...
...
@@ -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?"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment