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.
Problem/Motivation
As it was proposed in #2829671: Implement edit perspectives with tabs when editing, comment #66, we should introduce the number of elements displayed directly on tab next to the perspective name. This would increase user overview of the content and plugins, and user experience.
Proposed resolution
Count function should be done in front-end, with JS.
Comments
Comment #2
njagojevic CreditAttribution: njagojevic commentedWorking on it.
Comment #3
drobnjak CreditAttribution: drobnjak at MD Systems GmbH commentedMy mistake is that I didn't mention that this issue requires previous work on paragraphs and paragraphs experimental widget experience. It is not recommended for new Drupal developers.
Comment #4
miro_dietikerIf it requires previous work, then postpone it. But you should always ass a link to the dependency we are waiting for.
Also this is very much a minor aspect.
I'm not even sure if we will do it.
If the tabs are only visible if they contain something, the counter is not important. Core also has no field counter.
Once the tab improvements progressed to an acceptable ux point, we might drop this issue.
Comment #5
drobnjak CreditAttribution: drobnjak at MD Systems GmbH commentedComment #6
miro_dietikerWe only show the tabs if they are relevant. So if you see the tabs, you have reason to use them.
Visible count doesn't provide more value.