Altinn / app-frontend-react

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

Improve design for groups so they handle groups within groups better #202

Open Febakke opened 4 years ago

Febakke commented 4 years ago

Description

Our design for our repeating groups do not handle groups in groups very well. We need a solution where the app developer can add multiple groups within groups without breaking the design. If there is no quick fix for the current design, we need to either redo the design of our groups to better manage groups in groups or make an "advanced" version for more complex tables and groups.

Screenshots

Screenshots or links to Figma (make sure your sketch is public)

Considerations

Acceptance criteria

Describe criteria here (i.e. What is allowed/not allowed (negative tesing), validations, error messages and warnings etc.)

Specification tasks

Development tasks

Add tasks here

Definition of done

Verify that this issue meets DoD (Only for project members) before closing.

altinnadmin commented 4 years ago

If there is no quick fix for the current design, the whole design needs to be redesigned with this issue in mind.

One alternative to consider is creating a new alternative "advanced" design, more suited to very complicated forms with large tables and groups within groups.

bjosttveit commented 1 year ago

Is this issue still relevant or can it be closed?

image
altinnadmin commented 1 year ago

Is this issue still relevant or can it be closed?

@bjosttveit Nice, looks promising :)

Is "repeating groups within repeating groups" documented somewhere? Limitations?

bjosttveit commented 1 year ago

Could not find anything specifically about this in the docs. One limitation which has been there since the beginning is maximum 2 "levels" of nested repeating groups. I just figured we could maybe close this issue since the design has changed many times since this issue was created and may not be relevant anymore.

altinnadmin commented 1 year ago

Yeah, not even sure how this look "way back then" when @Febakke registered this issue almost 3 years ago, since no screenshot was provided.