Skip to content

Feature: Group years into decades in Photos tab#27

Merged
hgosalia merged 1 commit into
mainfrom
feature/group-years
Jun 22, 2026
Merged

Feature: Group years into decades in Photos tab#27
hgosalia merged 1 commit into
mainfrom
feature/group-years

Conversation

@hgosalia

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown

📋 PR Summary

Title: Feature: Group years into decades in Photos tab
2 files changed: +107 additions, -44 deletions

Description

This PR introduces a feature that groups years into decades within the Photos tab, enhancing the organization of photo entries. The JavaScript code has been modified to manage decade-level collapsibility, replacing the previous year-level tracking with a new Set for expanded decades. Additionally, CSS styles have been updated to adjust the padding for the decade headers and bodies, ensuring a visually distinct grouping in the user interface. These changes aim to improve the clarity and navigability of the photo collection by allowing users to collapse or expand decades instead of individual years.

Files

  • css/styles.css — Style updates (+2/-0)
  • js/photos.js — Modified: photoSortKey, _syncCollapseBtn, toggleAllYears, rebuildPhotoList +1 more

@hgosalia hgosalia merged commit 311848e into main Jun 22, 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.

1 participant