Skip to content

feat(wallpaper): add smart rotation selection - #34

Merged
mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
perlowja:feat/wallpaper-smart-rotation-phase3-pr
Oct 14, 2026
Merged

mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
perlowja:feat/wallpaper-smart-rotation-phase3-pr

Conversation

@perlowja

Copy link
Copy Markdown
Contributor

Depends on #32. This branch is based on the current Phase 1 PR head because favorites weighting uses WallpaperFavorites; it must be rebased onto main after #32 merges.

The shipped GSettings contract is in singularityos-lab/singularity-desktop#266; this PR must not merge before that schema change ships.

Adds minimum image dimensions, display-aspect preference, threefold favorites weighting, and an immediate Next Wallpaper action. All paths use the existing generic Singularity conventions: ~/.config/singularity/wallpaper-rotation and singularity/wallpaper-collections.

Verification:

  • wallpaper-rotator-test: 19/19 passed, including deterministic dimension, fallback, aspect, exact favorites-weighting, and immediate-next cases
  • Phase 1 focused tests: 2/2 executables passed
  • Shipped schema: strict compile plus memory-backend set/read-back passed for all four keys
  • Diff guardrails: no added comments, ASCII punctuation, no new libadwaita usage, and no NCZ path or brand additions

AI assistance: disclosed

@perlowja
perlowja force-pushed the feat/wallpaper-smart-rotation-phase3-pr branch from 015b9c9 to 137443b Compare September 29, 2026 22:15
Add minimum dimensions, aspect preference, favorites weighting, and an immediate-next action with deterministic tests.

Assisted-by: Claude Code:claude-sonnet-5
Assisted-by: Codex:gpt-5.6-sol
AI-Scope: Rebased Phase 3, retained generic Singularity paths, resolved rotator overlaps, completed schema coverage, and fixed focused test dependencies.
@mirkobrombin
mirkobrombin force-pushed the feat/wallpaper-smart-rotation-phase3-pr branch from 137443b to 211eafe Compare October 14, 2026 10:57
@mirkobrombin

Copy link
Copy Markdown
Member

Aligned and merging. This branch also carried #30, #32 and #33, so I replayed only the rotation commit on main and resolved the meson and test schema conflicts. The selection fallbacks were called test_, renamed them to default_ since they're live defaults, not test code. Rotator, gallery and OCS tests pass.

@mirkobrombin
mirkobrombin merged commit 3246508 into singularityos-lab:main Oct 14, 2026
1 check 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