Skip to content

Add page for managing soft-deleted users #13386

@nucleogenesis

Description

@nucleogenesis

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Soft-deleted users are excluded from every page except this one where the admin can further manage these users. Here they can "Recover" a user, which will un-delete the user. Or, they can delete users permanently.

Figmas

Deleted users page

Action tooltips & icon legend

Permanent deletion modal confirmation

Technical requirements

This should be relatively straightforward as it will be largely borrowing from existing components, but some key items to be mindful of:

  • Note the empty table state has an image and message shown (figma)
  • Note the simplified toolbar w/ the "undelete" and "hard-delete" icon buttons
  • The filters will be displayed by the Filters side panel ( see [BUM] Add filters side panel #13608 ) - once that is merged you can rebase, but if you get through this issue before that merges, just put the side panel component where it goes.
  • For the "undelete" button's messaging, when we are acting on one person we see "Recover from trash" and when there are multiple users selected, we should sort of combine the two so it's "Recover selection from trash".
  • You'll need to add the unique-to-this-page column "Deleted" and calculate the string for it. I suggest reviewing StatusElapsedTime for an example of how we use the $formatRelative utility to get properly formatted time messaging.

Before asking for QA

  • Perform key workflows using keyboard navigation only
  • Verify that you're only showing soft-deleted users

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions