Skip to content

Conversation

hbalty
Copy link
Contributor

@hbalty hbalty commented Aug 11, 2025

No description provided.

@revu-bot revu-bot bot requested a review from revu-bot August 11, 2025 22:35
Copy link
Collaborator

@revu-bot revu-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR implements mandatory SMS day selection by adding validation and UI changes. The implementation correctly adds both client-side validation and user feedback, but has a critical typo in the error message that needs fixing. The validation logic is sound and properly handles both the "at least one day" and "maximum two days" requirements.

@hbalty hbalty force-pushed the feat-making-sms-day-selection-mandatory branch from 3fe0867 to 572c2a6 Compare August 11, 2025 22:38
@hbalty hbalty marked this pull request as draft August 11, 2025 22:38
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:38 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:38 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:38 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:38 — with GitHub Actions Inactive
…ures-sms-form/structures-sms-form.component.ts

Co-authored-by: Revu <dnum.fabrique@sg.social.gouv.fr>
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:42 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:42 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:42 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 11, 2025 22:42 — with GitHub Actions Inactive
@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 12.90323% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.69%. Comparing base (52b70a6) to head (6679f04).
⚠️ Report is 17 commits behind head on master.

Files with missing lines Patch % Lines
.../src/_migrations/1755033531923-manual-migration.ts 20.00% 16 Missing ⚠️
...ructures-sms-form/structures-sms-form.component.ts 0.00% 8 Missing ⚠️
...es/structures/controllers/structures.controller.ts 0.00% 2 Missing ⚠️
...abase/entities/structure/StructureTable.typeorm.ts 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3852      +/-   ##
==========================================
- Coverage   65.78%   65.69%   -0.10%     
==========================================
  Files         970      971       +1     
  Lines       16220    16249      +29     
  Branches     2237     2251      +14     
==========================================
+ Hits        10671    10674       +3     
- Misses       5208     5528     +320     
+ Partials      341       47     -294     
Files with missing lines Coverage Δ
...backend/src/modules/structures/dto/schedule.dto.ts 100.00% <ø> (ø)
...es/structures/services/structureCreator.service.ts 82.45% <ø> (-8.78%) ⬇️
...ctures-sms-form/structures-sms-form.component.html 100.00% <ø> (ø)
...abase/entities/structure/StructureTable.typeorm.ts 92.00% <0.00%> (ø)
...es/structures/controllers/structures.controller.ts 39.50% <0.00%> (-1.01%) ⬇️
...ructures-sms-form/structures-sms-form.component.ts 31.57% <0.00%> (-3.21%) ⬇️
.../src/_migrations/1755033531923-manual-migration.ts 20.00% <20.00%> (ø)

... and 129 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 52b70a6...6679f04. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hbalty hbalty temporarily deployed to build-review-auto August 12, 2025 21:57 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 12, 2025 21:57 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 12, 2025 21:57 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 12, 2025 21:57 — with GitHub Actions Inactive
@hbalty hbalty requested a review from revu-bot August 12, 2025 22:02
@hbalty hbalty marked this pull request as ready for review August 13, 2025 09:43
@hbalty hbalty requested a review from pYassine August 13, 2025 09:43
Copy link
Collaborator

@revu-bot revu-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An error occurred: Error processing line comments: [
{
"expected": "array",
"code": "invalid_type",
"path": [
"comments"
],
"message": "Invalid input: expected array, received string"
}
]

Revu logs

@hbalty hbalty force-pushed the feat-making-sms-day-selection-mandatory branch from 1ca7311 to 6ba95bb Compare August 13, 2025 09:45
@hbalty hbalty temporarily deployed to build-review-auto August 13, 2025 09:45 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 13, 2025 09:45 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 13, 2025 09:45 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 13, 2025 09:45 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 09:43 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 09:43 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 09:43 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 09:43 — with GitHub Actions Inactive
@hbalty hbalty force-pushed the feat-making-sms-day-selection-mandatory branch from 794ff95 to 6679f04 Compare August 14, 2025 13:11
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 13:11 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 13:11 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 13:11 — with GitHub Actions Inactive
@hbalty hbalty temporarily deployed to build-review-auto August 14, 2025 13:11 — with GitHub Actions Inactive
Copy link

@tokenbureau
Copy link

tokenbureau bot commented Aug 14, 2025

🎉 Deployment for commit 6679f04 :

Ingresses
Docker images
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/backend:sha-6679f0430c75addfc9fcb9ef225c1e8cecea4fef
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/frontend:sha-6679f0430c75addfc9fcb9ef225c1e8cecea4fef
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-admins:sha-6679f0430c75addfc9fcb9ef225c1e8cecea4fef
  • 📦 docker pull harbor.fabrique.social.gouv.fr/domifa/domifa/portail-usagers:sha-6679f0430c75addfc9fcb9ef225c1e8cecea4fef
Debug

@pYassine pYassine merged commit a66b088 into master Aug 14, 2025
19 checks passed
@pYassine pYassine deleted the feat-making-sms-day-selection-mandatory branch August 14, 2025 22:27
@tokenbureau
Copy link

tokenbureau bot commented Aug 14, 2025

🎉 This PR is included in version 2.215.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@tokenbureau tokenbureau bot added the released label Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants