Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
109 stars 73 forks source link

12716 auto open parent components on drop #12962

Closed Jondyr closed 2 weeks ago

Jondyr commented 2 weeks ago

Description

To make this behaviour feel consistent these are the changes done:

This way, when either a new item is added through drag and drop or by button on the parent element (as described in #12038), the added element should be visible and expanded if applicable.

Related Issues

Verification

Documentation

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.47%. Comparing base (396c405) to head (e828356).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12962 +/- ## ======================================= Coverage 91.46% 91.47% ======================================= Files 1400 1401 +1 Lines 19821 19839 +18 Branches 2395 2397 +2 ======================================= + Hits 18130 18148 +18 Misses 1427 1427 Partials 264 264 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.