Altinn / altinn-studio

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

Implement new design for pages view #11165

Closed nkylstad closed 11 months ago

nkylstad commented 11 months ago

Description

In scope

Out of scope

Figma

The UX design for this task can be found on this figma link.

Screenshots

Image

Additional information

Note that we are not implementing a modal for adding components at this stage. Add page will probably be implemented as-is today.

### Tasks
- [ ] https://github.com/Altinn/altinn-studio/issues/11233
- [ ] https://github.com/Altinn/altinn-studio/issues/11198
- [ ] https://github.com/Altinn/altinn-studio/issues/11232
- [x] Show all pages at once
- [x] Wrap each page in accordion containing components
- [x] Disable component preview for those components that have it
- [x] Move button to add receipt page to pages view
### Acceptance Criteria
- [ ] Dialog for delete component works in the same way as before
- [ ] Possible to drag-n-drop components from toolbar and into pages
- [ ] Possible to add a page
- [ ] Possible to delete a page
- [ ] Possible to rename a page
JamalAlabdullah commented 11 months ago

I have tested it and I wonder if the activ frame page will be for the entire row including threedot menu, or nor? because the left side is not shown when the page is clicked.

Image

ghost commented 11 months ago

@JamalAlabdullah, thank you for pointing this out.

It will not be for the entire row as the three dot menu is its own button component 😄 As for the yellow line, this is a known issue on the entire page for all the accordions as the photo below shows. I have created an issue for it so that it can be fixed for the entire page in one go 🙂

Image

Image