Repository navigation
feat(earthquake): add 4:5 and 9:16 report sharing cards - #674
Draft
YinCheng0106 wants to merge 3 commits into
Draft
YinCheng0106 wants to merge 3 commits into
YinCheng0106 wants to merge 3 commits into
Conversation
Platform: all New(zh-Hant): 地震報告可預覽並儲存 4:5 資訊卡與 9:16 限時動態圖片 New(en-US): Preview and save 4:5 information cards and 9:16 Story images from earthquake reports
Codecov Report❌ Patch coverage is ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
這個 PR 做了什麼
在地震報告詳情加入分享卡片預覽,可將 4:5 資訊卡與 9:16 限時動態圖片存入相簿。此 PR 是開發草稿,尚未核准公開發布。
正式程式碼
測試
已知問題與發布阻礙
相關 issue
怎麼驗
以下是 rebase 至
main(3b1020dc)後的本機結果,對應分支 HEADd7352191。DPIP_NO_CACHE=1 tool/check.shDPIP_STORY_D75_COMPACT=true各 107 項通過。測試含固定畫布字級、兩種 PNG 尺寸、相簿權限、同一 PNG 重試及過期請求防護。tool/dev/test_ios.shtool/dev/test_widget_ui.shtool/dev/test_android_device.shtool/dev/test_android.shtool/dev/lint_android.sh在 iOS 與 Android 模擬器的正式地震報告詳情開啟「預覽分享卡片」,分別儲存 4:5 與 9:16。同一筆臺南市東山區報告在兩平台均從相簿讀回並解碼為 1080 × 1350、1080 × 1920 PNG。兩端的震央、觀測標記、資訊區與品牌位置相符,iOS 的 Story 仍可見 Task 3 的假邊界。
檢查清單
tool/check/commits.sh origin/main..HEAD通過。AppLocalizations。