Add "Sort" Options in Credentials Inventory

In Add Search and Filter options in Credentials In... (#345734 - closed), we added Search and Filter to Credentials Inventory. To round this out, we should also add sorting.

  • Sort by token expiration date
  • Sort by token created data
  • Sort by token last used date (once Personal Access Token (PAT) Last Used IP Addres... (#428577 - closed) is complete)

Acceptance Criteria

  1. Implement a "Sort" dropdown menu on the Credentials Inventory page.
  2. Include sort options for:
    • Token expiration date
    • Token creation date
    • Token last used date
  3. Allow both ascending and descending order for each option.
  4. Ensure sorting works with existing search and filter functionality.
  5. Maintain sort preference within the user's session.
  6. Provide clear visual indication of the current sort order.
  7. Ensure sorting is performant and accessible.

Stretch

Add sort options for API

Edited Jan 14, 2025 by Hannah Sutor
Assignee Loading
Time tracking Loading