Skip to content

Conversation

@AryanBagade
Copy link

Summary

Adds reverse sort options for Docker resources as suggested by @bwateratmsft in #317.
New sort options added:

  • CreatedTimeReverse - Sort by oldest first
  • LabelReverse - Sort reverse alphabetically (Z → A)
  • SizeReverse - Sort by smallest first (images only)

Views updated:

  • Containers
  • Images
  • Networks
  • Volumes

Changes

  • Updated CommonProperties.ts with new sort types and descriptions
  • Updated LocalRootTreeItemBase.ts with sorting logic for reverse options
  • Updated ImagesTreeItem.ts with SizeReverse option
  • Updated package.json with new enum values for all sortBy settings
  • Updated package.nls.json with updated descriptions

Test Plan

  • Build passes
  • Lint passes (0 warnings)
  • All 130 existing tests pass

Fixes #317

Signed-off-by: Aryan Bagade <aryan@aryanbagade.com>
@AryanBagade AryanBagade requested a review from a team as a code owner January 12, 2026 20:29
Copy link
Collaborator

@bwateratmsft bwateratmsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I'll test it out and we'll try to merge it for 2.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker resource Sort By descending order

2 participants