Fix scroll problems and disable authorized_only filter

Signed-off-by: 's avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 7b792af8
......@@ -4,10 +4,6 @@ html {
&.touch .tooltip { display: none !important; }
}
body {
padding-bottom: 20px;
}
.container {
padding-top: 0;
z-index: 5;
......
......@@ -3,7 +3,6 @@
}
.sidebar-wrapper {
z-index: 1000;
overflow-y: auto;
background: #F5F5F5;
}
......
......@@ -252,7 +252,11 @@ class ApplicationController < ActionController::Base
elsif @group
@filter_params[:group_id] = @group.id
else
@filter_params[:authorized_only] = true
# TODO: this filter ignore issues/mr created in public or
# internal repos where you are not a member. Enable this filter
# or improve current implementation to filter only issues you
# created or assigned or mentioned
#@filter_params[:authorized_only] = true
unless @filter_params[:assignee_id]
@filter_params[:assignee_id] = current_user.id
......
......@@ -39,14 +39,20 @@ class Spinach::Features::DashboardMergeRequests < Spinach::FeatureSteps
end
step 'I click "Authored by me" link' do
within ".scope-filter" do
click_link 'Created by me'
within ".assignee-filter" do
click_link "Any"
end
within ".author-filter" do
click_link current_user.name
end
end
step 'I click "All" link' do
within ".scope-filter" do
click_link "Everyone's"
within ".author-filter" do
click_link "Any"
end
within ".assignee-filter" do
click_link "Any"
end
end
......
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