Skip to content

feat: implement customizable collage patterns for the Home screen#1154

Merged
theovilardo merged 1 commit intomasterfrom
impl/album-collage-patterns
Feb 20, 2026
Merged

feat: implement customizable collage patterns for the Home screen#1154
theovilardo merged 1 commit intomasterfrom
impl/album-collage-patterns

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

  • Data & Preferences:
    • Introduce CollagePattern enum with five distinct layout styles: Cosmic Swirl, Honeycomb Groove, Vinyl Stack, Pixel Mosaic, and Stardust Scatter.
    • Add collage_pattern and collage_auto_rotate keys to UserPreferencesRepository with associated flows and update methods.
  • UI & Components:
    • Implement buildCollageConfigs to generate shape, size, and alignment configurations for each CollagePattern.
    • Update AlbumArtCollage to accept a pattern parameter and dynamically render the selected layout.
    • Add "Home Collage" section to Settings, allowing users to select a specific pattern or enable "Auto-Rotate" to cycle through patterns on each visit.
  • ViewModel & Integration:
    • Update SettingsViewModel to manage collage pattern and rotation state.
    • Enhance HomeScreen to handle pattern selection logic, respecting the auto-rotation preference using rememberSaveable.

- **Data & Preferences**:
    - Introduce `CollagePattern` enum with five distinct layout styles: Cosmic Swirl, Honeycomb Groove, Vinyl Stack, Pixel Mosaic, and Stardust Scatter.
    - Add `collage_pattern` and `collage_auto_rotate` keys to `UserPreferencesRepository` with associated flows and update methods.
- **UI & Components**:
    - Implement `buildCollageConfigs` to generate shape, size, and alignment configurations for each `CollagePattern`.
    - Update `AlbumArtCollage` to accept a `pattern` parameter and dynamically render the selected layout.
    - Add "Home Collage" section to Settings, allowing users to select a specific pattern or enable "Auto-Rotate" to cycle through patterns on each visit.
- **ViewModel & Integration**:
    - Update `SettingsViewModel` to manage collage pattern and rotation state.
    - Enhance `HomeScreen` to handle pattern selection logic, respecting the auto-rotation preference using `rememberSaveable`.
@theovilardo theovilardo merged commit 4fddea0 into master Feb 20, 2026
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