Repository navigation
feat: changelog « Nouveautés » in-app après les mises à jour - #4
Merged
Merged
Conversation
- Add Changelog feature with typed data and version/format libraries - Add localStorage-based changelog state store with unread tracking - Add "Quoi de neuf" (What's New) bottom sheet on app updates using Ark UI Drawer - Add lazy-loaded /profile/changelog history page with full changelog entries - Enhance Layout and BottomNav with unread indicator dot - Add version↔changelog consistency gate test (runs before deployment) - Bump version to 0.2.0
|
🚀 Preview deployed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Résumé
Après une mise à jour, l'app annonce désormais ce qui a changé, en plus du toast « Mise à jour disponible » qui reste identique. Version 0.2.0.
/profile/changelog, chargée à la demande, accessible depuis une ligne du profil. Elle indique la version utilisée et le build.src/features/changelog/data/changelog.ts(0.2.0 et 0.1.0). Aucun appel serveur : l'état « vu / consulté » vit dans lelocalStoragede l'appareil.changelog.test.tséchoue sipackage.json#versionet la tête du changelog divergent. Il tourne en CI et, nouveau, avant le build dansdeploy.yml.Autres commits de la PR :
docs(constitution): constitution v1.1.0, règles « Releases et changelog » (bump semver + entrée de changelog dans la même PR). La routine est aussi décrite dansCLAUDE.md.chore(design): contexte impeccable (PRODUCT.md,DESIGN.md,.impeccable/), exclu de Biome ;.impeccable/config.local.jsonignoré par git.Spec, design brief, plan, contrat et tâches :
specs/002-app-changelog/.Vérifications
pnpm test: 162 tests (dont logique de décision, stockage, garde-fou version ↔ changelog, feuille, page, pastille)tsc --noEmitetpnpm lint(aucune erreur, avertissements existants inchangés)pnpm build: la feuille et la page historique sont dans des chunks séparés, non chargés au démarragefaircount.changelog.lastSeen=0.1.0dans le localStorage, puis recharger)