You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original text:
「狀態條的設計要類似claude,從使用多少來看,現在狀態條的設計好像反了」
— Source: 使用者回報(2026-08-02,附 claude.ai Plan usage limits 頁截圖為參考設計)
用量 bar 應比照 Claude 官方 UI 的語意:填滿量 = 已使用比例。Logos 目前的帳號用量顯示是剩餘導向——用越多 bar 越空——與參考設計相反。
參考截圖描述(截圖含使用者方案/用量數據,依 public-repo 紀律不上傳,文字記錄):claude.ai 設定頁「Plan usage limits」,每列一條水平 bar + 右側「N% used」標籤。填滿部分 = 已使用比例:16% used 只填一小段(藍)、87% used 填大半(琥珀)、93% used 幾乎全滿(紅)——顏色隨用量升高遞進。
Type
bug(UI 語意)
Expected
比照 Claude:bar 的填滿量代表已使用(0 used = 空、100% used = 滿),標籤顯示「N% used/已用」,顏色以已用比例遞進(低=綠或藍 → 高=紅)。app 內所有用量 bar 採同一慣例。
Problem
用量 bar 應比照 Claude 官方 UI 的語意:填滿量 = 已使用比例。Logos 目前的帳號用量顯示是剩餘導向——用越多 bar 越空——與參考設計相反。
參考截圖描述(截圖含使用者方案/用量數據,依 public-repo 紀律不上傳,文字記錄):claude.ai 設定頁「Plan usage limits」,每列一條水平 bar + 右側「N% used」標籤。填滿部分 = 已使用比例:16% used 只填一小段(藍)、87% used 填大半(琥珀)、93% used 幾乎全滿(紅)——顏色隨用量升高遞進。
Type
bug(UI 語意)
Expected
比照 Claude:bar 的填滿量代表已使用(0 used = 空、100% used = 滿),標籤顯示「N% used/已用」,顏色以已用比例遞進(低=綠或藍 → 高=紅)。app 內所有用量 bar 採同一慣例。
Actual
兩套相反的慣例並存:
Sources/LogosUsage/AccountRowView.swift的UsageBar)ProgressView(value: percentRemaining),標籤「N% 剩餘」,barColor以剩餘量判色(剩 <10% 紅)HUDProgressBar+PlanUsageStatusItem)fraction = utilization/100(0=空、1=滿),<70% 綠 / 70–90% 黃 / ≥90% 紅資料層本身就是 used-based(
UsageWindow.utilization= 已用 %;percentRemaining是加工出來的100 - utilization),所以修正是顯示層翻轉,不動資料模型。Impact
修法候選(留給 diagnose 裁決)
UsageBar翻轉為 used 導向:ProgressView(value: utilization)、標籤「N% 已用」、判色改用已用比例(可直接共用HUDUsageLevel的 70/90 分帶,順便統一兩處的閾值與色彩)。Notes
75932b8Current Status
Phase: verified
Last updated: 2026-08-04 by
/idd-verify(經/idd-all批次 #110–114)Key Decisions
utilizationPercent(clamped raw 四捨五入)是唯一量化點,label / 填充 / 色階全部從它導出 —— 數字與顏色不能跨門檻分岔percentRemaining與 rawutilization精確互補;utilizationFraction是量化後的顯示投影。12.5 → 顯示 13% 已用、模型 87.5% 剩餘,是兩個精度不是矛盾HUDUsageLevel→UsageLevel下移LogosUsage,兩畫面共用 70/90 門檻Scope Changes
Blocking
/idd-closeCommits
22b4d32refactor: move the usage colour bands down into LogosUsage as UsageLevel (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110)0dab2ferefactor: HUDProgressBar reads the shared UsageLevel from LogosUsage (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110)82381d8fix: 帳號用量 bars render consumed, not remaining (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110)bb6b1fdrefactor: plan-usage HUD feeds the clamped model fraction (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110)d2f637dfix: guard non-finite utilization before it reaches any usage bar (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110) — verify R19acd6eefix: quantise the displayed percent once, and derive the band from it (帳號用量 bar 語意與 Claude 官方相反:填滿量是剩餘而非已用,與 status bar HUD 兩套慣例並存 #110) — verify R2