Skip to content

Conversation

@chloe-renaud
Copy link
Contributor

No description provided.

Copy link
Contributor

@QRuhier QRuhier left a comment

Choose a reason for hiding this comment

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

The transformation stateToRemote is missing here (you still only persist Scope, not pairingSourceVariable object).

If i'm right, it's directly here : https://github.com/InseeFr/Pogues/blob/next/src/model/transformations/component.jsx#L730

Else it's nice !

Comment on lines 10 to 11
fr: 'Variable source du nom',
en: 'Name source variable',
Copy link
Contributor

Choose a reason for hiding this comment

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

It's more first name (as the business analysts confirmed)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd rather keep the label as short as possible. Let's wait and see if business analysts deem necessary to change it or if it seems obvious to them for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes we prefer "Variable source du Prénom", cause it's the main (and maybe only but can't be sure) use

Copy link
Contributor

Choose a reason for hiding this comment

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

@JulienCarmona But who are you ? 😜

@chloe-renaud chloe-renaud requested a review from QRuhier January 12, 2026 10:30
@chloe-renaud chloe-renaud changed the title feat(legacy): handle gender source variable for pairwise magic variables feat(legacy): handle gender source variable for pairwise global variables Jan 15, 2026
@chloe-renaud chloe-renaud force-pushed the feat/pairwise-magic-variables branch from 641f03b to ea4ec31 Compare January 15, 2026 12:37
],
scope,
sourceVariableReferences,
scope, // deprecated
Copy link
Contributor

@laurentC35 laurentC35 Jan 16, 2026

Choose a reason for hiding this comment

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

Great ! 🚀
We have to keep it because of generation of pogues-model -> DDI in EnoXML

ToDo: handle new modeling for this transformation (pogues->DDI) in https://github.com/InseeFr/Eno-Xml

@chloe-renaud chloe-renaud force-pushed the feat/pairwise-magic-variables branch from 7da7732 to d3b22dc Compare January 16, 2026 16:00
@chloe-renaud chloe-renaud force-pushed the feat/pairwise-magic-variables branch from d3b22dc to 9d4bf09 Compare January 16, 2026 16:26
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
40.3% Coverage on New Code (required ≥ 50%)

See analysis details on SonarQube Cloud

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.

5 participants