feat: license UI card in settings (#47) #57
No reviewers
Labels
No labels
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
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#57
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-47-license-ui-card"
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 #47
Depends on #46 (chain-branched from
issue-46-license-commands-entitlements).Summary
licenseService.ts(Tauri command wrapper)useLicensehook with useReducer pattern (idle/loading/ready/validating/error)LicenseCardcomponent shown at the top of SettingsPageTest plan
Review (sprint inline) — APPROVE
Points vérifiés
useUpdater.ts)openUrl(signature correcte du plugin v2, pas l'ancienopen)validatingSuggestion non bloquante
state.info.expires_at > 0est défensif mais théoriquement toujours vrai puisque l'expclaim est mandatory dans la validation Rust. C'est OK de le garder pour la robustesse, mais on pourrait aussi simplifier enstate.info?.expires_at && ....Aucun problème critique.
a6ffd2c4c4to2da2de183a