Skip to content

fix(circle-sunset): re-hide circle entry reopened by carbon-badge commit#5972

Merged
mashbean merged 1 commit into
developfrom
fix/circle-sunset-regression
Jun 17, 2026
Merged

fix(circle-sunset): re-hide circle entry reopened by carbon-badge commit#5972
mashbean merged 1 commit into
developfrom
fix/circle-sunset-regression

Conversation

@mashbean

Copy link
Copy Markdown
Contributor

問題

CTO 回報「圍爐入口又被打開」。排查確認:圍爐 sunset 系列(ed1108cea / 814c776)原本用註解關閉個人頁與側欄的 CircleWidget 入口,但被 commit 4acdd2035("Display carbon based badge",Codex 生成,PR #5934/#5935/#5937)以 sunset 前的內容重寫檔案、解除註解,導致入口重新顯示。

影響範圍

  • src/views/User/UserProfile/index.tsx
  • src/views/User/UserProfile/AsideUserProfile/index.tsx
  • ⚠️ develop 與 master(線上)都受影響,此 PR 進 develop 後,需 cherry-pick / hotfix 一份進 master。

修改

把兩個檔案的圍爐三處(import / circles 變數 / <CircleWidget> render)重新加回 // FEATURE IS SUNSETTING 註解,保留 CarbonBasedBadge 相關新增。tsc --noEmit + ESLint + stylelint 通過。

全面排查附註

同批 Codex commit(碳基徽章 + personhood)已全面掃過,其餘共用檔(Badges、UserFeatures schema、moments 按讚、community-watch、後端 circle-sunset)皆未受影響——圍爐是唯一回退點。

🤖 Generated with Claude Code

The circle widget entry on both the user profile and aside user profile
was accidentally re-enabled by 4acdd20 ("Display carbon based badge").
That Codex-generated commit rewrote these two files from a pre-sunset
view and un-commented the CircleWidget import / circles var / render,
reopening the circle (圍爐) entrance that the sunset series (ed1108c /
814c776) had intentionally hidden.

Re-apply the sunset comments to all three spots in both files while
keeping the CarbonBasedBadge additions intact. Present on both develop
and master, so this also needs to reach master.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mashbean mashbean requested a review from a team as a code owner June 17, 2026 04:13
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
matters-web Ready Ready Preview Jun 17, 2026 4:18am

Request Review

@mashbean mashbean merged commit a61e626 into develop Jun 17, 2026
4 checks passed
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