From 8fb1a3824a92942f1c05524d0ede5c27c4b6d90f Mon Sep 17 00:00:00 2001 From: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com> Date: Fri, 23 Oct 2020 09:06:41 -0600 Subject: [PATCH] Add Explore Tags for Signed-In Users (#11022) [deploy] * Adds an Explore Tag section for logged in users - Logged in users who follow no tags are shown Explore Tags - Links to the /tags page - Shows top 5 tags below Explore Tags header * WIP: Adds a test around logged in users who do not follow tags * Refactors spec to test Explore Tags functionality and adjusts id in _sidebar_nav * Replaces cog svg with linked header * Implements design suggestions for Explore and adjusts test --- app/views/articles/_sidebar_nav.html.erb | 50 +++++++++++++------ .../homepage/user_visits_homepage_spec.rb | 12 +++++ 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/app/views/articles/_sidebar_nav.html.erb b/app/views/articles/_sidebar_nav.html.erb index 063d4936b..0c7f8a29b 100644 --- a/app/views/articles/_sidebar_nav.html.erb +++ b/app/views/articles/_sidebar_nav.html.erb @@ -45,7 +45,8 @@