fix(ui): apply WebKitGTK date picker workaround to remaining 7 inputs (#188) #194
No reviewers
Labels
No labels
autopilot:pending-human
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-clarification
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/Simpl-Resultat#194
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-188-webkit-date-picker-7-inputs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #188
Summary
Extends the WebKitGTK date picker workaround from PR #189 (one input on
/balance/snapshot) to the 7 remaining native<input type="date">fields across 4 components.Files changed
src/components/transactions/TransactionFilterBar.tsxsrc/components/adjustments/AdjustmentForm.tsxsrc/components/balance/LinkTransfersModal.tsxsrc/components/dashboard/PeriodSelector.tsxCHANGELOG.md+CHANGELOG.fr.md### Fixed/### CorrigéentryPattern applied
blur()is a no-op on Windows WebView2 / macOS WKWebView — only WebKitGTK needs the explicit dismiss.Verification
npm run build(tsc + vite) —built in 5.80snpm test(vitest) — 227 test files, 3720 tests passedTest plan
npm run tauri devon Linux/balance-> Link transfers modal, set from/to — popup must closeAcceptance criteria
npm test+npm run buildgreenReview — APPROVE
Summary
Extension propre et mecanique du workaround
#177sur les 7<input type=\"date\">restants (4 composants). Diff minimal, pattern uniforme, commentaire de reference identique a chaque site, pas de regression possible (blur()est un no-op sur Windows WebView2 / macOS WKWebView).Verifie
SnapshotEditPage.tsx(PR #189) = 8/8 inputstype=\"date\"du repo couverts.grep -rn type=\"date\" src/confirme.e.currentTarget.blur()avec commentaire// Close native date popup on WebKitGTK (#177).currentTargetest valide pendant l execution synchrone du onChange React, pas de probleme de pooling.Fixed/Corrigeavec reference explicite a #177 et a #188.npm test3720 tests verts,npm run buildok. Le PR body justifie correctement l absence de test automatise (quirk WebKitGTK non reproductible en jsdom). Acceptable pour ce type de UX fix dependant du moteur natif.Suggestions (non bloquantes)
useDateInputBlur()ou un composant<DateInput />partage si un 9e input apparait — pas necessaire pour ce PR.Plan post-merge
Smoke test manuel sur Linux Tauri dev pour au moins 2 des 4 composants (mentionne dans le PR body) avant la prochaine release.