cityofaustin / cityofaustin/techstack
Implement "Archived" status
- Dominant language
- No language data
- Stars
- 11
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Rather than deleting pages, user will be able to archive them. Published pages cannot be archived without first unpublishing them. The "archive" option should not be available to the user until the page is unpublished.
**Current behavior**
Users can delete pages and they disappear from the content index
**Expected behavior**
Users can only archive pages after unpublishing and they remain in the content index list with the status of "archive". Archived pages show last in the sort order of the status column.
**Acceptance criteria**
*Definition of "archive":* Archiving a page doesn't delete the page; rather, it removes it from the active content. We want to separate archived pages from unpublished pages because archived pages are likely no longer to be used, and therefore stored elsewhere, away from active content; however, we have the ability to restore or compare if necessary.
- [ ] Archived pages appear at the end of the status column
- [ ] When editing a page: For an **unpublished page,** user can select "archive" from "save" drop down menu
- [ ] From the content listing view: For an **unpublished page,** user can select "archive" from the "more menu"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.