Repository navigation
feat: show Store packages with updates first, then installed ones, then the rest - #243
Merged
Merged
Conversation
This was referenced Oct 22, 2026
…en the rest The Store grid followed the order of the package indexes, so packages with an update were mixed in with everything else. `storeEntries(showingThemes:sourceID:)` now groups them as Update, Installed and Get, each sorted by name the way Finder sorts. A card that says Installed from another source sorts with the installed packages, and cards with the same name follow the order of the sources. Fixes #242
M4n0x
force-pushed
the
feat/242-store-order
branch
from
October 23, 2026 05:19
759eaab to
14d4441
Compare
|
🎉 This PR is included in version 0.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Settings → Packages → Store showed its cards in the order of the Store index, so packages with an update sat among installed packages and ones you haven't installed. Fixes #242.
Changes
storeEntries(showingThemes:sourceID:)sorts what it returns: packages with an update first, then installed packages, then the rest. Each group is sorted by name the way Finder sorts (localizedStandardCompare), so "agenda" comes before "Zoom".update(for:)check that shows the card's Update button. A card that says Installed from another source sorts with the installed packages. Cards with the same name keep the order of the sources, so the Store's comes first.PackagesViewdoesn't change: the grid already callsstoreEntries.Testing
main(ac723c9), which added private package sources (feat: add private package sources #249).swift test --filter "PackagesViewTests|ThemeGalleryTests|WidgetAddPopover|AppearanceView|PackageSource|PackageStoreClient": 83 tests pass.testStoreListsUpdatesThenInstalledThenOtherPackagesByNamelists packages from the Store and a private source "Acme": two updates, installed packages, a package installed from Acme that the Store also lists, and a package both sources offer. It also checks the case-insensitive order and the source filter.main.Screenshots
Now playing and Weather offer an update; Date and System monitor are installed.
Merging
One commit; squash with the PR title.
Claude Opus 5.5 via Claude Code