Skip to content

fix(website): deno fmt on the analytics component and its gate - #1661

Merged
nicacioliveira merged 1 commit into
mainfrom
fix/deco-analytics-fmt
Aug 28, 2026
Merged

fix(website): deno fmt on the analytics component and its gate#1661
nicacioliveira merged 1 commit into
mainfrom
fix/deco-analytics-fmt

Conversation

@nicacioliveira

@nicacioliveira nicacioliveira commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

CI on main is red on deno fmt --check alone — both files touched by #1660 were over the line width. No behaviour change in this commit; deno lint and deno check pass.

website/components/Stats.tsx | 10 +++++++---
website/pages/Page.tsx       |  9 ++++++---

🤖 Generated with Claude Code


Summary by cubic

Fixes the deno fmt --check failure on website/components/Stats.tsx and website/pages/Page.tsx so CI on main goes green. No behavior change; this only reformats lines that exceeded the width limit.

Written for commit b38f612. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Style
    • Reformatted analytics-related component code and comments for improved readability.
    • No changes to functionality, behavior, or rendered output.

CI runs deno fmt --check and both files I touched were over the line width. The
merge left main red on formatting alone -- no behaviour in this commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.162.1 update
  • 🎉 for Minor 0.163.0 update
  • 🚀 for Major 1.0.0 update

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3fe445c0-5564-48f6-835f-9397e2f1bc61

📥 Commits

Reviewing files that changed from the base of the PR and between b7d0a9c and b38f612.

📒 Files selected for processing (2)
  • website/components/Stats.tsx
  • website/pages/Page.tsx

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The PR applies formatting-only updates to analytics-related declarations, template literals, and JSX comments. Logic, control flow, script URLs, and rendered output remain unchanged.

Changes

Analytics formatting

Layer / File(s) Summary
Analytics formatting updates
website/components/Stats.tsx, website/pages/Page.tsx
The changes reformat the analytics flag declaration, script URL template literal, and JSX comments. Existing behavior remains unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to b38f6

This change only reformats two website files to restore the formatting gate, with no behavior or deployment changes. No actionable merge-blocking risk remains after normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the formatting fix applied to the analytics component and its gate. It is concise and directly related to the main change.
Description check ✅ Passed The description explains the formatting change, the CI failure it resolves, the affected files, and the validation results. It does not include an Issue Link, Loom Video, or Demonstration Link, but th…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the formatting change, the CI failure it resolves, the affected files, and the validation results. It does not include an Issue Link, Loom Video, or Demonstration Link, but the main contribution and testing details are complete.

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/deco-analytics-fmt

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nicacioliveira
nicacioliveira merged commit dafcdcf into main Aug 28, 2026
6 of 7 checks passed
@nicacioliveira
nicacioliveira deleted the fix/deco-analytics-fmt branch August 28, 2026 13:01

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant