TaiwanStar_general_size_s_C.../AGENTS.md
TaiwanStar Developer ee732e03a3 UI: 更新購物車與取貨碼懸浮按鈕樣式及動態角標
- 將購物車與取貨碼改為統一的帶圓角 CardView 容器設計,使用 surface 背景與黑色圖示文字。
- 修正陰影裁切問題,移除外層容器的 clipChildren 限制。
- 購物車新增右上角紅色 Badge 顯示當前選取的商品總數,並與 CartViewModel 動態綁定。
- 調整懸浮按鈕位置,使其與底部機台資訊列保持 24dp 的合適間距。
- 新增 Google Material Icons: package_24 與 shopping_cart_24。
- 同步更新相關的 Agent 發版規則文件,移除廢棄的多維度 flavor 定義。
2026-06-11 15:18:38 +08:00

34 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# TaiwanStar Agent Rules Index
本文件為 Agent 規則入口與導覽摘要,不承載完整規範細節。
## Rule Sources (Single Source of Truth)
以下檔案為唯一真實來源Single Source of Truth
- [.agents/rules/star-cloud-api.md](.agents/rules/star-cloud-api.md)
- [.agents/rules/versioning.md](.agents/rules/versioning.md)
任何規則更新,請只修改上述原始檔案;`AGENTS.md` 僅同步摘要與導覽。
## Critical Rules Snapshot
### Star-Cloud API
-`B014`(綁定)外,請求需帶 `Authorization: Bearer [MachineToken]`
- 涉及 Token`ApiKey`)變更時,必須同步持久化到資料庫。
- 網路錯誤不可吞例外,需回傳可見錯誤到 UI如 Toast/Handler
### Versioning
- 禁止直接手改成品 `versionCode`/`versionName` 值。
- 版號管理透過 `verMajor`、`verMinor`、`verPatch` 變數。
- OTA 發版時,`versionCode` 必須嚴格遞增。
- 21.5 吋大螢幕現場版(如中國醫)修正預設以 `:app:assembleS9XYUDebug` 驗證。
- 10 吋一般現場版(如晟崴、通用)修正預設以 `:app:assembleS12XYUDebug` 驗證。
## When Rules Conflict
- 規則細節若有衝突,以 `.agents/rules` 下原始規則檔為準。
- `AGENTS.md` 僅作導覽與快速摘要,不作為完整規範來源。