Skip to content

feat(gip-mds): integrate prefill in steps 1-4#2984

Draft
Viczei wants to merge 1 commit into2754-task2-mapping-prefill-componentsfrom
2754-task3-prefill-steps
Draft

feat(gip-mds): integrate prefill in steps 1-4#2984
Viczei wants to merge 1 commit into2754-task2-mapping-prefill-componentsfrom
2754-task3-prefill-steps

Conversation

@Viczei
Copy link
Contributor

@Viczei Viczei commented Mar 12, 2026

Summary

  • Update page.tsx to fetch and pass GIP prefill data to step components
  • Update StepPageClient to accept and dispatch gipPrefillData
  • Step 1: prefill workforce counts from GIP if no saved data
  • Step 2: prefill pay gap rows with mean/median remuneration data
  • Step 3: prefill variable pay + beneficiary counts
  • Step 4: prefill quartile distribution
  • Add QuartileInterpretationCallout and QuartileReadingNote components

Sub-issue

Closes #2980 (sub-issue of #2754)
Depends on #2983

Test plan

  • pnpm typecheck passes
  • pnpm test passes
  • Steps 1-4 display prefilled data when GIP data is available
  • Users can modify prefilled data
  • Source DSN notice is displayed on prefilled steps

🤖 Generated with Claude Code

@revu-bot revu-bot bot requested a review from revu-bot March 12, 2026 17:01
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 internal error occurred. Please check the logs for details.

Revu logs

- Update page.tsx to fetch and pass GIP prefill data to steps
- Update StepPageClient to accept and dispatch gipPrefillData
- Step 1: prefill workforce from GIP data if no saved data
- Step 2: prefill pay gap rows from GIP data
- Step 3: prefill variable pay + beneficiary counts from GIP data
- Step 4: prefill quartile distribution from GIP data
- Add QuartileInterpretationCallout and QuartileReadingNote components

Closes #2980
@tokenbureau
Copy link

tokenbureau bot commented Mar 12, 2026

🎉 Deployment for commit 256c157 :

Ingresses
Docker images
  • 📦 docker pull harbor.fabrique.social.gouv.fr/egapro/egapro/app:sha-256c157a59002cdb7b514173816bbc53642f6cab
Debug

@Viczei Viczei marked this pull request as draft March 12, 2026 17:26
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.

2 participants