Content
View differences
Updated by Judith Roth almost 2 years ago
In the frontend-daily we noticed that we have an repeated pattern that we use and for which there is no "native" primer component. This is a Dialog with a success message. Currently we're using Dialogs with Blankslates, which is a "misuse" of Blankslates. If Primer Blankslates are changed in the future and no longer fit our use-case, we want to be able to easily adapt. Therefore we decided to build a custom component for this.
### Acceptance Critieria:
* There is a custom component for that
* which internally still uses the blankslate
* The custom component is documented in the Lookbook
* Existing usages are "migrated" to the new custom component:
* Storages setup success
* API Token generation
* Nudge dialog for user to login to Storage
* Confirm removal of project from storage in "Enable in Storages" (? - it's maybe too different from the others and currently not implemented with a Blankslate)
* PDF export (not yet released, check with Andrej if its already in progress)
* The pattern is documented in the UI / UX documentation (done by Marc)
### Screenshots
[PDF-Export-Designs](https://www.figma.com/design/n0uj7NMxC4Q2nAzMyhdBXF/Export-work-packages-table?node-id=0-1&t=bnuZy9g95owHpRxA-0)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173449/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173450/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173543/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173544/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173545/content"> [PDF-Export-Designs](https://www.figma.com/design/n0uj7NMxC4Q2nAzMyhdBXF/Export-work-packages-table?node-id=0-1&t=bnuZy9g95owHpRxA-0)
### Acceptance Critieria:
* There is a custom component for that
* which internally still uses the blankslate
* The custom component is documented in the Lookbook
* Existing usages are "migrated" to the new custom component:
* Storages setup success
* API Token generation
* Nudge dialog for user to login to Storage
* Confirm removal of project from storage in "Enable in Storages" (? - it's maybe too different from the others and currently not implemented with a Blankslate)
* PDF export (not yet released, check with Andrej if its already in progress)
* The pattern is documented in the UI / UX documentation (done by Marc)
### Screenshots
[PDF-Export-Designs](https://www.figma.com/design/n0uj7NMxC4Q2nAzMyhdBXF/Export-work-packages-table?node-id=0-1&t=bnuZy9g95owHpRxA-0)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173449/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173543/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173544/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/173545/content">