Repository navigation
首頁輪播圖比例與圓角、淺色主題卡片淡描邊、分區版主底色、更新頁文案 - #491
Merged
Merged
Conversation
Carinoasd
force-pushed
the
feat/android-abi-update-and-readme
branch
from
November 27, 2026 08:10
06762b9 to
0e52eac
Compare
Carinoasd
force-pushed
the
fix/home-banner-and-surface-polish
branch
from
November 27, 2026 08:10
0b78eb1 to
f5636fa
Compare
Carinoasd
changed the base branch from
feat/android-abi-update-and-readme
to
master
November 27, 2026 08:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
疊在 #490 上(base 是
feat/android-abi-update-and-readme)。不動packages/。1. 首頁輪播圖(
welcome_section.dart)Card300 ÷ 長寬比,限制在 96–220BoxFit.coverCarouselView預設四邊各 4ValueNotifier),只重建輪播本身。homeBannerHeight、homeBannerRatioAccepted兩個函式,有測試。2. 淺色主題卡片淡描邊(
app_surface.dart)appSurfaceShape(context)在淺色主題回傳帶描邊的形狀:顏色AppSurfaces.line、線寬 1,和 fix: 浅色主题改回近白底淡灰卡片,引用框加深、楼层卡片加描边 #481 的樓層卡片相同。深色主題不變。AppSurface(全 App 167 處,含設定群組、列表卡片)、首頁各卡片(homeCardShape)、「我的」訪客卡片、通知詳情、版主面板各頁。cardTheme沒有改:對話框、選單、直接用Card的地方不受影響,test_1364「主題的面板沒有邊框」仍成立。AppSurfaceScope標記。AppSurface會包住自己的內容,內層再出現的AppSurface讀到標記就不畫。樓層卡片(post_list.dart)和通知詳情的樓層卡片改用同一個形狀來源,並加上標記,樓層裡的內嵌卡片不會多一圈。3. 分區版主卡片(
group_moderators_row.dart)surfaces.insetprimaryContainer疊在surfaces.card上:淺色 45%、深色 35%,結果是不透明色primaryonPrimaryContaineroutlineVariant60%surfaces.line、線寬 1;深色:無surfaces.page、無邊框,文字onSurface顏色集中在
groupModeratorsColors(theme)。提案的疊加比例在測試裡直接通過,沒有再調整。4. 更新頁文案
三語
universalApk:「Android 通用 APK」→「Android 安裝包(APK)」/「Android 安装包(APK)」/「The Android APK」。同一句裡的 GitHub 字眼沒有動。測試
test_1429_banner_and_surface_polish_test.dart(17 個):cardTheme在四個主題色的深淺主題都沒有邊框、描邊在卡片與頁面上看得見且不過重。dart ./Makefile.dart build、dart ./scripts/check_strict_analyzing.dart:No issues found。test_1364_surface_layers_contrast_test.dart通過,沒有改它。關於畫面比對基準
倉庫裡沒有圖片比對的測試(沒有
matchesGoldenFile,test/底下也沒有基準圖),所以沒有基準圖需要更新。test_234的 render regression 比的是帖子內文的排版結構,不受描邊影響,已通過。沒有驗證的部分
AppSurface和樓層。版主面板等 12 處自己用Card加這個形狀的地方,如果裡面再放AppSurface會出現兩圈;我檢查過這些檔案,目前沒有這種巢狀。🤖 Generated with Claude Code