Skip to content

Sync develop & master - #22979

Open
ovh-cds wants to merge 242 commits into
developfrom
master
Open

Sync develop & master#22979
ovh-cds wants to merge 242 commits into
developfrom
master

Conversation

@ovh-cds

@ovh-cds ovh-cds commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Automerge master in develop

ref: #PUWEBPT-426

Signed-off-by: Emilien Razafimampiandra <emilien.razafimampiandra.ext@corp.ovh.com>
Signed-off-by: CDS Translator Agent <opensource@ovh.net>
@ovh-cds
ovh-cds requested a review from a team as a code owner June 26, 2026 13:32
@github-actions github-actions Bot added the has conflicts Has conflicts to resolve before merging label Jun 26, 2026
Signed-off-by: ovh-cds <opensource@ovh.net>
@antleblanc
antleblanc requested a review from a team as a code owner June 26, 2026 14:00
@ovh-cds

ovh-cds commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#389.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#390.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#391.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#392.0 ✘

  • Stage 1
    • New Job ✘

…emetal

ref: #BKP-1190

Signed-off-by: maelthi <mael-thi.seme.ext@ovhcloud.com>
Co-authored-by: CDS Translator Agent <opensource@ovh.net>
@maelovh
maelovh requested a review from a team as a code owner June 30, 2026 12:11
maelovh and others added 3 commits June 30, 2026 12:40
Signed-off-by: ovh-cds <opensource@ovh.net>
ref: #PUWEBPT-429

Signed-off-by: Emilien Razafimampiandra <emilien.razafimampiandra.ext@corp.ovh.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
@ovh-cds

ovh-cds commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#393.0 ✘

  • Stage 1
    • New Job ✘

ErikssonJoakim and others added 5 commits July 1, 2026 15:58
ref: #TAPC-6823

Signed-off-by: Joakim Eriksson <75730728+ErikssonJoakim@users.noreply.github.com>
ref: #MANAGER-21788

Signed-off-by: Dustin Kroger <dustin.kroger.ext@ovhcloud.com>
(cherry picked from commit f338112)
ref: #MANAGER-21788

Signed-off-by: Dustin Kroger <dustin.kroger.ext@ovhcloud.com>
(cherry picked from commit d053b94)
ref: #MANAGER-21769

Signed-off-by: Maxime Bajeux <maxime.bajeux.ext@ovhcloud.com>
Signed-off-by: CDS Translator Agent <opensource@ovh.net>
@ovh-cds

ovh-cds commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#445.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#446.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#447.0 ✘

  • Stage 1
    • New Job ✘

maelovh and others added 7 commits August 24, 2026 08:46
ref: #bkp-1161

Signed-off-by: maelthi <mael-thi.seme.ext@ovhcloud.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
ref: #MANAGER-22097

Signed-off-by: Paul Dickerson <paul.dickerson.ext@ovhcloud.com>
ref: #MANAGER-17968

Signed-off-by: Paul Dickerson <paul.dickerson.ext@ovhcloud.com>
ref: #MANAGER-22019

Signed-off-by: Paul Dickerson <paul.dickerson.ext@ovhcloud.com>
ref: #MANAGER-17968

Signed-off-by: Paul Dickerson <paul.dickerson.ext@ovhcloud.com>
Co-authored-by: CDS Translator Agent <opensource@ovh.net>
Signed-off-by: ovh-cds <opensource@ovh.net>
@ovh-cds

ovh-cds commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#448.0 ✘

  • Stage 1
    • New Job ✘

@ovh-cds

ovh-cds commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#449.0 ✘

  • Stage 1
    • New Job ✘

ref: #MANAGER-22237

Signed-off-by: Paul Dickerson <paul.dickerson.ext@ovhcloud.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
@ovh-cds

ovh-cds commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#450.0 ✘

  • Stage 1
    • New Job ✘

