Skip to content

Add sorting to Workbench Market - #641

Merged
yaojin3616 merged 1 commit into
dataelement:mainfrom
cinderzhan:codex/workbench-market-sort
Oct 1, 2026
Merged

yaojin3616 merged 1 commit into
dataelement:mainfrom
cinderzhan:codex/workbench-market-sort

Conversation

@cinderzhan

Copy link
Copy Markdown
Collaborator

Summary

  • Add a compact sort selector at the right of the Workbench Market search/category toolbar.
  • Sort cards by GitHub Stars (high to low), displayed download count (high to low), source update time (newest first), or name (Chinese locale-aware A to Z). Missing values follow known values and equal values keep their prior order.
  • Keep the current catalog order as the initial selection. Preserve the chosen sort when searching, changing categories, or switching Market/Favorites/Installed.

Update time data

Depends on awesome-dsh-workbench #27 to publish updatedAt in the market index. Until the updated index is deployed, entries without the field remain in their existing relative order for the update-time option. updatedAt is the latest default-branch commit time, not the daily metric scrape time.

Verification

  • npm test (1544 passed)
  • npm run typecheck
  • npm run build
  • node --check packages/dsh-desktop-workbenches/client.js
  • git diff --check

The local checkout is on Harness 0.1.7-rc.2. This PR isolates the feature on main at 0.2.0-rc.2; packaged Windows UI verification remains for CI/QA.

Add a market toolbar sort selector for stars, downloads, source
update time, and title while retaining the existing catalog order
as the initial selection.
@yaojin3616
yaojin3616 merged commit 4ae8beb into dataelement:main Oct 1, 2026
9 checks passed
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.

2 participants