Let's show the number of results in the tab titles eg "Wikis (0)" so that users can avoid "pogo-sticking" where they click each tab only to discover that there's no content in the tab.

We can likely do this with an implementation of hook_quicktabs_alter().


ezra-g’s picture

It would be ideal to not execute each view twice (once for the result count and once for the tab title).

erikwebb’s picture

The "Wikis (0)" use case addresses small communities. We should also consider the case where it is a large community and a user wants to see where all of the recent activity has been taking place. From a UX perspective, maybe it could say "Wikis (2 new)" for logged in users.

ezra-g’s picture

I think that showing only new content is the motivation behind the "Mark as read" flag that was recently added to the interactive prototype -- I'll file an issue to capture that functionality.

ezra-g’s picture

Status: Active » Fixed

Following #894746: Allow HTML in tab titles I've updated the Commons make file to Quicktabs 7.x-3.x-dev - http://drupalcode.org/project/commons.git/commit/61d3b5a

This is fixed in Commons_BW with http://drupalcode.org/project/commons_bw.git/commit/b4a3315 -- We'll be profiling Commons so that we can assess whether this presents a significant performance problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.