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
44742352
Commit
44742352
authored
Jan 14, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
e1baf28f
3e9c9f97
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
PROCESS.md
PROCESS.md
+1
-1
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+24
-0
No files found.
PROCESS.md
View file @
44742352
...
@@ -56,7 +56,7 @@ Below we describe the contributing process to GitLab for two reasons:
...
@@ -56,7 +56,7 @@ Below we describe the contributing process to GitLab for two reasons:
Several people from the
[
GitLab team
][
team
]
are helping community members to get
Several people from the
[
GitLab team
][
team
]
are helping community members to get
their contributions accepted by meeting our
[
Definition of done
][
done
]
.
their contributions accepted by meeting our
[
Definition of done
][
done
]
.
What you can expect from them is described at https://about.gitlab.com/
roles
/merge-request-coach/.
What you can expect from them is described at https://about.gitlab.com/
job-families/expert
/merge-request-coach/.
### Milestones on community contribution issues
### Milestones on community contribution issues
...
...
app/views/projects/_home_panel.html.haml
View file @
44742352
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
=
sprite_icon
(
'tag'
,
size:
16
,
css_class:
'icon append-right-4'
)
=
sprite_icon
(
'tag'
,
size:
16
,
css_class:
'icon append-right-4'
)
=
@project
.
topics_to_show
=
@project
.
topics_to_show
-
if
@project
.
has_extra_topics?
-
if
@project
.
has_extra_topics?
=
_
(
"+ %{count} more"
)
%
{
count:
@project
.
count_of_extra_t
ag
s_not_shown
}
=
_
(
"+ %{count} more"
)
%
{
count:
@project
.
count_of_extra_t
opic
s_not_shown
}
.project-repo-buttons.col-md-12.col-lg-6.d-inline-flex.flex-wrap.justify-content-lg-end
.project-repo-buttons.col-md-12.col-lg-6.d-inline-flex.flex-wrap.justify-content-lg-end
...
...
spec/features/projects_spec.rb
View file @
44742352
...
@@ -99,6 +99,30 @@ describe 'Project' do
...
@@ -99,6 +99,30 @@ describe 'Project' do
end
end
end
end
describe
'project topics'
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:path
)
{
project_path
(
project
)
}
before
do
sign_in
(
create
(
:admin
))
visit
path
end
it
'shows project topics'
do
project
.
update_attribute
(
:tag_list
,
'topic1'
)
visit
path
expect
(
page
).
to
have_css
(
'.project-topic-list'
)
expect
(
page
).
to
have_content
(
'topic1'
)
end
it
'shows up to 3 project tags'
do
project
.
update_attribute
(
:tag_list
,
'topic1, topic2, topic3, topic4'
)
visit
path
expect
(
page
).
to
have_css
(
'.project-topic-list'
)
expect
(
page
).
to
have_content
(
'topic1, topic2, topic3 + 1 more'
)
end
end
describe
'copy clone URL to clipboard'
,
:js
do
describe
'copy clone URL to clipboard'
,
:js
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:path
)
{
project_path
(
project
)
}
let
(
:path
)
{
project_path
(
project
)
}
...
...
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