Content
View differences
Updated by Parimal Satyal 9 months ago
### Steps to reproduce
1. Login as a user with permissions to delete WPs
2. Go to the Wps page
3. Select a some of the Wps to be deleted
4. bulk delete them
### What is the buggy behavior?
* Wps list is misaligned
### What is the expected behavior?
* We should use the Primer DangerWarning component, with the list of work packages in an [insetBox](https://qa.openproject-edge.com/lookbook/pages/components/inset_box). insetBox.
* \[open\] Use the same pattern as for bulk delete projects, except with a DangerWarning (no checkbox confirmation): <mention class="mention" data-id="64885" data-type="work_package" data-text="##64885">##64885</mention>
* DangerWarning Dialog:
* Title: "Permanently delete these work packages?"
* Text: "Are you sure you want package info line to delete display the following work packages?"
* Body: List list of work packages in an [insetBox](https://qa.openproject-edge.com/lookbook/pages/components/inset_box); use [Work Package Info Line](https://qa.openproject-edge.com/lookbook/pages/components/work_package_info_line) for listing work packages, but without the status
* Buttons:
* Cancel
* Delete permanently (danger)
packages?
### Screenshots and other files
**Current:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/713629/content">
**Expected:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:667px;" src="/api/v3/attachments/781427/content"> <br>
1. Login as a user with permissions to delete WPs
2. Go to the Wps page
3. Select a some of the Wps to be deleted
4. bulk delete them
### What is the buggy behavior?
* Wps list is misaligned
### What is the expected behavior?
* We should use the Primer DangerWarning component, with the list of work packages in an [insetBox](https://qa.openproject-edge.com/lookbook/pages/components/inset_box).
*
* DangerWarning Dialog:
* Title: "Permanently delete these work packages?"
* Text: "Are you sure you want
* Body: List
* Buttons:
* Cancel
* Delete permanently (danger)
**Current:**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/713629/content">
**Expected:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:667px;" src="/api/v3/attachments/781427/content">