AlexisAfonso and others added 14 commits August 27, 2026 09:41
…ing (#23131)

* feat(account): improve UX design for search assistant for FR e-invoicing

The user experience on the manager for B2B/B2G account is still not comprehensible =>
Customers still need to contact support to have information of how they can do the
company completion, and how they can add the e-invoicing address

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* feat(account): auto-search the SIRET already held when the lookup modal opens

Opening the company lookup now runs the search straight away when the account
already holds a valid SIRET, so the customer lands on the company found instead
of retyping it. A response is dropped when the SIRET has since been edited, or
when the modal was closed. The intro then asks the customer to check their
information, and the SIRET field carries the ui-kit error state. Field errors of
the edition form no longer show up before the customer touched them.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* feat(account): tell the customer what to complete on a non-disclosed company

The directory withholds the data of some companies, answering either the [ND]
token or an empty string depending on the provider. Empty values were not
detected at all, so the lookup silently blanked fields with no explanation, and
the company name kept the value of the previously searched company, which also
left the field locked.

Both shapes now count as missing, on the name and on the three parts of the
address. The modal lists what has to be filled in, its confirm button asks to
complete the information rather than to validate, and validating focuses the
first field to fill.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* test(sign-up): cover the SIRET search assistant and its lookup modal

The module had no test harness at all, so the three bugs found while building the
lookup modal went unnoticed until they were reproduced by hand: an empty value was
not recognised as withheld data, the company name inherited the previously searched
company and stayed locked, and a stale lookup response overwrote the selection.

Adds the vitest setup the rest of the repo uses, and 119 tests over the pure
helpers, the modal controller and the siret controller. Each of those three bugs
was reintroduced to check the suite fails, then reverted.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* fix(account): fill the lookup field with the SIRET held, searchable or not

The field was only filled in when the value already was a searchable 14-digit
SIRET, because seeding it sat inside that check. An account holding a SIREN, a
partially formatted value or a malformed one therefore opened the modal on an
empty field, and the customer had to retype what we already knew.

Seed the field with whatever is held, and keep the automatic lookup for a
usable 14-digit SIRET only: searching a value known to be incomplete would
greet the customer with an error they did not ask for.

The tests missed it by asserting no lookup fired without asserting what the
field showed, so they now cover the field content on both paths.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* fix(account): only clear the e-invoicing address on evidence against it

The selected e-invoicing billing address was emptied by things that said nothing
about it. A failed PUT /me broadcast the stale-address warning on any 400, and
the rules refresh that followed could drop the e-invoicing entry, which deleted
the model value and took the picker off the screen with it. The form also
refetches /newAccount/rules on every field change, so a refresh triggered by
another field cleared the selection on its own. An error forced on the company
data therefore cost the customer a choice the API had never pointed at.

A submit error never names the field it rejected, so every path now asks the
directory instead. The address is stale only when the refreshed rules offer
other addresses without it; an answer that brings none, or that omits the entry
altogether, is no evidence, and the entry is carried over so the picker keeps
its value.

A change of company still clears it, since another company may genuinely have no
address (RG5), and the picker still hides itself once the account stops being
eligible.

Adds the vitest setup this module was missing, along with 23 tests over both
decisions, each verified by reintroducing the behaviour it replaces.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* feat(account): drop the API errors once a company has been validated

The errors raised by the last submit stayed on screen after the customer
validated a company in the SIRET lookup, both as the alert banner and as the
inline message above the form. They described data that had just been replaced,
so they read as if the new company had been refused too.

Clear both when the siret component hands a company over, and name the alert
container and the event it is listening to rather than repeating their strings.

Adds 4 tests, verified by dropping the listener and the banner reset in turn.

ref: #MANAGER-22144

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>

* fix(i18n): add missing translations [CDS 1300]

Signed-off-by: CDS Translator Agent <opensource@ovh.net>

---------

Signed-off-by: Alexis Afonso <alexis.afonso@ovhcloud.com>
Signed-off-by: CDS Translator Agent <opensource@ovh.net>
Co-authored-by: Alexis AFONSO <alexis.afonso@ovhcloud.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
ref: #INC0277378

Signed-off-by: Guillaume Hyenne <guillaume.hyenne@ovhcloud.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
ref: #TAPC-7117

Signed-off-by: Joakim Eriksson <75730728+ErikssonJoakim@users.noreply.github.com>
ref: #TAPC-7117

Signed-off-by: Joakim Eriksson <75730728+ErikssonJoakim@users.noreply.github.com>
…page

ref: #TAPC-7117

Signed-off-by: Joakim Eriksson <75730728+ErikssonJoakim@users.noreply.github.com>
ref: #TAPC-7117

Signed-off-by: Joakim Eriksson <75730728+ErikssonJoakim@users.noreply.github.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
Ref: #PUWEBPT-401

Signed-off-by: Imane El Aiboud <imane.el-aiboud@corp.ovh.com>
Ref: #PUWEBPT-461

Signed-off-by: Imane El Aiboud <imane.el-aiboud@corp.ovh.com>
Ref: #PUWEBPT-440

Signed-off-by: Imane El Aiboud <imane.el-aiboud@corp.ovh.com>
Ref: #PUWEBPT-440

Signed-off-by: Imane El Aiboud <imane.el-aiboud@corp.ovh.com>
Signed-off-by: ovh-cds <opensource@ovh.net>
@ovh-cds

ovh-cds commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator Author

CDS Report manager-unit-test#451.0 ✘

  • Stage 1
    • New Job ✘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has conflicts Has conflicts to resolve before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.