Skip to content

Conversation

@Leo-Berman
Copy link

@Leo-Berman Leo-Berman commented Feb 1, 2026

  • Tests written, or not not needed

@Leo-Berman Leo-Berman marked this pull request as ready for review February 2, 2026 20:27
@Leo-Berman Leo-Berman force-pushed the master branch 2 times, most recently from c074f6b to b781830 Compare February 3, 2026 18:58
- Add extractFolderDate to parse YYYY/MM or YYYY/MM/DD from file paths
- Sort gallery items by folder date first, then modification timestamp
- Group gallery sections by month using folder date when available
- Add unit tests for folder date extraction

Signed-off-by: Leo Berman <leograntberman@gmail.com>
Signed-off-by: Leo Berman <leograntberman@gmail.com>
Signed-off-by: Leo Berman <leograntberman@gmail.com>
Signed-off-by: Leo Berman <leograntberman@gmail.com>
Signed-off-by: Leo Berman <leograntberman@gmail.com>
@Leo-Berman
Copy link
Author

maybe this can't be done in the frontend because if we load by timestamp in the database part then the sections will be loaded weirdly anyways?

Signed-off-by: Leo Berman <leograntberman@gmail.com>
@Leo-Berman
Copy link
Author

I made a change so it loads everything all at once which saves the categories but I don't really understand exactly the load it places

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