Skip to content

Photos - #109

Merged
float3 merged 7 commits into
masterfrom
photos
May 9, 2026
Merged

Photos#109
float3 merged 7 commits into
masterfrom
photos

Conversation

@float3

@float3 float3 commented May 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

float3 added 7 commits May 7, 2026 23:49
…alidation

- Added optional `description` field to the Photo interface in TypeScript.
- Introduced utility functions for validating and processing photo data, including `nonEmptyString`, `titleFromPath`, and `photoTags`.
- Updated `toPhoto` function to construct Photo objects with additional fields and improved title handling.
- Modified `loadPhotos` function to filter and validate loaded photos using the new `toPhoto` function.
- Enhanced the photo display logic to show descriptions alongside titles in the lightbox.
- Updated Rust WASM function `photo_manifest_entry_is_valid` to only validate the `src` field, allowing for empty titles.
- Adjusted tests to reflect the changes in validation logic.
@float3
float3 merged commit 2c9d26d into master May 9, 2026
1 check passed
@float3
float3 deleted the photos branch September 5, 2026 12:25
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