Skip to content

Add count to the modal for selecting a grouping (so that you can see how many values each option has) #1035

@KristinGlomsas

Description

@KristinGlomsas

Fase 2

Userstory…

When selecting a grouping in the variable box, a modal opens with an overview of the different groupings. This task involves adding a ‘count’ for each grouping that shows how many values each grouping has:

Image

In Figma, this functionality has been added as part of the radio component, but the developers will decide whether this functionality should belong to the radio component or the modal variant called Radiolist. So far, Maren has only envisioned a need for this functionality in the Radiolist modal.

Radio i Figma: https://www.figma.com/file/ZvDP2gXVnjGegz9QnFWGUg/PxWeb-2.0-Design-system?type=design&node-id=19-4040&mode=design
Modal i Figma: https://www.figma.com/file/ZvDP2gXVnjGegz9QnFWGUg/PxWeb-2.0-Design-system?type=design&node-id=11-3931&mode=design

Contactperson: @maren Knutsen

Feel free to discuss the solution with the designer, and add more acceptance criteria if relevant!

Acceptance criteria:
Should look like the sketch in Figma
Should follow the behavior description provided in Figma
In the modal where a grouping is selected, the number of values for each grouping is now displayed
Must comply with WCAG requirements at levels A and AA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions