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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
7569010b
Commit
7569010b
authored
Aug 25, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests and last push widget
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c11e4314
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
8 deletions
+20
-8
CHANGELOG
CHANGELOG
+1
-0
app/views/dashboard/projects/starred.html.haml
app/views/dashboard/projects/starred.html.haml
+1
-1
app/views/dashboard/show.html.haml
app/views/dashboard/show.html.haml
+3
-0
app/views/events/_event_last_push.html.haml
app/views/events/_event_last_push.html.haml
+1
-1
features/dashboard/dashboard.feature
features/dashboard/dashboard.feature
+6
-2
features/dashboard/event_filters.feature
features/dashboard/event_filters.feature
+4
-4
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
CHANGELOG
View file @
7569010b
...
@@ -14,6 +14,7 @@ v 8.0.0 (unreleased)
...
@@ -14,6 +14,7 @@ v 8.0.0 (unreleased)
- Create cross-reference for closing references on commits pushed to non-default branches (Maël Valais)
- Create cross-reference for closing references on commits pushed to non-default branches (Maël Valais)
- Ability to search milestones
- Ability to search milestones
- Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries (Stan Hu)
- Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries (Stan Hu)
- Move dashboard activity to separate page
v 7.14.1 (unreleased)
v 7.14.1 (unreleased)
- Only include base URL in OmniAuth full_host parameter (Stan Hu)
- Only include base URL in OmniAuth full_host parameter (Stan Hu)
...
...
app/views/dashboard/projects/starred.html.haml
View file @
7569010b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
%section
.activities.col-md-8
%section
.activities.col-md-8
=
render
'dashboard/activities'
=
render
'dashboard/activities'
%aside
.col-md-4
%aside
.col-md-4
.panel.panel-default
.panel.panel-default
.projects-list-holder
.panel-heading.clearfix
.panel-heading.clearfix
.input-group
.input-group
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
...
...
app/views/dashboard/show.html.haml
View file @
7569010b
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
=
render
'dashboard/projects_head'
=
render
'dashboard/projects_head'
-
if
@last_push
=
render
"events/event_last_push"
,
event:
@last_push
-
if
@projects
.
any?
-
if
@projects
.
any?
=
render
'projects'
=
render
'projects'
-
else
-
else
...
...
app/views/events/_event_last_push.html.haml
View file @
7569010b
...
@@ -9,6 +9,6 @@
...
@@ -9,6 +9,6 @@
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
.pull-right
.pull-right
=
link_to
new_mr_path_from_push_event
(
event
),
title:
"New Merge Request"
,
class:
"btn btn-
create
btn-sm"
do
=
link_to
new_mr_path_from_push_event
(
event
),
title:
"New Merge Request"
,
class:
"btn btn-
info
btn-sm"
do
Create Merge Request
Create Merge Request
%hr
%hr
features/dashboard/dashboard.feature
View file @
7569010b
...
@@ -10,6 +10,10 @@ Feature: Dashboard
...
@@ -10,6 +10,10 @@ Feature: Dashboard
Scenario
:
I
should see projects list
Scenario
:
I
should see projects list
Then
I should see
"New Project"
link
Then
I should see
"New Project"
link
Then
I should see
"Shop"
project link
Then
I should see
"Shop"
project link
@javascript
Scenario
:
I
should see activity list
And
I visit dashboard activity page
Then
I should see project
"Shop"
activity feed
Then
I should see project
"Shop"
activity feed
Scenario
:
I
should see groups list
Scenario
:
I
should see groups list
...
@@ -26,12 +30,12 @@ Feature: Dashboard
...
@@ -26,12 +30,12 @@ Feature: Dashboard
@javascript
@javascript
Scenario
:
I
should see User joined Project event
Scenario
:
I
should see User joined Project event
Given
user with name
"John Doe"
joined project
"Shop"
Given
user with name
"John Doe"
joined project
"Shop"
When
I visit dashboard page
When
I visit dashboard
activity
page
Then
I should see
"John Doe joined project Shop"
event
Then
I should see
"John Doe joined project Shop"
event
@javascript
@javascript
Scenario
:
I
should see User left Project event
Scenario
:
I
should see User left Project event
Given
user with name
"John Doe"
joined project
"Shop"
Given
user with name
"John Doe"
joined project
"Shop"
And
user with name
"John Doe"
left project
"Shop"
And
user with name
"John Doe"
left project
"Shop"
When
I visit dashboard page
When
I visit dashboard
activity
page
Then
I should see
"John Doe left project Shop"
event
Then
I should see
"John Doe left project Shop"
event
features/dashboard/event_filters.feature
View file @
7569010b
...
@@ -6,7 +6,7 @@ Feature: Event Filters
...
@@ -6,7 +6,7 @@ Feature: Event Filters
And
this project has push event
And
this project has push event
And
this project has new member event
And
this project has new member event
And
this project has merge request event
And
this project has merge request event
And
I visit dashboard page
And
I visit dashboard
activity
page
@javascript
@javascript
Scenario
:
I
should see all events
Scenario
:
I
should see all events
...
@@ -16,7 +16,7 @@ Feature: Event Filters
...
@@ -16,7 +16,7 @@ Feature: Event Filters
@javascript
@javascript
Scenario
:
I
should see only pushed events
Scenario
:
I
should see only pushed events
When
I click
"push"
event filter
When
I click
"push"
event filter
Then
I should see push event
Then
I should see push event
And
I should not see new member event
And
I should not see new member event
And
I should not see merge request event
And
I should not see merge request event
...
@@ -38,11 +38,11 @@ Feature: Event Filters
...
@@ -38,11 +38,11 @@ Feature: Event Filters
@javascript
@javascript
Scenario
:
I
should see only selected events while page reloaded
Scenario
:
I
should see only selected events while page reloaded
When
I click
"push"
event filter
When
I click
"push"
event filter
And
I visit dashboard page
And
I visit dashboard
activity
page
Then
I should see push event
Then
I should see push event
And
I should not see new member event
And
I should not see new member event
When
I click
"team"
event filter
When
I click
"team"
event filter
And
I visit dashboard page
And
I visit dashboard
activity
page
Then
I should see push event
Then
I should see push event
And
I should see new member event
And
I should see new member event
And
I should not see merge request event
And
I should not see merge request event
...
...
features/steps/shared/paths.rb
View file @
7569010b
...
@@ -71,6 +71,10 @@ module SharedPaths
...
@@ -71,6 +71,10 @@ module SharedPaths
visit
dashboard_path
visit
dashboard_path
end
end
step
'I visit dashboard activity page'
do
visit
activity_dashboard_path
end
step
'I visit dashboard projects page'
do
step
'I visit dashboard projects page'
do
visit
projects_dashboard_path
visit
projects_dashboard_path
end
end
...
...
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