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.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

drobnjak created an issue. See original summary.

njagojevic’s picture

Assigned: Unassigned » njagojevic

Working on it.

drobnjak’s picture

My 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.

miro_dietiker’s picture

Assigned: njagojevic » Unassigned
Priority: Normal » Minor
Status: Active » Postponed

If 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.

drobnjak’s picture

miro_dietiker’s picture

Status: Postponed » Closed (won't fix)

We 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.