GCTC-NTGC / design-gc-digital-talent

GC Digital Talent design issues
0 stars 0 forks source link

✨ Add 'Archive' crud action to "Department" page #54

Closed Jerryescandon closed 2 months ago

Jerryescandon commented 10 months ago

✨ Feature

This feature allows the "department" object to be archived

πŸ•΅οΈ Details

Archived (Soft delete) objects should not appear anywhere on the platform, but maintain any data and relationships intact in case we need to restore them in the future.

This feature allows admins to remove any "department" object from the platform by archiving it.

Alternatively, If an item has been archived, this page will show the "Restore" section instead, which will revert the status back, making the item visible across the platform.

πŸ”’ Permissions

Role Can archive and restore Can edit information
Administrators TRUE
Pool operators FALSE
Team members FALSE
Request responders FALSE
Community managers FALSE

URL

.../lorem/ipsum/dolor/sit/amet

πŸ“Έ Screenshot

πŸ“Έ Archive info and button

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/f94eee2f-14f3-419a-bf2d-52cbfc901d05)

πŸ“Έ Archive modal

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/c70cfa76-f38c-42ff-b88f-6d69369d72e7)

πŸ“Έ Restore info and button

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/0dace612-fecd-4352-a2bb-7939a1d7a46e)

πŸ“Έ Restore modal

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/4f9b18a0-cdd1-4cbe-8d49-70a6564a3762)

πŸ“Έ Location on OLD design

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/20547702-3368-425b-a831-07f2fc9b8824)

πŸ“Έ Location on NEW design

![image](https://github.com/GCTC-NTGC/design-gc-digital-talent/assets/16977254/fd1f9680-8116-492e-a4b7-29e4cf30aada)

🎨 Design File

Link to Figma by @Jerryescandon

πŸ™‹β€β™€οΈ Proposed Implementation

(optional) Do you have a proposed implementation?

🌎 Localization

(optional) Provide any new copy along with translations available.

βœ… Acceptance Criteria

A set of assumptions which, when tested, verify that the feature was properly implemented.