Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Summary-2 configuration for component, page and layout-set. #13519

Open
4 tasks
Tracked by #13508
framitdavid opened this issue Sep 11, 2024 · 0 comments · May be fixed by #13573
Open
4 tasks
Tracked by #13508

Support Summary-2 configuration for component, page and layout-set. #13519

framitdavid opened this issue Sep 11, 2024 · 0 comments · May be fixed by #13573
Labels
area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. status/ready-for-dev Status: Used for issues that are ready for development. Has been through grooming.

Comments

@framitdavid
Copy link
Collaborator

framitdavid commented Sep 11, 2024

User Story

As a user, I want the ability to configure the type of summary I need. I should be able to select from the following options: component, page, or layoutset, and configure the relevant settings based on the selected type.

Specifications

We need an interface for the user to select which type of summary they want, component, page, or layoutset. Then we need an interface that chooses the preferred referenced element to have Summary for.

Type as Component

If the chosen type is a component the user needs to provide the component ID they want to have Summary for. The config looks like this:

 "target": {
    "type": "component",
    "id": "MyInputFieldID"
  }

Type as Page

If the chosen type is a page the user needs to provide the layout file name they want to have Summary for. The config looks like this:

"target": {
   "type": "page",
   "id": "MyLayoutFilename"
}

Type as layoutSet

If the chosen type is a layoutSet, the user should not provide which layout-set, since it automatically collects the layout-set for the current task or specific task if provided.

"target": {
    "type": "layoutSet",
 }

Acceptance criteria

  • I as a user can add a summary for type component
  • I as a user can add a summary for type page
  • I as a user can add a summary for type layout-set
  • The component is hidden behind a feature flag.
@framitdavid framitdavid changed the title Support simple configuration of Summary-2 component Support Summary-2 configuration for component, page and layout-set. Sep 11, 2024
@framitdavid framitdavid added status/ready-for-dev Status: Used for issues that are ready for development. Has been through grooming. area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. area/ui-component labels Sep 11, 2024
@Jondyr Jondyr self-assigned this Sep 18, 2024
@Jondyr Jondyr removed their assignment Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. status/ready-for-dev Status: Used for issues that are ready for development. Has been through grooming.
Projects
Status: 🔎 Review
3 participants