feat: parité autocapture (404/tagged/fileExtensions) via data-auto#1
Merged
Conversation
- Options: ajoute notFound, tagged, fileExtensions ; fromArray lit les clés snake_case et camelCase (not_found/notFound, file_extensions/fileExtensions) - SnippetRenderer: émet un unique data-auto="outbound,downloads,tagged,404" (remplace data-outbound/data-files) + data-downloads-ext pour les extensions - bundle vendored: takt.auto.js (base + autocapture) au lieu de takt.js - CDN/Asset pointent sur dist/takt.auto.js ; sync-bundle.sh + CI alignés - tests + README à jour
This was referenced Jun 19, 2026
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.
Aligne le renderer PHP sur le snippet officiel
takt.auto.js(base + autocapture piloté par data-attributes), au lieu de l'ancientakt.js(base seule).Changements
notFound,tagged,fileExtensions.fromArraylit les clés snake_case et camelCase (not_found/notFound,file_extensions/fileExtensions,exclude_localhost/excludeLocalhost). Nouveau helperstrList()(trim + drop des vides).data-auto="outbound,downloads,tagged,404"(remplacedata-outbound/data-files) +data-downloads-ext="…"quandfileExtensionsest non vide.resources/takt.auto.js(octet-identique à jsDelivr @0.4.2) remplaceresources/takt.js. CDN/Asset pointent surdist/takt.auto.js.bin/sync-bundle.sh+ job CIbundle-syncalignés.Les attributs
data-outbound/data-filesdisparaissent au profit dedata-auto. C'est le contrat quetakt.auto.jslit réellement — l'ancien était inerte côté tracker. À tagger/publier en0.2.0en premier : les PR laravel/symfony en dépendent (^0.2).Vérifs