Skip to content

✨ feat(favorites): sort favorites by picture date instead of liked order#4

Merged
colachg merged 1 commit intomainfrom
004-sort-favorites-by-date
Feb 26, 2026
Merged

✨ feat(favorites): sort favorites by picture date instead of liked order#4
colachg merged 1 commit intomainfrom
004-sort-favorites-by-date

Conversation

@colachg
Copy link
Copy Markdown
Owner

@colachg colachg commented Feb 26, 2026

Summary

  • Favorites are now displayed sorted by Bing publication date (newest first) instead of the order they were liked
  • One-line change to the favoriteImages computed property in WallpaperManager.swift — all downstream navigation (previous/next, boundary checks) automatically follows the new order
  • Added 2 tests verifying sort order and correct placement of newly added favorites
  • Bumped version to 1.1.3

Test plan

  • just build passes
  • just test passes (27 tests, including 2 new)
  • Manual smoke test: like wallpapers from different dates, open favorites, verify newest-first order
  • Navigate with arrows in favorites and confirm chronological order
  • Remove a favorite while browsing and confirm order is maintained

Favorites are now displayed newest-first by Bing publication date,
replacing the previous insertion-order sorting. Bump version to 1.1.3.
@colachg colachg self-assigned this Feb 26, 2026
@colachg colachg changed the title Sort favorites by picture date instead of liked order ✨ feat(favorites): sort favorites by picture date instead of liked order Feb 26, 2026
@colachg colachg merged commit e4e1afe into main Feb 26, 2026
1 check passed
@colachg colachg deleted the 004-sort-favorites-by-date branch February 26, 2026 11:32
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.

1 participant