Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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().
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedIt would be ideal to not execute each view twice (once for the result count and once for the tab title).
Comment #2
erikwebb CreditAttribution: erikwebb commentedThe "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.
Comment #3
ezra-g CreditAttribution: ezra-g commentedI 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.
Comment #4
ezra-g CreditAttribution: ezra-g commentedFollowing #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.