-
Notifications
You must be signed in to change notification settings - Fork 658
fix: attribute tags pre analyze transforms #2886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 266881c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Walkthrough
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
6986ee1 to
eaed74c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.changeset/lemon-coats-grow.md (1)
5-5: Hyphenate “pre-analyze” for consistency.Consider changing “pre analyze” → “pre-analyze” to match the term used elsewhere and keep the summary polished.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
.changeset/lemon-coats-grow.md(1 hunks)packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/dom.expected/tags/my-tag.js(1 hunks)packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/dom.expected/template.hydrate.js(1 hunks)packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/html.expected/tags/my-tag.js(1 hunks)packages/runtime-tags/src/translator/visitors/program/pre-analyze.ts(2 hunks)
🧰 Additional context used
🧬 Code graph analysis (2)
packages/runtime-tags/src/translator/visitors/program/pre-analyze.ts (1)
packages/runtime-tags/src/translator/index.ts (2)
Program(68-70)MarkoTagBody(88-90)
packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/html.expected/tags/my-tag.js (1)
packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/html.expected/template.js (1)
$scope0_id(4-4)
🪛 LanguageTool
.changeset/lemon-coats-grow.md
[grammar] ~5-~5: Use a hyphen to join words.
Context: ...attribute tags not being included in pre analyze transforms.
(QB_NEW_EN_HYPHEN)
[grammar] ~5-~5: There might be a mistake here.
Context: ...eing included in pre analyze transforms.
(QB_NEW_EN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: test: node@22
- GitHub Check: test: node@18
- GitHub Check: test: node@20
🔇 Additional comments (3)
packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/dom.expected/template.hydrate.js (1)
1-22: Snapshot update looks correct.The resumable content call and size annotation match the translator change.
packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/dom.expected/tags/my-tag.js (1)
4-4: Snapshot refresh looks good.Switching to
_content_resumealigns with the new pre-analyze behavior.packages/runtime-tags/src/__tests__/fixtures/dynamic-tag-input-intersection/__snapshots__/html.expected/tags/my-tag.js (1)
12-16: HTML snapshot change makes sense.Passing the scope id into
_content_resumematches the regenerated DOM fixtures.
eaed74c to
266881c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.changeset/lemon-coats-grow.md (1)
5-5: Polish the description: hyphenate and use imperative mood.Improve clarity and align with common style.
-Fix attribute tags not being included in pre analyze transforms. +Include attribute tags in pre-analyze transforms.Based on static analysis hints
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.changeset/lemon-coats-grow.md(1 hunks)packages/runtime-tags/src/translator/visitors/program/pre-analyze.ts(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/runtime-tags/src/translator/visitors/program/pre-analyze.ts
🧰 Additional context used
🪛 LanguageTool
.changeset/lemon-coats-grow.md
[grammar] ~5-~5: Use a hyphen to join words.
Context: ...attribute tags not being included in pre analyze transforms.
(QB_NEW_EN_HYPHEN)
[grammar] ~5-~5: There might be a mistake here.
Context: ...eing included in pre analyze transforms.
(QB_NEW_EN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: test: node@20
- GitHub Check: test: node@18
- GitHub Check: test: node@22
🔇 Additional comments (1)
.changeset/lemon-coats-grow.md (1)
1-3: Changeset front matter looks correct.Package and bump type are valid for a patch release.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2886 +/- ##
=======================================
Coverage 88.15% 88.15%
=======================================
Files 371 371
Lines 46128 46135 +7
Branches 3688 3689 +1
=======================================
+ Hits 40662 40669 +7
Misses 5431 5431
Partials 35 35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.