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

12571 add endpoint to delete layout set #12598

Merged
merged 11 commits into from
Apr 4, 2024

Conversation

standeren
Copy link
Contributor

@standeren standeren commented Mar 27, 2024

Description

Add endpoint that deletes a given layoutset in backend

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

@github-actions github-actions bot added area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). solution/studio/designer Issues related to the Altinn Studio Designer solution. quality/testing Tests that are missing, needs to be created or could be improved. labels Mar 27, 2024
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.70%. Comparing base (1f719df) to head (753e181).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12598   +/-   ##
=======================================
  Coverage   88.70%   88.70%           
=======================================
  Files        1289     1290    +1     
  Lines       18523    18534   +11     
  Branches     2269     2269           
=======================================
+ Hits        16430    16441   +11     
  Misses       1835     1835           
  Partials      258      258           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@standeren standeren force-pushed the 12571-add-endpoint-to-delete-layout-set branch from cf5078e to c8f7e24 Compare March 27, 2024 11:05
@standeren standeren force-pushed the 12571-add-endpoint-to-delete-layout-set branch 2 times, most recently from fc429e9 to 4ff6fd1 Compare April 2, 2024 12:07
@standeren standeren linked an issue Apr 2, 2024 that may be closed by this pull request
@standeren standeren marked this pull request as ready for review April 2, 2024 12:17
@mirkoSekulic
Copy link
Collaborator

The issue is that we have 2 LayoutSets models in our solution now. Altinn.Studio.Designer.Models.LayoutSets and
Altinn.Studio.Designer.Models.App.LayoutSets

@standeren
Copy link
Contributor Author

The issue is that we have 2 LayoutSets models in our solution now. Altinn.Studio.Designer.Models.LayoutSets and Altinn.Studio.Designer.Models.App.LayoutSets

Hm, okey, where is the latter used? And do we need both? 🤔

@standeren standeren force-pushed the 12571-add-endpoint-to-delete-layout-set branch from c39caf2 to 73a9c97 Compare April 4, 2024 12:48
@standeren standeren force-pushed the 12571-add-endpoint-to-delete-layout-set branch from 6eea09e to 753e181 Compare April 4, 2024 13:14
@standeren standeren merged commit 66093ad into main Apr 4, 2024
17 checks passed
@standeren standeren deleted the 12571-add-endpoint-to-delete-layout-set branch April 4, 2024 13:29
Jondyr pushed a commit that referenced this pull request Jun 10, 2024
* Add endpoint to delete layout set

* Delete task id ref if layout set had a connected datatype and add tests

* Add test for deleteMutation

* Add new keyword to sets in layoutsets model

* compare json content instead of objects

* Delete App LayoutSets model

* Do not remove selected layout set from local storage upon deletion

---------

Co-authored-by: Mirko Sekulic <misha.sekulic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). quality/testing Tests that are missing, needs to be created or could be improved. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add endpoint to delete layout set
2 participants