summaryrefslogtreecommitdiff
path: root/app/views/explore
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-03-26 06:21:05 -0700
committerStan Hu <stanhu@gmail.com>2017-03-26 06:22:09 -0700
commit3e6d8e9101c8842325ef3680fce7c36c95f48005 (patch)
tree088f8c2d0d1a197ee110c28c2ce2c950a9b37c15 /app/views/explore
parent37b5b7a5e6907c364800f6f58d37b6c0412255da (diff)
downloadgitlab-ce-3e6d8e9101c8842325ef3680fce7c36c95f48005.tar.gz
Remove Tags filter from Projects Explore dropdown
Problems: 1. It's huge. 2. It's loaded on page load, which makes the page take 13 seconds. 3. It has a terrible UX. Closes #28992
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/projects/_filter.html.haml21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/views/explore/projects/_filter.html.haml b/app/views/explore/projects/_filter.html.haml
index 56f463572bb..f630f1effdc 100644
--- a/app/views/explore/projects/_filter.html.haml
+++ b/app/views/explore/projects/_filter.html.haml
@@ -17,24 +17,3 @@
= link_to filter_projects_path(visibility_level: level) do
= visibility_level_icon(level)
= visibility_level_label(level)
-
-- if @tags.present?
- .dropdown
- %button.dropdown-toggle{ href: '#', "data-toggle" => "dropdown" }
- = icon('tags')
- %span.light Tags:
- - if params[:tag].present?
- = params[:tag]
- - else
- Any
- = icon('chevron-down')
- %ul.dropdown-menu.dropdown-menu-align-right
- %li
- = link_to filter_projects_path(tag: nil) do
- Any
-
- - @tags.each do |tag|
- %li{ class: active_when(tag.name == params[:tag]) || 'light' }
- = link_to filter_projects_path(tag: tag.name) do
- = icon('tag')
- = tag.name