Getting to /tags?


(Peter N Lewis) #1

How do you navigate to the /tags page?

It seems it used to go there when you clicked the “all tags” button, but now that just displays all the tags. I see now it asks as kind of a filter, so you need to be able to select the all tags setting.

But might I suggest a subtle UI change - if you select “all tags” while it is already configured to “all tags” that it opens the /tags page?

Otherwise is there some way for the user to actually get to this page?


(Mittineague) #2

I don’t know how others do, but I always use the link in the hamburger menu when I want to see the Tags page.


(Peter N Lewis) #3

Yes, I just spotted it there, never noticed it was there. I still think it’d be nice to get to it from the menus at the top left (same for Categories really). It’s where you first look for them since they are prominent there.


(cpradio) #4

Try adding this to your customize > css/html > in the </body> area

<script>
  Discourse.ExternalNavItem = Discourse.NavItem.extend({
    href : function() {
      return this.get('href');
    }.property('href')
  });

  I18n.translations.en.js.filters.tags = { title: "Tags", help: "View all Tags" };

  Discourse.NavItem.reopenClass({
    buildList : function(category, args) {
      var list = this._super(category, args);
      if(!category) {
        list.push(Discourse.ExternalNavItem.create({href: '/tags', name: 'tags'}));
      }
      return list;
    }
  });
</script>