Skip to content

feat: Update sponsor banner for 2026 event#312

Merged
PaiJi merged 2 commits into
mainfrom
update-sponsor-banner-2026
Jun 26, 2026
Merged

feat: Update sponsor banner for 2026 event#312
PaiJi merged 2 commits into
mainfrom
update-sponsor-banner-2026

Conversation

@PaiJi

@PaiJi PaiJi commented Jun 26, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • 新功能

    • 首页现已展示赞助横幅内容,提升活动信息可见性。
    • 更新了横幅展示内容,包括活动主题、日期地点与视觉样式。
  • 样式调整

    • 优化了横幅图片的裁切与布局显示效果,使展示更协调。

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@PaiJi, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 50 minutes and 23 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 45662bd2-2499-429a-9cef-16842dde7333

📥 Commits

Reviewing files that changed from the base of the PR and between 66d9100 and 4c5e5e3.

📒 Files selected for processing (1)
  • src/components/SponsorBanner/index.tsx
📝 Walkthrough

Walkthrough

更新了赞助横幅的图片、文案、埋点参数和样式,并在首页中实际渲染该组件。

Changes

赞助横幅更新

Layer / File(s) Summary
横幅内容与样式更新
src/components/SponsorBanner/index.tsx, src/components/SponsorBanner/index.module.css
SponsorBanner 切换到 2026 图片资源,并更新高度、object-fill/object-position、埋点参数、角标背景色和文案。
首页启用横幅
src/pages/index.tsx
首页导入 SponsorBanner,并将该组件从注释状态改为实际渲染。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

我是小兔蹦一蹦,🐰
首页挂起新横幅,
2026 的名字亮晶晶,
图片、文案齐换新,
胡萝卜心里也欢喜。

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了这次将赞助横幅更新为 2026 活动的主要变更。
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-sponsor-banner-2026

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.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the SponsorBanner component to display the "极兽聚2026" (August 2026) event instead of "冬兽聚2025" (December 2025), adjusts its styling for responsiveness, and enables the banner on the home page. Feedback points out a mismatch in the analytics tracking event parameter sponsor_name, which is set to December 2026 instead of August 2026.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/components/SponsorBanner/index.tsx Outdated
eventName: "sponsor_banner_click",
eventValue: {
sponsor_name: "furrychina_2025_dec_shanghai_con",
sponsor_name: "furrychina_2026_dec_shanghai_con",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The tracking event parameter sponsor_name is set to "furrychina_2026_dec_shanghai_con" (December), but the banner image and text are for the August event (2026-aug-shanghai-con / 2026年8月2日). This mismatch will attribute clicks to the wrong event in your analytics. Please update it to "furrychina_2026_aug_shanghai_con".

Suggested change
sponsor_name: "furrychina_2026_dec_shanghai_con",
sponsor_name: "furrychina_2026_aug_shanghai_con",

@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for furrycons-site

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 340.91 KB (🟡 +15 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ 21.4 KB 362.31 KB 103.52% (🟡 +0.16%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/SponsorBanner/index.tsx`:
- Around line 14-18: The sponsor click tracking in SponsorBanner is using the
wrong activity identifier, so update the sponsor_name passed to sendTrack in the
click handler to match the current 2026 August Shanghai event used by this
component’s image and copy. Locate the event payload in SponsorBanner/index.tsx
and replace the stale furrychina_2026_dec_shanghai_con value with the correct
2026-aug-shanghai-con identifier so click analytics are attributed properly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8fbade5d-d1ce-4ecc-af21-e75d079821ea

📥 Commits

Reviewing files that changed from the base of the PR and between 480f049 and 66d9100.

📒 Files selected for processing (3)
  • src/components/SponsorBanner/index.module.css
  • src/components/SponsorBanner/index.tsx
  • src/pages/index.tsx

Comment thread src/components/SponsorBanner/index.tsx
@PaiJi PaiJi merged commit f772e0a into main Jun 26, 2026
4 of 5 checks passed
@PaiJi PaiJi deleted the update-sponsor-banner-2026 branch June 26, 2026 15:18
@PaiJi PaiJi deployed to Develop June 26, 2026 15:20 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for furrycons-site

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 340.91 KB (🟡 +17 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ 21.41 KB 362.31 KB 103.52% (🟡 +0.17%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

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