Skip to content

feat(projects): add image_url field to Project entity#169

Merged
Azfe merged 5 commits into
developfrom
feat/add-project-image-url
May 6, 2026
Merged

feat(projects): add image_url field to Project entity#169
Azfe merged 5 commits into
developfrom
feat/add-project-image-url

Conversation

@Azfe
Copy link
Copy Markdown
Owner

@Azfe Azfe commented May 6, 2026

Add optional image_url to store a Cloudinary (or any CDN) screenshot URL for each project. Follows the existing avatar_url / icon_url pattern: validated with URL_PATTERN on the domain, propagated through DTO, schema, mapper (conditional persistence), and both add/edit use cases.

Azfe added 3 commits May 6, 2026 14:18
  Add optional image_url to store a Cloudinary (or any CDN) screenshot URL
  for each project. Follows the existing avatar_url / icon_url pattern:
  validated with URL_PATTERN on the domain, propagated through DTO, schema,
  mapper (conditional persistence), and both add/edit use cases.
  Fix TypeError in unit and integration conftest after image_url was added
  as a required field to the ProjectResponse DTO.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Azfe added 2 commits May 6, 2026 14:52
  Add TestProjectImageURL test class covering the new image_url field:
  valid URL, invalid URL (InvalidURLError), and empty/whitespace
  normalization to None — both via create() and update_urls().
@Azfe Azfe merged commit 1d47c75 into develop May 6, 2026
7 checks passed
@Azfe Azfe deleted the feat/add-project-image-url branch May 6, 2026 12:59
Azfe added a commit that referenced this pull request May 6, 2026
feat(projects): add image_url field to Project entity
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