feat(emitter,types): single-injection body chrome — CHROME_BODY_SLOT (finding #5) - #134
Merged
Conversation
…OT (bulgu #5) Gerçek temalarda gövde kabı chrome'un derininde (article > div.entry-content); before/after yarımları dengesiz HTML olur ve ayrı set:html'lerde parser "onarınca" düzen bozulur (ölçülen: 36 vs 100). Ölçüm zincirinin kanıtladığı mekaniğe dönüş: ChromeChunk'a 'body' pozisyonu + herhangi derinlikte <!--@@Body@@--> işaretçisi (types: CHROME_BODY_SLOT); emitter içeriği string düzeyinde işaretçiye ekler ve gövdeyi TEK fragment olarak basar. Eski before/after çifti tek string'e katlanarak çalışmaya devam eder (aralarına işaretçi girer). Sayfalar içeriği body prop'uyla verir; el yazımı sayfalar için slot çocukları Astro.slots.render ile aynı yere akar. İşaretçisiz body chunk'ına işaretçi sona eklenir + uyarı. 3 yeni test (iç içe yapı, katlama sırası, işaretçi uyarısı).
✅ Deploy Preview for contentrain-ai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Ne
Bulgu #5 (yanlışlıkla merge edilmiş #132'nin dalına push'lanmıştı — taze main'e cherry-pick edildi, içerik aynı):
Gerçek temalarda gövde kabı chrome'un derininde (
article > div.entry-content); before/after yarımları dengesiz HTML olur ve ayrıset:html'lerde parser "onarınca" düzen bozulur (ölçülen: 36 vs 100).ChromeChunk.position'a'body'+CHROME_BODY_SLOT(<!--@@body@@-->, herhangi derinlikte durabilen yorum işaretçisi)before_body/after_bodyçifti geriye uyumlu (tek string'e katlanır, araya işaretçi girer). Sayfalarbodyprop'u verir; el yazımı sayfalar için slot çocuklarıAstro.slots.renderile aynı yere akar. İşaretçisizbodychunk'ı: işaretçi sona + uyarı.Migrate induction sözleşmesi: gövde konumlanınca
cr-slotelementi değilCHROME_BODY_SLOTyorumu enjekte edilir; chrome tekbodychunk olarak üretilir.Test
lint 0/0 · tsc · 8/8 paket build+test; 3 yeni test (iç içe yapı korunumu, katlama sırası, işaretçi uyarısı).
🤖 Generated with Claude Code
https://claude.ai/code/session_01NjgQYCFqwZjJt97yioyjnS