Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
16 stars 27 forks source link

The user should have the possibility to navigate/expand/popup the same section(shared information) across different pages #785

Open acn-dgopa opened 2 years ago

acn-dgopa commented 2 years ago

What needs to be solved?

Some forms require that the user shares same set of information across the form (link to different object spread across different pages) which means that the same information needs to be reused across pages/sections/groups in the form. F.ex A : List of phone numbers b:List of persons c: List of address. List A is shared across different pages and linked to different object. F.ex The user fills in the form and page 1 he fills the person details and he links phone 1 to person 1,3,5. Then he navigates to page 2 and fills in all addresses and now he has the need to link address1 ,7,9 to phone 2. In such a case, we want the best possible user experience. In the real life scenario, the phone object is a complex object with f.ex 30 fields and with many repeating groups nested inside. So how can we best solve this user experience issue?

How do you want it solved?

I think that a popup with many pages can be a possible option for making it easy for the user. So the user can click when he needs a new phone object, he can click add on page 2, person 2 section or he can add when required f.ex when adding information for person10. I would like to present this problem to the UX and agree on a best possible user experience

Alternative solutions

Additional context

This issue is raised in relation to a specific requirement to MT-3 form Altinn/apps-backlog#5 F.ex in the picture below, the user needs to link a persons information with an activity/card/account etc. The user needs to have the possibility to add a new person if the list does not contain the person he needs to link to. So the person list must be available across different sections/pages in the form without creating multiple copies of the same information. image

acn-dgopa commented 2 years ago

@Febakke @mrosvik I tried to best describe the issue but may be its not very clear. I can update the issue after our meeting with more information if required

FinnurO commented 2 years ago

Forslaget er å løse dette med Altinn/altinn-studio#6068

FinnurO commented 1 year ago

Kan være relevant i forhold til behov hos Mattilsynet; hvordan vedlikeholde register hos bruker (app eller profil).

olemartinorg commented 1 year ago

It's a bit hazy to me what exactly is needed here, but as this issue is aging it might be worth looking into these features to see if they could be relevant for solving the problem: