-
Notifications
You must be signed in to change notification settings - Fork 74
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
Automatically delete all Summary 2.0 components that has a reference to deleted element (component, page or layout-set). #13525
Comments
Some questions we might want to consider: Or do we need to say anything at all? Isn’t it obvious to the user that it will also disappear from the summary? Do we need to show it at all? Maybe you have any thoughts at this @Ildest |
For now, I think that as long as the warning before you delete (general message) is clear on what´s going to happen, we don´t need to say/show anything else. |
Split in multiple tasks. If Summary2 is connected to:
If Summary2 has component overrides:
|
Done 🙂 #14126 |
User Story
As a user, I can delete a component that is referenced within a Summary 2.0 component. When I delete the referenced component in Studio, Studio should automatically delete all Summary 2.0 components that reference the deleted component. I expect the same behaviour when deleting pages and layout sets that are referenced in the Summary 2.0 component.
As a user, I should receive a confirmation message before the deletion occurs, informing me of the deletion and its consequences if I as user proceed/confirm the deletion.
Purpose of the User Story
The studio/designer should serve as a helpful tool for "tjenesteutvikler" to develop "tjenester" without the need to manually track and synchronize references between components and files, which is an implementation detail.
Technical Requirements
The backend should handle updating all necessary files and notify the frontend via web sockets. This will allow the frontend to invalidate queries as needed.
Note: we must do NOT make multiple mutation requests from the frontend, the backend should handle it as described above.
Acceptance criteria
The text was updated successfully, but these errors were encountered: