Altinn / app-template-dotnet

Altinn Studio application template
BSD 3-Clause "New" or "Revised" License
2 stars 8 forks source link

Layout-set as default in app template #159

Open RonnyB71 opened 3 years ago

RonnyB71 commented 3 years ago

Description

Moving forward we should standardize on having one way of configuring layouts in the application. Currently we have two:

  1. Layouts
  2. Layout-sets

Layout-sets is a bit more complex in it's structure but supports having multiple forms with separate layouts, and is the way we would like to go moving forward.

We should consider updating the application template to generate a default layout-set replacing todays single layoutForm.

|- App/
  |- ui/
    |- layout-sets.json
    |- skjema-a/
      |- Settings.json
      |- RuleHandler.js
      |- RuleConfiguration.js
      |- layouts/
        |- side1.json

In scope

What's in scope of this analysis?

Out of scope

What's out of scope for this analysis?

Constraints

Constraints or requirements (technical or functional) that affects this analysis.

Analysis

Conclusion

Short summary of the proposed solution.

Tasks

olemartinorg commented 1 year ago

Moving to the correct repo. This task describes swapping out the default in the app template, but we first need support for layout-sets in Studio. The most relevant issue I could find for implementing support for layout-sets in Studio is here: https://github.com/Altinn/altinn-studio/issues/2058